EasyManuals Logo

Cisco CRS-1 - Carrier Routing System Router Getting Started Guide

Cisco CRS-1 - Carrier Routing System Router
289 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #52 background imageLoading...
Page #52 background image
2-22
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 2 Cisco IOS XR Basic Configuration Management
Managing Configuration Sessions
End Command Example
To return to EXEC mode without saving changes to the target configuration, use the end command. You
are prompted to commit any uncommitted changes.
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# hostname host1
RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/2
RP/0/RP0/CPU0:router(config-if)# description this is my interface
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# shutdown
RP/0/RP0/CPU0:router(config-if)# end
Uncommitted changes found, commit them? [yes]: no
RP/0/RP0/CPU0:router#
Tip You can also end a configuration session by pressing Ctrl-Z.
Abort Command Example
To discard any changes to the target configuration and return to EXEC mode, use the abort command.
You are not prompted to commit any uncommitted changes:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# hostname host1
RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/2
RP/0/RP0/CPU0:router(config-if)# description this is my interface
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# shutdown
RP/0/RP0/CPU0:router(config-if)# abort
RP/0/RP0/CPU0:router#
Locking and Unlocking the Running Configuration During Configuration
Sessions
When you place the router in global configuration mode with the configure command, a new target
configuration is automatically created. More than one user can open a target configuration session at a
time, allowing multiple users to work on separate target configurations.
By default, the running configuration is locked whenever a commit operation is being performed. This
automatic locking ensures that each commit operation is completed before the next one begins. Other
users receive an error message if they attempt to commit a target configuration while another commit
operation is under way.
You can lock the running configuration for the duration of your own configuration session, and use
commands to display the other active configuration sections, as described in Table 2-9.
Table 2-9 Configuration Session Commands
Command Description
show configuration sessions Displays the other configuration sessions on the router.
configure Enters global configuration mode and allows other users to commit
target configurations.

Table of Contents

Other manuals for Cisco CRS-1 - Carrier Routing System Router

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS-1 - Carrier Routing System Router and is the answer not in the manual?

Cisco CRS-1 - Carrier Routing System Router Specifications

General IconGeneral
BrandCisco
ModelCRS-1 - Carrier Routing System Router
CategoryNetwork Router
LanguageEnglish

Related product manuals