Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
show cns event connections
55
Cisco IOS Release 12.2(25)S
show cns event connections
To display the status of the CNS event agent connection, use the show cns event connections command 
in privileged EXEC mode.
show cns event connections 
Syntax Description
This command has no arguments or keywords.
Command Modes
 Privileged EXEC
Command History
Usage Guidelines
Use the show cns event connections command to display the status of the event agent connection—such 
as whether it is connecting to the gateway, connected, or active—and to display the gateway used by the 
event agent and its IP address and port number.
Examples
The following example displays the IP address and port number of the primary and backup gateways:
Router# show cns event connections
The currently configured primary event gateway:
        hostname is 10.1.1.1.
        port number is 11011.
Event-Id is Internal test1
Keepalive setting:
        none.
Connection status:
        Connection Established.
The currently configured backup event gateway:
        none.
The currently connected event gateway:
        hostname is 10.1.1.1.
        port number is 11011.
Related Commands
Release
Modification
12.2(8)T
This command was introduced.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.
Command
Description
show cns event stats
Displays statistics about the CNS event agent connection.
show cns event subject
Displays a list of subjects about the CNS event agent connection.