Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
cns inventory
41
Cisco IOS Release 12.2(25)S
cns inventory
To enable the CNS inventory agent—that is, to send an inventory of the router’s line cards and modules 
to the CNS configuration engine—and enter CNS inventory mode, use the cns inventory command in 
global configuration mode. To disable the CNS inventory agent, use the no form of this command.
cns inventory 
no cns inventory
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled
Command Modes
 Global configuration
Command History
Usage Guidelines
Use this command with the announce config and transport event CNS inventory configuration mode 
commands to specify when to notify the CNS configuration engine of changes to the router’s 
port-adaptor and interface inventory. A transport must be specified in CNS inventory configuration mode 
before any of the CNS inventory commands are executed.
Examples
The following example shows how to enable the CNS inventory agent and enter CNS inventory 
configuration mode:
Router(config)# cns inventory
Router(cns_inv)#
Related Commands
Release
Modification
12.2(8)T
This command was introduced.
12.3(1)
The configevent, and notify oir keywords were removed.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.
Command
Description
announce config
Species that an unsolicited configuration inventory is sent out by the CNS 
inventory agent at bootup.
cns config initial
Starts the CNS configuration agent and initiates an initial configuration.
transport events
Species that inventory events are sent out by the CNS inventory agent.