2-11
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 2 Cisco IOS XR Basic Configuration Management
Navigating the Cisco IOS XR Command Modes
Interface configuration The interface configuration submode is used to select and configure a hardware interface, such as a
packet-over-SONET (POS) interface. To enter interface configuration mode from global
configuration mode, use an interface command. Interface configuration commands always follow
an interface global configuration command, which defines the interface type. The following
command syntax is used for entering interface configuration submode:
RP/0/RP0/CPU0:router(config)# interface POS 0/2/0/0
RP/0/RP0/CPU0:router(config-if)#
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# configure
RP/0/RP0/CPU0:router(config)# router <protocol>
RP/0/RP0/CPU0:router(config-protocol)#
In the following example, the router enters the router configuration mode for BGP:
RP/0/RP0/CPU0:router# configuration
RP/0/RP0/CPU0:router(config)# router bgp 140
RP/0/RP0/CPU0:router(config-bgp)#
Router submode
configuration
Router configuration submodes are accessed from router configuration mode. The following
command syntax is used for entering router address family configuration submode:
RP/0/RP0/CPU0:router(config)# router bgp 140
RP/0/RP0/CPU0:router(config-bgp)# address-family ipv4 multicast
RP/0/RP0/CPU0:router(config-bgp-af)#
For more information, refer to the Cisco IOS XR Routing Configuration Guide and the Cisco IOS
XR Routing Command Reference.
Table 2-4 Common Command Modes and CLI prompts (continued)
Command Mode Description