2-16
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 2 Cisco IOS XR Basic Configuration Management
Managing Configuration Sessions
Step 3 To display the inactive changes, use the show configuration command:
RP/0/RP0/CPU0:router(config-if)# show configuration
Building configuration...
interface POS0/0/0/1
description faq
ipv4 address 10.10.10.10 255.0.0.0
end
Step 4 Enter the commit command for the changes to become part of the currently running configuration:
RP/0/RP0/CPU0:router(config-if)# commit
RP/0/RP0/CPU0:Apr 5 22:55:42.044 : config[65709]: %LIBTARCFG-6-COMMIT : Configu
ration committed by user 'user_a'. Use 'show commit changes 1000000010' to view t
he changes.
Note You can save the target configuration to a file. See the “Saving and Loading Target Configuration Files”
section on page 2-27 for more information.
Displaying Configuration Details with show Commands
Table 2-5 summarizes the commands used in global configuration mode to display the contents of the
target configuration, the running configuration, or a combination of both.
Table 2-5 Configuration show Commands in Global Configuration Mode
Note You can use the show running-config command in the EXEC mode to display the contents of the
running configuration.
The following sections provide examples of displaying configuration details:
• Displaying the Current Running Configuration, page 2-17
• Displaying the Target (Nonactive) Configuration Changes, page 2-17
• Displaying the Merged Configuration Before Committing the Changes, page 2-17
Command Description
show running-config Displays the contents of the active running configuration. This is
the committed configuration that defines the router operations.
show configuration Displays the changes made to the target configuration. These are
the changes that have been entered but not yet committed.
show configuration merge Displays the combined contents of the target and running
configuration without committing the changes.