PurposeCommand or Action
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Enables the configuration agent, and initiates a partial
configuration.
cns config partial {ip-address | hostname}
[port-number] [source ip-address]
Step 3
Example:
Switch(config)# cns config partial
172.28.129.22 2013
•
For {ip-address | hostname}, enter the IP address or the
hostname of the configuration server.
•
(Optional) For port-number, enter the port number of the
configuration server. The default port number is 80.
•
(Optional) Enter source ip-address to use for the source IP
address.
Though visible in the command-line help string, the
encrypt keyword is not supported.
Note
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
What to Do Next
To verify information about the configuration agent, use either the show cns config stats or the show cns
config outstanding command in privileged EXEC mode.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
426
How to Configure the Configuration Engine