Locking And Unlocking The Running Configuration During Configuration Sessions - 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
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#
You can also end a configuration session by pressing Ctrl-Z.
Tip
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
Command
show configuration sessions Displays the other configuration sessions on the router.
configure
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
2-22
Configuration Session Commands
Description
Enters global configuration mode and allows other users to commit
target configurations.
Chapter 2
Cisco IOS XR Basic Configuration Management
Table
2-9.

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Crs-1 series

Table of Contents