- Configuring Cisco Networking Services
- CNS Configuration Agent
- CNS Image Agent
- CNS Event Agent
- Cisco Networking Services Config Retrieve Enhancement with Retry and Interval
- Cisco Networking Services Enhanced Results Message
- Cisco Networking Services Flow-Through Provisioning
- CNS Frame-Relay Zero Touch
- Cisco Networking Services Security Enhancement
- Command Scheduler (Kron)
- DHCP Zero Touch
- Network Configuration Protocol
- NETCONF over SSHv2
- NETCONF Access for Configurations over BEEP
Contents
- Cisco Networking Services Enhanced Results Message
- Finding Feature Information
- Information About Cisco Networking Services Enhanced Results Message
- Cisco Networking Services Results Messages
- How to Configure Cisco Networking Services Enhanced Results Message
- Configuring the Cisco Networking Services Event and EXEC Agents
- Configuration Examples for Cisco Networking Services Enhanced Results Message
- Example: Configuring a Partial Configuration
- Additional References
- Feature Information for Cisco Networking Services Enhanced Results Message
Cisco Networking Services Enhanced Results Message
The Cisco Networking Services Enhanced Results Message feature sends a second Cisco Networking Services result message to the subject “cisco.cns.config.results” in addition to the Cisco Networking Services results messages sent to the Cisco Networking Services Event bus after a partial configuration is complete.
The Cisco Networking Services enhanced results message contains both overall and line-by-line information about the configuration that was sent and the result of the action requested in the original message.
- Finding Feature Information
- Information About Cisco Networking Services Enhanced Results Message
- How to Configure Cisco Networking Services Enhanced Results Message
- Configuration Examples for Cisco Networking Services Enhanced Results Message
- Additional References
- Feature Information for Cisco Networking Services Enhanced Results Message
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Cisco Networking Services Enhanced Results Message
Cisco Networking Services Results Messages
When a partial configuration has been received by the device, each line of the configuration will be applied in the same order as it was received. If the Cisco parser has an error with one of the lines of the configuration, then all the configuration up to this point will be applied to the device, but none of the configuration beyond the error will be applied. If an error occurs, the cns config partial command will retry until the configuration successfully completes. In the pull mode, the command will not retry after an error. By default, NVRAM will be updated except when the no-persist keyword is configured.
A message will be published on the Cisco Networking Services event bus after the partial configuration is complete. The Cisco Networking Services event bus will display one of the following status messages:
- cisco.mgmt.cns.config.complete—Cisco Networking Services configuration agent successfully applied the partial configuration.
- cisco.mgmt.cns.config.warning—Cisco Networking Services configuration agent fully applied the partial configuration, but encountered possible semantic errors.
- cisco.mgmt.cns.config.failure (CLI syntax)—Cisco Networking Services configuration agent encountered a command line interface (CLI) syntax error and was not able to apply the partial configuration.
- cisco.mgmt.cns.config.failure (CLI semantic)—Cisco Networking Services configuration agent encountered a CLI semantic error and was not able to apply the partial configuration.
With the CNS Enhanced Results Messages feature, a second message is sent to the subject “cisco.cns.config.results” in addition to the appropriate message above. The second message contains both overall and line-by-line information about the configuration that was sent and the result of the action requested in the original message. If the action requested was to apply the configuration, then the information in the results message is semantic in nature. If the action requested was to check syntax only, then the information in the results message is syntactical in nature.
How to Configure Cisco Networking Services Enhanced Results Message
Configuring the Cisco Networking Services Event and EXEC Agents
1.
enable
2.
configure
terminal
3.
cns
config
partial
{host-name |
ip-address} [encrypt] [port-number] [source
interface
name] [inventory]
4.
logging
cns-events
[severity-level]
5.
cns exec [encrypt] [port-number] [source {ip-address |
interface-type-number}]
6.
cns
event
{hostname
|
ip-address} [encrypt] [port-number] [backup] [failover-time
seconds] [keepalive
seconds
retry-count] [source
ip-address |
interface-name][clock-timeout
time] [reconnect-time
time]
7.
exit
DETAILED STEPS
Troubleshooting Tips
- Use the show cns event connections command to check that the Cisco Networking Services event agent is connected to the Cisco Networking Services event gateway.
- Use the show cns event subject command to check that the image agent subject names are registered. Subject names for the Cisco Networking Services image agent begin with cisco.mgmt.cns.image.
Configuration Examples for Cisco Networking Services Enhanced Results Message
Example: Configuring a Partial Configuration
Incremental or partial configuration allows the remote device to be incrementally configured after its initial configuration. You must perform these configurations manually through the Cisco Networking Services configuration engine. The registrar allows you to change the configuration templates, edit parameters, and submit the new configuration to the device without a software or hardware restart.
The following example shows incremental (partial) configuration on a remote device. The Cisco Networking Services configuration engine IP address is 172.28.129.22, and the port number is 80.
cns config partial 172.28.129.22 80
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Cisco Networking Services commands: complete command syntax, command mode, command history, defaults, usage guidelines, and examples |
|
Cisco Networking Services Configuration Engine |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for Cisco Networking Services Enhanced Results Message
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Cisco Networking Services Enhanced Results Message |
12.2(33)SRA 12.4(4)T |
The Cisco Networking Services Enhanced Results Message feature sends a second Cisco Networking Services result message to the subject “cisco.cns.config.results” in addition to the Cisco Networking Services results messages sent to the Cisco Networking Services Event bus after a partial configuration is complete. The following command was modified by this feature: cns config partial. |