user manual
DETAILED STEPS
PurposeCommand or Action
Displays whether the CNS event agent is connecting to the
gateway, connected, or active, and the gateway used by the
event agent, its IP address and port number.
show cns config connections
Example:
Switch# show cns config connections
Step 1
Examine the output of show cns config connections for the
following:
Make sure that the CNS event agent is properly
connected to the event gateway.
Step 2
•
Connection is active.
•
Connection is using the currently configured switch
hostname. The DeviceID will be refreshed to correspond
to the new hostname configuration using these
instructions.
Displays the event connection information for your switch.show cns event connections
Example:
Switch# show cns event connections
Step 3
Record from the output of Step 3 the information for
the currently connected connection listed below. You
Step 4
will be using the IP address and port number in
subsequent steps of these instructions.
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 5
Specifies the IP address and port number that you recorded
in Step 4 in this command.
no cns event ip-address port-number
Example:
Switch(config)# no cns event 172.28.129.22 2012
Step 6
This command breaks the connection between the switch and
the event gateway. It is necessary to first break, then
reestablish, this connection to refresh the DeviceID.
Specifies the IP address and port number that you recorded
in Step 4 in this command.
cns event ip-address port-number
Example:
Switch(config)# cns event 172.28.129.22 2012
Step 7
This command reestablishes the connection between the
switch and the event gateway.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 8
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29044-01 29
Configuring Cisco IOS Configuration Engine
Refreshing DeviceIDs