5-7
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 5 Configuring Cisco IOS Configuration Engine
How to Configure Cisco IOS Configuration Engine
How to Configure Cisco IOS Configuration EngineConfiguring Cisco IOS Agents
CNS Event Agent and Cisco IOS CNS Agent embedded in the Cisco IOS software on th e switch allows
the switch to be connected and automatically configured. Both agents must be enabled and the CNS
configuration can be initial or partial. The partial configuration allows you to use Configuration Engine
to remotely send incremental configuration to the switch.

Enabling CNS Event Agent

Before You Begin
You must enable CNS Event Agent on the switch before you enable Cisco IOS CNS Agent.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 cns event {hostname | ip-address} [port-number]
[backup] [failover-time seconds] [keepalive seconds
retry-count] [reconnect time] [source ip-address]
Enables the event agent, and enters the gateway
parameters.
{hostname | ip-address}—Enters either the hostname
or the IP address of the event gateway.
(Optional) port number—Enters the port number for
the event gateway. The default port number is 11011.
(Optional) backup—Shows that this is the backup
gateway. (If omitted, this is the primary gateway.)
(Optional) failover-time seconds—Enters how long
the switch waits for the primary gateway route after
the route to the backup gateway is established.
(Optional) keepalive seconds—Enters how often the
switch sends keepalive messages. For retry-count,
enters the number of unanswered keepalive messages
that the switch sends before the connection is
terminated. The default for each is 0.
(Optional) reconnect time—Enters the maximum
time interval that the switch waits before trying to
reconnect to the event gateway.
(Optional) source ip-address—Enters the source IP
address of this device.
Note Though visible in the command-line help string,
the encrypt and the clock-timeout time keywords
are not supported.
Step 3 end Returns to privileged EXEC mode.
Step 4 show cns event connections Verifies information about the event agent.