Enabling The Cns Configuration Agent; Enabling An Initial Configuration - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 6
Configuring IE2100 CNS Agents

Enabling the CNS Configuration Agent

After enabling the CNS event agent, start the CNS configuration agent on the switch. You can enable the
configuration agent with these commands:

Enabling an Initial Configuration

Beginning in privileged EXEC mode, follow these steps to enable the CNS configuration agent and
initiate an initial configuration on the switch:
Command
Step 1
configure terminal
Step 2
cns config connect-intf interface-prefix [ping-interval
seconds] [retries num]
Step 3
config-cli
or
line-cli
Step 4
exit
Step 5
hostname name
78-11380-10
the cns config initial global configuration command enables the configuration agent and initiates
an initial configuration on the switch.
the cns config partial global configuration command enables the configuration agent and initiates
a partial configuration on the switch. You can then remotely send incremental configurations to the
switch from the Configuration Registrar.
Purpose
Enter global configuration mode.
Enter the connect-interface-config submode, and
specify the interface for connecting to the
Configuration Registrar.
Enter the interface-prefix for the connecting
interface. You must specify the interface type
but need not specify the interface number.
(Optional) For ping-interval seconds, enter the
interval between successive ping attempts. The
range is 1 to 30 seconds. The default is 10
seconds.
(Optional) For retries num, enter the number of
ping retries. The range is 1 to 30. The default
is 5.
Enter config-cli to connect to the Configuration
Registrar through the interface defined in cns config
connect-intf. Enter line-cli to connect to the
Registrar through modem dialup lines.
The config-cli interface configuration
Note
command accepts the special directive
character & that acts as a placeholder for the
interface name. When the configuration is
applied, the & is replaced with the interface
name. For example, to connect through
FastEthernet0/0, the command
ip route 0.0.0.0 0.0.0.0 &
command
FastEthernet0/0
Return to global configuration mode.
Enter the host name for the switch.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Configuring CNS Embedded Agents
config-cli
generates the
ip route 0.0.0.0 0.0.0.0
.
6-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents