PurposeCommand or Action
Enters CNS template connect configuration mode, and specifies the name
of the CNS connect template.
cns template connect name
Example:
Switch(config)# cns template connect
template-dhcp
Step 3
Enters a command line for the CNS connect template. Repeat this step for
each command line in the template.
cli config-text
Example:
Switch(config-tmpl-conn)# cli ip
address dhcp
Step 4
Repeat Steps 3 to 4 to configure another
CNS connect template.
Step 5
Returns to global configuration mode.exit
Example:
Switch(config)# exit
Step 6
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 the Configuration Engine.
cns connect name [retries number]
[retry-interval seconds] [sleep seconds]
[timeout seconds]
Step 7
Example:
Switch(config)# cns connect dhcp
•
Enter the name of the CNS connect profile.
•
(Optional) For retries number, enter the number of connection retries.
The range is 1 to 30. The default is 3.
•
(Optional) For retry-interval seconds, enter the interval between
successive connection attempts to the Configuration Engine. The
range is 1 to 40 seconds. The default is 10 seconds.
•
(Optional) For sleep seconds, enter the amount of time before which
the first connection attempt occurs. The range is 0 to 250 seconds.
The default is 0.
•
(Optional) For timeout seconds, enter the amount of time after which
the connection attempts end. The range is 10 to 2000 seconds. The
default is 120.
Specifies the interface parameters in the CNS connect profile.
discover {controller controller-type | dlci
[subinterface subinterface-number] |
interface [interface-type] | line line-type}
Step 8
•
For controller controller-type, enter the controller type.
Example:
Switch(config-cns-conn)# discover
interface gigabitethernet
•
For dlci, enter the active data-link connection identifiers (DLCIs).
(Optional) For subinterface subinterface-number, specify the
point-to-point subinterface number that is used to search for active
DLCIs.
•
For interface [interface-type], enter the type of interface.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
420
How to Configure the Configuration Engine