Cisco Systems Cisco IOS XR Manual De Usuario

Descargar
Página de 222
7-8
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 7      Troubleshooting the Cisco IOS XR Software
Configuration Error Messages
Configuration Failures During a Commit Operation
A target configuration is added to the running configuration of a router when the commit command is 
entered. During this operation, the changes are automatically verified by the other components in the 
system. If successful, the configuration becomes part of the running configuration. If some configuration 
items fail, an error message is returned. 
To display the configuration items that failed and see the cause of each failure, enter the show 
configuration failed 
command.
Note
The show configuration failed command can be entered in either the EXEC mode or any configuration 
mode. In any mode, the configuration failures from the most recent commit operation are displayed. 
In the following example, a configuration error occurs when an invalid commit operation is attempted:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# taskgroup bgp
RP/0/RP0/CPU0:router(config-tg)# description this is a test of an invalid taskgroup
RP/0/RP0/CPU0:router(config-tg)# commit
% Failed to commit one or more configuration items. Please use 'show configurati
on failed' to view the errors
To display the configuration items that failed, including a description of the error, enter the 
show configuration failed command: 
RP/0/RP0/CPU0:router(config-tg)# show configuration failed
!! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS
taskgroup bgp
!!% Usergroup/Taskgroup names cannot be taskid names
!
You can also display the failed configuration items without the error description by entering the 
show configuration failed noerror command:
RP/0/RP0/CPU0:router(config-tg)# show configuration failed noerror
!! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS
taskgroup bgp
Configuration Errors at Startup
Configuration errors that occurred during system startup can be displayed with the show configuration 
failed startup 
command. For example:
RP/0/RP0/CPU0:router# show configuration failed startup
!! CONFIGURATION FAILED DUE TO SYNTAX ERRORS
ntp
xml agent corba
http server