5-9
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 5 Configuring IE 2100 CNS Agents Configuring CNS Embed ded Agents
To disable the CNS event agent, use the no cn s event {ip-address | hostname} glob al configur ation
command.
This example shows how to enable the CNS event agent, set the IP address gateway to 10.180.1.27, s et
120 seconds as the keep alive interval, and set 10 as the retry count.
Switch(config)# cns event 10.180.1.27 keepalive 120 10

Enabling the CNS Configuration Agent

After en abling th e CNS e ve nt agent, sta rt the CN S confi guration agent on the swi tch. You can e nable the
configuration agent with these commands:
the cns config initial global configuration command enables the configuration ag ent and initiates
an initial configuration on the switch.
the cns config par tia l global configuration command enables the co nfiguration agent and initiates
a partial configuration on the switch. You can then remotely send incremental configurations to the
switch from t he Configuration Regi strar.

Enabling an Initial Configuration

Beginning in privileged EXEC mode, follow these steps to enable the CNS configuration agent and
initiate an initial configuration on the switch:
Command Purpose
Step 1 configure terminal Enter glob al co nfiguration mo de.
Step 2 cns config connect-intf interface-prefix [ping-interval
seconds] [retries num]Ent er the connect-i nterfac e-config subm ode, and
specify the interface for connecting to the
Configuration R egistrar.
Enter the interface-prefix for the connecting
interface. You must specify the interface type
but need not specify the interface number.
(Optiona l) For ping-interval seconds, enter the
interval between successive ping attempts. The
range is 1 to 30 sec onds. Th e default is 10
seconds.
(Optiona l) For retries num, enter the number of
ping retri es. The ra nge is 1 to 30 . The defaul t
is 5.