5-8
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 5 Configuring Cisco IOS Configuration Engine
Configuring Cisco IOS Agents
Enabling Cisco IOS CNS Agent and an Initial Configuration
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 cns template connect name Enters CNS template connect configuration mode, and specifies
the name of the CNS connect template.
Step 3 cli config-text Enters a command line for the CNS connect template. Repeat this
step for each command line in the template.
Step 4 Repeat Steps 2 to 3 to configure another CNS connect template.
Step 5 exit Returns to global configuration mode.
Step 6 cns connect name [retries number]
[retry-interval seconds] [sleep seconds]
[timeout seconds]
Enters CNS connect configuration mode, specifies the name of
the CNS connect profile, and defines the profile parameters. The
switch uses the CNS connect profile to connect to
Configuration Engine.
(Optional) retries number—Enters the number of
connection retries. The range is 1 to 30. The default is 3.
(Optional) retry-interval seconds—Enters the interval
between successive connection attempts to the Configuration
Engine. The range is 1 to 40 seconds. The default is
10 seconds.
(Optional) sleep seconds—Enters the amount of time before
which the first connection attempt occurs. The range is 0 to
250 seconds. The default is 0.
(Optional) timeout seconds—Enters the amount of time
after which the connection attempts end. The range is 10 to
2000 seconds. The default is 120.
Step 7 discover {controller controller-type | dlci
[subinterface subinterface-number] | interface
[interface-type] | line line-type}
Specifies the interface parameters in the CNS connect profile.
controller controller-type—Enters the controller type.
dlci—Enters the active data-link connection identifiers
(DLCIs).
(Optional) subinterface subinterface-number—Specifies
the point-to-point subinterface number that is used to search
for active DLCIs.
interface [interface-type]—Enters the type of interface.
line line-type—Enters the line type.
Step 8 template name [ ... name] 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.
Step 9 Repeat Steps 7 to 8 to specify more interface parameters and CNS
connect templates in the CNS connect profile.
Step 10 exit Returns to global configuration mode.
Step 11 hostname name Enters the hostname for the switch.