Cisco Systems WSC2960X24TSL manual show cns config connections, show cns event connections, Step

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 41
Image 41
show cns config connections

Configuring Cisco IOS Configuration Engine

Refreshing DeviceIDs

DETAILED STEPS

 

Command or Action

Step 1

show cns config connections

Example:

Switch# show cns config connections

show cns event connections Purpose

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.

Step 2

Make sure that the CNS event agent is properly

 

connected to the event gateway.

Step 3

show cns event connections

 

Example:

 

Switch# show cns event connections

Step 4

Record from the output of Step 3 the information for

 

the currently connected connection listed below. You

 

will be using the IP address and port number in

 

subsequent steps of these instructions.

Examine the output of show cns config connections for the following:

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.

Step 5

configure terminal

Enters global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 6

no cns event ip-address port-number

Specifies the IP address and port number that you recorded

 

 

in Step 4 in this command.

Example:

Switch(config)# no cns event 172.28.129.22 2012

Step 7

cns event ip-address port-number

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.

Example:

Switch(config)# cns event 172.28.129.22 2012

Step 8

end

Example:

Switch(config)# end

This command reestablishes the connection between the switch and the event gateway.

Returns to privileged EXEC mode.

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

OL-29044-01

29

Page 41
Image 41
Cisco Systems WSC2960X24TSL show cns config connections, show cns event connections, no cns event ip-address port-number