Cisco Cisco IOS Software Release 12.2(25)S
CNS Agents
cns event
35
Cisco IOS Release 12.2(25)S
cns event
To configure the CNS event gateway, which provides CNS event services to Cisco IOS clients, use the
cns event command in global configuration mode. To remove the specified event gateway from the
gateway list, use the no form of this command.
cns event command in global configuration mode. To remove the specified event gateway from the
gateway list, use the no form of this command.
cns event {host-name | ip-address} [encrypt] [port-number] [backup] [failover-time seconds]
[keepalive seconds retry-count] [source ip-address]
no cns event {host-name | ip-address} [encrypt] [port-number] [backup] [failover-time seconds]
[keepalive seconds retry-count] [source ip-address]
Syntax Description
Defaults
The event gateway port number default is 11011 with no encryption or 11012 with encryption.
The number of seconds to wait for a primary gateway route defaults to 3.
The system uses format 2.
The number of seconds to wait for a primary gateway route defaults to 3.
The system uses format 2.
Command Modes
Global configuration
Command History
host-name
Host name of the event gateway.
ip-address
IP address of the event gateway.
encrypt
(Optional) Uses a Secure Socket Layer (SSL) encrypted link to the event
gateway.
gateway.
Note
This keyword is available only in images that support SSL.
port-number
(Optional) Port number for the event gateway. The default is 11011 with no
encryption or 11012 with encryption.
encryption or 11012 with encryption.
backup
(Optional) Indicates that this is the backup gateway. If omitted, indicates that
this is the primary gateway. Before you can configure a backup gateway, you
must already have configured a primary gateway. Optional keywords, if
omitted, are set as for the primary gateway.
this is the primary gateway. Before you can configure a backup gateway, you
must already have configured a primary gateway. Optional keywords, if
omitted, are set as for the primary gateway.
failover-time seconds
(Optional) Specifies a time interval in seconds to wait for the primary
gateway route after the route to the backup gateway is established. The
default is 3.
gateway route after the route to the backup gateway is established. The
default is 3.
keepalive seconds
retry-count
retry-count
(Optional) Keepalive timeout in seconds and retry count.
source ip-address
(Optional) IP address to use as the source for CNS communications.
Release
Modification
12.2(2)T
This command was introduced.
12.0(18)ST
This command was integrated into the Cisco IOS 12.0(18)ST Release.
12.0(22)S
This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(2)XB
This command was implemented on Cisco IAD2420 series Integrated
Access Devices (IADs).
Access Devices (IADs).
12.2(8)T
The encrypt, init-retry, source, and force-fmt1 keywords were added.