Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
cns config connect-intf
25
Cisco IOS Release 12.2(25)S
cns config connect-intf
To specify the interface for connecting to the Cisco Networking Services (CNS) configuration engine, 
use the cns config connect-intf command in global configuration mode. To disable this interface for the 
connection, use the no form of this command.
cns config connect-intf type number [ping-interval seconds] [retries number]
no cns config connect-intf type number 
Syntax Description
Defaults
The ping interval defaults to 10 seconds.
The number of retries defaults to 5.
Command Modes
 Global configuration
Command History
Usage Guidelines
Use this command to connect to the CNS configuration engine using a specific type of interface. You 
must specify the interface type but need not specify the interface number; the router’s bootstrap 
configuration finds the connecting interface, regardless of the slot in which the card resides or the 
modem dialout line for the connection, by trying different candidate interfaces or lines until it 
successfully pings the registrar.
Use this command to enter CSN Connect-interface configuration mode (config-cns-conn-if). Then use 
one of the following bootstrap-configuration commands to connect to the registrar for initial 
configuration:
config-cli followed by commands that, used as is, configure the interface.
line-cli followed by a command to configure modem lines to enable dialout and, after that, 
commands to configure the modem dialout line.
The config-cli command accepts the special directive character “&,” which acts as a placeholder for the 
interface name. When the configuration is applied, the & is replaced with the interface name. Thus, for 
example, if we are able to connect using FastEthernet0/0, the command
config-cli ip route 0.0.0.0 0.0.0.0 &
type number
Interface type and number for the connecting interface.
ping-interval seconds
(Optional) Interval between successive ping attempts. Values are from 1 to 
30 seconds. The default is 10 seconds.
retries number
(Optional) Number of times that a ping will be retried. Values are from 1 to 
30 seconds. The default is 5 seconds.
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.