Cisco Router IOS XR Getting Started Manual page 106

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

Advertisement

Navigating the Cisco IOS XR Command Modes
Table 4-4
Common Command Modes and CLI prompts (continued)
Command Mode
Description
Global configuration
Global configuration mode is the starting point for SDR configuration. Commands entered in this
mode affect the SDR as a whole, rather than just one protocol or interface. Global configuration
mode is also used for entering configuration submodes to configure specific elements, such as
interfaces or protocols.
To enter global configuration mode, enter the configure command at the EXEC command prompt:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)#
Note
Configuration
From the global configuration mode, you can also enter other, more specific command modes.
submodes
These modes are available based on your assigned access privileges and include protocol-specific,
platform-specific, and feature-specific configuration modes.
In the following example, MPLS LDP configuration mode is entered from global configuration
mode. The prompt for MPLS LDP configuration submode appears as config-ldp. The following
command syntax is used for entering configuration MPLS LDP submode:
RP/0/RP0/CPU0:router#
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# mpls ldp
RP/0/RP0/CPU0:router(config-ldp)
Note
Interface configuration The interface configuration submode is used to select and configure a hardware interface, such as a
Packet-over-SONET/SDH (POS) interface. To enter interface configuration mode from global
configuration mode, use an interface command. An interface configuration command always
follows an interface global configuration command, which defines the interface type. The following
command syntax is used for entering interface configuration submode:
Router configuration
The router configuration submode is used to select and configure a routing protocol, such as BGP,
OSPF, or IS-IS. The following command syntax is used for entering router configuration submode:
RP/0/RP0/CPU0:router(config)# router < protocol > < protocol_options >
Replace protocol with the keyword for the protocol you want to configure. Replace
protocol_options with any keywords and arguments required for that protocol. In the following
example, the router enters the router configuration mode for BGP:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# router bgp 140
RP/0/RP0/CPU0:router(config-bgp)#
Cisco IOS XR Getting Started Guide
4-20
The system prompt changes to "
configuration mode.
The availability of any particular mode depends on the router features and the access rights
of the individual user. For example, a configuration mode for configuring access servers is
not available on most routers.
RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/0
RP/0/RP0/CPU0:router(config-if)#
Chapter 4
" to indicate that the router is now in global
router(config)
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