hit counter script

Enabling A Partial Configuration - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring Cisco IOS Agents
This example shows how to configure an initial configuration on a remote switch when the switch IP
address is known. The Configuration Engine IP address is 172.28.129.22.
Switch(config)# cns template connect template-dhcp
Switch(config-tmpl-conn)# cli ip address dhcp
Switch(config-tmpl-conn)# exit
Switch(config)# cns template connect ip-route
Switch(config-tmpl-conn)# cli ip route 0.0.0.0 0.0.0.0 ${next-hop}
Switch(config-tmpl-conn)# exit
Switch(config)# cns connect dhcp
Switch(config-cns-conn)# discover interface gigabitethernet
Switch(config-cns-conn)# template template-dhcp
Switch(config-cns-conn)# template ip-route
Switch(config-cns-conn)# exit
Switch(config)# hostname RemoteSwitch
RemoteSwitch(config)# ip route 172.28.129.22 255.255.255.255 11.11.11.1
RemoteSwitch(config)# cns id ethernet 0 ipaddress
RemoteSwitch(config)# cns config initial 172.28.129.22 no-persist

Enabling a Partial Configuration

Beginning in privileged EXEC mode, follow these steps to enable the Cisco IOS agent and to initiate a
partial configuration on the switch:
Command
Step 1
configure terminal
Step 2
cns config partial {ip-address | hostname}
[port-number] [source ip-address]
Step 3
end
Step 4
show cns config stats
or
show cns config outstanding
Step 5
show running-config
Step 6
copy running-config startup-config
To disable the Cisco IOS agent, use the no cns config partial {ip-address | hostname} global
configuration command. To cancel a partial configuration, use the cns config cancel privileged EXEC
command.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
4-12
Chapter 4
Configuring Cisco IOS Configuration Engine
Purpose
Enter global configuration mode.
Enable the configuration agent, and initiate a partial
configuration.
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,
Note
the encrypt keyword is not supported.
Return to privileged EXEC mode.
Verify information about the configuration agent.
Verify your entries.
(Optional) Save your entries in the configuration file.
OL-26520-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents