Commit Options - Cisco CRS-1 - Carrier Routing System Router Getting Started Manual

Carrier routing system
Hide thumbs Also See for CRS-1 - Carrier Routing System Router:
Table of Contents

Advertisement

Managing Configuration Sessions
In the following example, the user first displays the active configuration, then makes the necessary
configuration changes, and displays the "merged" configuration. The merged configuration provides a
preview of what the new active configuration will be after the commit command is executed.
The "merged" configuration shows what the new running configuration will look like after the changes
Note
from the target configuration are committed. It does not represent the actual running configuration.
Display the currently running configuration:
Step 1
RP/0/RP0/CPU0:router# show running-config
Building configuration...
!! Last configuration change at 16:52:49 UTC Sun March 10 2004 by lab
!
hostname router
shutdown
end
Open a target configuration session and enter configuration changes:
Step 2
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/3/0/3
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
Display the "merged" configuration before committing the new settings:
Step 3
RP/0/RP0/CPU0:router(config-if)# show configuration merge
Building configuration...
hostname router
interface POS0/3/0/3
description faq
ipv4 address 10.1.1.1 255.0.0.0
shutdown
end

Commit Options

The commit command provides multiple options as described in
Table 2-6
Command
commit
commit atomic
commit comment line
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
2-18
Commit Command Options
Description
(Default) Commits only valid changes (best effort). Some configuration
changes might fail due to semantic errors.
Commits changes only if all changes in the target configuration pass the
semantic verification process. If any semantic errors are found, none of
the configuration changes takes effect.
(Optional) Assigns a comment to a commit. This text comment is
displayed in the commit entry displayed with the show rollback points
[detailed] command.
The line argument is the text for the optional comment or label.
Chapter 2
Cisco IOS XR Basic Configuration Management
Table
2-6.

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents