Enabling The Cisco Ios Cns Agent - Cisco 3845 - Security Bundle Router Software Manual

Software configuration guide
Hide thumbs Also See for 3845 - Security Bundle Router:
Table of Contents

Advertisement

Configuring Cisco IOS Agents
Beginning in privileged EXEC mode, follow these steps to enable the CNS event agent on the switch:
Command
Step 1
configure terminal
Step 2
cns event {hostname | ip-address}
[port-number] [backup] [failover-time
seconds] [keepalive seconds retry-count]
[reconnect time] [source ip-address]
Step 3
end
Step 4
show cns event connections
Step 5
show running-config
Step 6
copy running-config startup-config
To disable the CNS event agent, use the no cns event {ip-address | hostname} global configuration
command.
This example shows how to enable the CNS event agent, set the IP address gateway to 10.180.1.27, set
120 seconds as the keepalive interval, and set 10 as the retry count.
Switch(config)# cns event 10.180.1.27 keepalive 120 10

Enabling the Cisco IOS CNS Agent

After enabling the CNS event agent, start the Cisco IOS CNS agent on the switch. You can enable the
Cisco IOS agent with these commands:
Cisco ME 3800X and 3600X Switch Software Configuration Guide
4-8
The cns config initial global configuration command enables the Cisco IOS agent and initiates an
initial configuration on the switch.
Chapter 4
Purpose
Enter global configuration mode.
Enable the event agent, and enter the gateway parameters.
For {hostname | ip-address}, enter either the hostname or the
IP address of the event gateway.
(Optional) For port number, enter the port number for the event
gateway. The default port number is 11011.
(Optional) Enter backup to show that this is the backup
gateway. (If omitted, this is the primary gateway.)
(Optional) For failover-time seconds, enter how long the
switch waits for the primary gateway route after the route to
the backup gateway is established.
(Optional) For keepalive seconds, enter how often the switch
sends keepalive messages. For retry-count, enter the number of
unanswered keepalive messages that the switch sends before
the connection is terminated. The default for each is 0.
(Optional) For reconnect time, enter the maximum time
interval that the switch waits before trying to reconnect to the
event gateway.
(Optional) For source ip-address, enter the source IP address
of this device.
Note
Though visible in the command-line help string, the
encrypt and the clock-timeout time keywords are not
supported.
Return to privileged EXEC mode.
Verify information about the event agent.
Verify your entries.
(Optional) Save your entries in the configuration file.
Configuring Cisco IOS Configuration Engine
OL-23400-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3800xMe 3600x

Table of Contents