user manual

PurposeCommand or Action
Returns to global configuration mode.exit
Example:
Switch(config-cns-conn)# exit
Step 10
Enters the hostname for the switch.
hostname name
Example:
Switch(config)# hostname device1
Step 11
(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 12
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 13
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
(Optional) Sets the unique EventID or ConfigID used by the Configuration
Engine. If you enter this command, do not enter the cns id interface num
{dns-reverse | ipaddress | mac-address} [event] [image] command.
cns id {hardware-serial | hostname |
string string | udi} [event] [image]
Example:
RemoteSwitch(config)# cns id
hostname
Step 14
For { hardware-serial | hostname | string string | udi }, enter
hardware-serial to set the switch serial number as the unique ID, enter
hostname (the default) to select the switch hostname as the unique
ID, enter an arbitrary text string for string string as the unique ID, or
enter udi to set the unique device identifier (UDI) as the unique ID.
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
26 OL-29044-01
Configuring Cisco IOS Configuration Engine
Enabling an Initial Configuration for Cisco IOS CNS Agent