5-7
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 5 Configuring Cisco IOS CNS Agents
Configuring Cisco IOS Agents
Configuring Cisco IOS Agents
The Cisco IOS agents embedded in the switch Cisco IOS software allow the switch to be connected and
automatically configured as described in the “Enabling Automated CNS Configuration” section on
page 5-7. If you want to change the configuration or install a custom configuration, see these sections
for instructions:
Enabling the CNS Event Agent, page 5-8
Enabling the Cisco IOS CNS Agent, page 5-9

Enabling Automated CNS Configuration

To enable automated CNS configuration of the switch, you must first complete the prerequisites in
Table 5-1. When you complete them, power on the switch. At the setup prompt, do nothing: The switch
begins the initial configuration as described in the “Initial Configuration” section on page 5-5. When the
full configuration file is loaded on your switch, you need to do nothing else.
Note For more information about running the setup program and creating templates on the Configuration
Engine, see the Cisco Configuration Engine Installation and Setup Guide, 1.5 for Linux at this URL:
http://www.cisco.com/en/US/products/sw/netmgtsw/ps4617/products_installation_and_configuration_
guide_book09186a00803b59db.html
Tab l e 5-1 Prerequisites for Enabling Automatic Configuration
Device Required Configuration
Access switch Factory default (no configuration file)
Distribution switch IP helper address
Enable DHCP relay agent
IP routing (if used as default gateway)
DHCP server IP address assignment
TFTP server IP address
Path to bootstrap configuration file on the TFTP server
Default gateway IP address
TFTP server A bootstrap configuration file that includes the CNS
configuration commands that enable the switch to
communicate with the Configuration Engine
The switch configured to use either the switch MAC address
or the serial number (instead of the default hostname) to
generate the ConfigID and EventID
The CNS event agent configured to push the configuration file
to the switch
CNS Configuration Engine One or more templates for each type of device, with the ConfigID
of the device mapped to the template.