2-19
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 2 Cisco IOS XR Basic Configuration Management
Managing Configuration Sessions
In the following example, the default commit option is entered:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/0/0/2
RP/0/RP0/CPU0:router(config-if)# description faq
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# commit
In the following example, the commit operation is used with the atomic option:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/0/0/2
RP/0/RP0/CPU0:router(config-if)# description faq
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# commit atomic
Displaying Configuration Errors
Configuration changes are automatically verified during the commit operation, and a configuration
message is displayed if one or more configuration entries fails. To display the cause of each failure, enter
the show configuration failed commands, as summarized in Table 2-7.
Table 2-7 Commands to Display Configuration Failure Details
commit label line (Optional) Assigns a meaningful label. This label is displayed in the
output for the show rollback points [detailed] command instead of the
numeric label.
• The line argument is the text for the optional comment or label.
commit force (Optional) Allows a logical router owner to commit the configuration in
low-memory conditions.
A low-memory warning occurs when a user attempts to commit a target
configuration that exceeds the default capacity of the router.
The recommended resolution to such a warning is to remove
configurations using the no commands.
Caution The force option can cause the router to experience severe
problems if low-memory conditions occur. The force option
should be used only to remove configurations.
Command Description
Command Description
show configuration failed Displays the reason for a configuration commit error.
show configuration failed noerror Displays the list of commands that failed in the last commit.
The reasons for error are not shown.