PurposeCommand or Action
•
For line line-type, enter the line type.
Specifies the list of CNS connect templates in the CNS connect profile to
be applied to the switch configuration. You can specify more than one
template.
template name [... name]
Example:
Switch(config-cns-conn)# template
template-dhcp
Step 9
Repeat Steps 8 to 9 to specify more interface
parameters and CNS connect templates in
the CNS connect profile.
Step 10
Returns to global configuration mode.exit
Example:
Switch(config-cns-conn)# exit
Step 11
Enters the hostname for the switch.
hostname name
Example:
Switch(config)# hostname device1
Step 12
(Optional) Establishes a static route to the Configuration Engine whose IP
address is network-number.
ip route network-number
Example:
RemoteSwitch(config)# ip route
Step 13
172.28.129.22 255.255.255.255
11.11.11.1
(Optional) Sets the unique EventID or ConfigID used by the Configuration
Engine. If you enter this command, do not enter the cns id {hardware-serial
| hostname | string string | udi} [event] [image] command.
cns id interface num {dns-reverse |
ipaddress | mac-address} [event] [image]
Example:
RemoteSwitch(config)# cns id
GigabitEthernet1/0/1 ipaddress
Step 14
•
For interface num, enter the type of interface. For example, ethernet,
group-async, loopback, or virtual-template. This setting specifies from
which interface the IP or MAC address should be retrieved to define
the unique ID.
•
For {dns-reverse | ipaddress | mac-address}, enter dns-reverse to
retrieve the hostname and assign it as the unique ID, enter ipaddress
to use the IP address, or enter mac-address to use the MAC address
as the unique ID.
•
(Optional) Enter event to set the ID to be the event-id value used to
identify the switch.
•
(Optional) Enter image to set the ID to be the image-id value used to
identify the switch.
If both the event and image keywords are omitted, the image-id
value is used to identify the switch.
Note
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
421
How to Configure the Configuration Engine