Cisco Router IOS XR Getting Started Manual page 118

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents

Advertisement

Managing Configuration Sessions
Displaying Configuration Error Messages and Descriptions
Configuration changes are automatically verified during the commit operation, and a message is
displayed if one or more configuration entries fail. To display an error message and description for a
failed configuration, enter the show configuration failed command.
You can view configuration errors only during the current configuration session. If you exit
Note
configuration mode after the commit operation, the configuration error information is lost.
In the following example, an error is introduced in global configuration mode and the error information
is displayed after the commit operation fails:
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
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
!
Displaying Configuration Error Messages Without Descriptions
Configuration changes are automatically verified during the commit operation, and a message is
displayed if one or more configuration entries fail. To display only the error message (without a
description) for a failed configuration, enter the show configuration failed noerror command, as shown
in the following example:
RP/0/RP0/CPU0:router(config-tg)# show configuration failed noerror
!! CONFIGURATION FAILED DUE TO SEMANTIC ERRORS
taskgroup bgp
!
You can view configuration errors only during the current configuration session. If you exit
Note
configuration mode after the commit operation, the configuration error information is lost.
Displaying Configuration Error Messages Produced While Loading a Configuration
To display any syntax errors found in a configuration loaded with the load command, enter the show
configuration failed load command.
Cisco IOS XR Getting Started Guide
4-32
Chapter 4
Configuring General Router Features
OL-10957-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xr 3.4

Table of Contents