Chapter 4
Configuring Cisco IOS Configuration Engine
Understanding Cisco IOS Agents
The CNS event agent feature allows the switch to publish and subscribe to events on the event bus and
works with the Cisco IOS agent. The Cisco IOS agent feature supports the switch by providing these
features:
•
•
•
Initial Configuration
When the switch first comes up, it attempts to get an IP address by broadcasting a DHCP request on the
network. Assuming there is no DHCP server on the subnet, the distribution switch acts as a DHCP relay
agent and forwards the request to the DHCP server. Upon receiving the request, the DHCP server assigns
an IP address to the new switch and includes the TFTP server IP address, the path to the bootstrap
configuration file, and the default gateway IP address in a unicast reply to the DHCP relay agent. The
DHCP relay agent forwards the reply to the switch.
The switch automatically configures the assigned IP address on interface VLAN 1 (the default) and
downloads the bootstrap configuration file from the TFTP server. Upon successful download of the
bootstrap configuration file, the switch loads the file in its running configuration.
The Cisco IOS agents initiate communication with the Configuration Engine by using the appropriate
ConfigID and EventID. The Configuration Engine maps the Config ID to a template and downloads the
full configuration file to the switch.
Figure 4-2
by using DHCP-based autoconfiguration.
Figure 4-2
Configuration
OL-9775-08
Initial Configuration, page 4-5
Incremental (Partial) Configuration, page 4-6
Synchronized Configuration, page 4-6
shows a sample network configuration for retrieving the initial bootstrap configuration file
Initial Configuration Overview
Engine
V
Distribution layer
Access layer
switches
TFTP
server
WAN
DHCP
server
DHCP relay agent
default gateway
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
Understanding Cisco IOS Agents
4-5