Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
cns config cancel
23
Cisco IOS Release 12.2(25)S
cns config cancel
To remove a partial Cisco Networking Services (CNS) configuration from the list of outstanding partial 
configurations, use the cns config cancel command in EXEC mode.
cns config cancel queue-id 
Syntax Description
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Incremental (partial) configurations take place in two steps:
1.
The configuration agent receives the partial configuration. It checks the configuration commands for 
syntax, publishes the success or failure of the read and syntax-check operation to the sync-status 
subject “cisco.cns.config.sync-status,” and stores the configuration.
2.
The configuration agent receives a second event message directing it to either apply or cancel the 
stored configuration.
Use the cns config cancel command in error scenarios where the second event message is not received 
and you need to remove the configuration from the list of outstanding configurations. Currently the 
maximum number of outstanding configurations is one.
Examples
The following example shows the process of checking the existing outstanding CNS configurations and 
cancelling the configuration with the queue-id of 1:
Router# show cns config outstanding
The outstanding configuration information:
queue id
identifier
config-id
1
identifierREAD
config_idREAD
queue-id
Indicates which partial configuration in the list of outstanding partial 
configurations to remove from the list. This list can be displayed by issuing 
the show cns config outstanding command in EXEC mode.
Release
Modification
12.2(2)T
This command was introduced.
12.0(18)ST
This command was integrated into Cisco IOS Release 12.0(18)ST.
12.0(22)S
This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(8)T
This command was implemented on additional platforms.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.