Cisco Systems WSC2960X24TSLL hostname name, ip route network-number, address is network-number

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 38
Image 38
hostname name

Configuring Cisco IOS Configuration Engine

Enabling an Initial Configuration for Cisco IOS CNS Agent

 

Command or Action

Purpose

Step 10

exit

 

Returns to global configuration mode.

 

Example:

 

 

 

Switch(config-cns-conn)# exit

 

Step 11

hostname name

 

Enters the hostname for the switch.

 

Example:

 

 

 

Switch(config)# hostname device1

 

Step 12

ip route network-number

(Optional) Establishes a static route to the Configuration Engine whose IP

 

 

 

address is network-number.

 

Example:

 

 

 

RemoteSwitch(config)# ip route

 

 

172.28.129.22

255.255.255.255

 

 

11.11.11.1

 

 

Step 13 cns id interface num {dns-reverse ipaddress mac-address} [event] [image]

Example:

RemoteSwitch(config)# cns id

GigabitEthernet1/0/1 ipaddress

(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.

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.

Note If both the event and image keywords are omitted, the image-id value is used to identify the switch.

Step 14 cns id {hardware-serial hostname string string udi} [event] [image]

Example:

RemoteSwitch(config)# cns id

hostname

(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.

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

Page 38
Image 38
Cisco Systems WSC2960X24TSLL hostname name, ip route network-number, address is network-number, Command or Action, Purpose