6-5
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 6 Configuring Cisco IOS Configuration Engine
Understanding Cisco IOS Agents
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, page 6-5
•
Incremental (Partial) Configuration, page 6-6
•
Synchronized Configuration, page 6-6
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 6-2
shows a sample network configuration for retrieving the initial bootstrap configuration file
by using DHCP-based autoconfiguration.
Figure 6-2
Initial Configuration Overview
TFTP
s
erver
DHCP rel
a
y
a
gent
def
a
ult g
a
tew
a
y
Di
s
tribution l
a
yer
Configur
a
tion
Engine
Acce
ss
l
a
yer
s
witche
s
141
3
28
DHCP
s
erver
V
WAN