Cisco Systems A9K24X10GETR, ASR 9000, A9KMOD80TR manual protocol protocoloptions, 3-13, Command Mode

Models: A9KMOD80TR A9K24X10GETR ASR 9000

1 142
Download 142 pages 58.88 Kb
Page 49
Image 49
Command Mode

Chapter 3 Configuring General Router Features

 

 

Navigating Cisco IOS XR Software Command Modes

 

 

 

F I N A L D R A F T — C i s c o C o n f i d e n t i a l

Table 3-4

Common Command Modes and CLI Prompts (continued)

 

 

 

Command Mode

 

Description

 

 

 

administration

 

Administration configuration mode allows you to assign system resources to RSPs.

configuration mode

From administration EXEC mode, use the configure command to enter administration configuration

 

 

 

 

submode:

 

 

RP/0/RSP0/CPU0:router(admin)# configure

 

 

RP/0/RSP0/CPU0:router(admin-config)#

 

 

Global configuration

Global configuration mode is the starting point for RSP configuration. Commands entered in this

 

 

mode affect the RSP 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, type the configure command at the EXEC command prompt:

 

 

RP/0/RSP0/CPU0:router# configure

 

 

RP/0/RSP0/CPU0:router(config)#

 

 

Note The system prompt changes to “router(config)” to indicate that the router is now in global

 

 

configuration mode.

 

 

 

Configuration

 

From the global configuration mode you can enter more specific command modes. These are

submodes

 

available based on your 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/RSP0/CPU0:router# configure

 

 

RP/0/RSP0/CPU0:router(config)# mpls ldp

 

 

RP/0/RSP0/CPU0:router(config-ldp)#

 

 

Note 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.

 

 

Interface configuration

The interface configuration submode is used to select and configure a hardware 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.

 

 

RP/0/RSP0/CPU0:router(config)# interface tunnel-te 2

 

 

RP/0/RSP0/CPU0:router(config-if)#

 

 

Router configuration

The router configuration submode is used to select and configure a routing protocol, like OSPF, or

 

 

IS-IS. The following command syntax is used for entering router configuration submode: 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.

 

 

RP/0/RSP0/CPU0:router(config)# router ospf 100

 

 

RP/0/RSP0/CPU0:router(config-ospf)#

 

 

 

 

 

 

Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide

 

 

 

 

 

 

OL-17502-01

 

 

3-13

 

 

 

 

 

Page 49
Image 49
Cisco Systems A9K24X10GETR manual protocol protocoloptions, 3-13, F I N A L D R A F T - C i s c o C o n f i d e n t i a l