Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
config-cli
46
Cisco IOS Release 12.2(25)S
config-cli
To connect to the CNS configuration engine using a specific type of interface, use the config-cli 
command in CNS Connect-interface configuration mode.
config-cli {type [number] | interface-config-cmd
Syntax Description
Defaults
No default behavior or values.
Command Modes
CNS Connect-interface configuration
Command History
Usage Guidelines
Begin by using the cns config connect-intf command to enter CNS Connect-interface configuration 
(config-cns-conn-if) submode. Then use either this or its companion CNS bootstrap-configuration 
command to connect to the CNS configuration engine for initial configuration:
config-cli connects to the registrar 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, by trying different candidate 
interfaces until it can ping the configuration engine.
line-cli connects to the registrar using modem dialup lines.
Immediately after either of the commands, enter additional configuration commands as appropriate.
Examples
The following example enters CNS Connect-interface Configuration mode, connects to a configuration 
engine using an asynchronous interface, and issues a number of commands:
Router(config)# cns config connect-intf Async
Router(config-cns-conn-if)# config-cli encapsulation ppp
Router(config-cns-conn-if)# config-cli ip unnumbered FastEthernet0/0
Router(config-cns-conn-if)# config-cli dialer rotary-group 0
Router(config-cns-conn-if)# line-cli modem InOut
Router(config-cns-conn-if)# line-cli ...<other line commands>...
Router(config-cns-conn-if)# exit
type 
Type of interface. Indicates from which interface the IP or MAC address 
should be retrieved in order to define the unique ID.
number 
(Optional) Interface number. Indicates from which interface the IP or 
MAC address should be retrieved in order to define the unique ID.
interface-config-cmd 
Command that configures the interface. The type argument must be 
configured before other interface configuration commands.
Release
Modification
12.2(8)T
This command was introduced on Cisco 2600 series and Cisco 3600 series 
routers.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.