Cisco XR 12000 Series Getting Started Manual page 75

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

Chapter 3
Configuring General Router Features
Table 3-5
Command
commit force
commit replace
Examples
The following examples illustrate how to commit a configuration:
Committing a Configuration from Global Configuration Mode: Example
In the following example, the default commit command is entered in global configuration mode:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# interface POS 0/0/0/2
RP/0/0/CPU0:router(config-if)# description faq
RP/0/0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/0/CPU0:router(config-if)# commit
RP/0/0/0:Aug
'cisco'.
The preceding message is stored in the log and appears only if logging is configured to display on screen.
Note
Committing a Configuration from Administration Configuration Mode: Example
In the following example, the commit command is entered with the label and comment keywords in
administration configuration mode:
RP/0/0/CPU0:router# admin
RP/0/0/CPU0:router(admin)# configure
RP/0/0/CPU0:router(admin-config)# sdr test
RP/0/0/CPU0:router(admin-config-sdr:test)# location 0/1/* primary
RP/0/0/CPU0:router(admin-config-sdr:test)# commit label test comment This is a test
RP/0/0/CPU0:router(admin-config)# show configuration commit list detail
1) CommitId: 2000000018
OL-24755-01
Commit Command Options (continued)
Description
(Optional) Merges the target configuration with the running
configuration and allows a configuration commit 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
(Optional) Replaces the contents of the running configuration with the
target configuration.
Committing a Configuration from Global Configuration Mode: Example, page 3-63
Committing a Configuration from Administration Configuration Mode: Example, page 3-63
6 09:26:17.781 : %LIBTARCFG-6-COMMIT Configuration committed by user
Use 'show configuration commit changes 1000000124' to view the changes.
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.
Label: test
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
Managing Configuration Sessions
3-63

Advertisement

Table of Contents
loading

Table of Contents