Aborting A Configuration Session; Configuring The Sdr Hostname - Cisco Router IOS XR Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for Router Cisco IOS XR:
Table of Contents

Advertisement

Configuring the SDR Hostname

If you end a configuration session without committing the configuration changes, the router prompts you
to save changes, discard changes, or cancel the action, as shown in the following example:
RP/0/RP0/CPU0:router(config-if)# end
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:
Respond to the prompt by entering one of the following options:
In EXEC mode, the exit command logs the user out of the system.
Note

Aborting a Configuration Session

When you abort a configuration session, any changes are discarded and the configuration session ends.
No warning is given before the configuration changes are deleted.
In global configuration mode, the abort command discards configuration changes and returns to EXEC
mode. In administration configuration mode, the abort command discards configuration changes and
returns to administration EXEC mode. To abort a configuration session, enter the abort command, as
shown in the following example:
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#
Configuring the SDR Hostname
The hostname identifies an SDR on the network. Although devices can be uniquely identified by their
Layer 2 and Layer 3 addresses (such as an IP address), it is often simpler to remember network devices
by an alphanumeric "hostname." This name is used in the CLI prompt and default configuration
filenames and to identify the SDR on the network.
To configure the hostname, enter the hostname command with the SDR name as shown in the following
example:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# hostname SDR_SJ
RP/0/RP0/CPU0:router(config)# commit
RP/0/RP0/CPU0:Apr
ration committed by user 'user_a'.
view the changes.
RP/0/RP0/CPU0:SDR_SJ(config)#
The preceding example sets the SDR name to SDR_SJ.
Cisco IOS XR Getting Started Guide
4-38
yes, commit the configuration changes and exit configuration mode
no, exit configuration mode without committing the configuration changes
cancel, remain in configuration mode without committing the configuration changes
7 00:07:33.246 : config[65669]: %LIBTARCFG-6-COMMIT : Configu
Chapter 4
Use 'show configuration commit changes 1000000067' to
Configuring General Router Features
OL-10957-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ios xr 3.4

Table of Contents