Cisco IOS XR Command Modes Reference, Release 3.5
Cisco IOS XR Command Prompts

Table Of Contents

Cisco IOS XR Command Prompts


Cisco IOS XR Command Prompts


This chapter helps you determine the current CLI mode by the information that appears in the prompt. The chapter primarily consists of a table with all the standard user-prompts. which are listed in alphabetical order.

The first column in Table 2 contains the user-prompts arranged in alphabetical order. For each prompt, the following information is provided:

The section in the "Cisco IOS XR Command Mode Descriptions" chapter that describes the mode

The method of accessing the mode

An example of an entry to the mode

The availability of a command mode depends on the feature set in the software image and on the router.

Table 2 CLI Prompts and Modes 

Prompt
Mode Section
Access Method
Example

(admin)

Administration EXEC Mode

Enter from executive mode: use the admin command.

router# admin

(admin-config)

Administration Configuration Mode

In admin mode, enter the configuration command.

(admin)# configure

(admin-config-pairing:drp_name)

Distributed Route Processor Pairing Mode

In the administration configuration mode, use the pairing command with the name of a pair.

router# admin
router(admin)# config
router(admin-config)# 
pairing drp1
router(admin-config- 
pairing:drp1)# location 
0/3/* 0/4/*

(admin-config-sdr)

Secure Domain Router Configuration Mode

In administration configuration mode, use the sdr command.

router# admin
(admin)#config
(admin-config)#sdr test
(admin-config-sdr:test)#

(config)

Global Configuration Mode

Enter global configuration mode from executive (EXEC) mode

router# configure
router(config)#

(config-aps)

Administration EXEC Mode

Use the aps group command in global configuration mode.

(config)# aps group 1
(config-aps)#

(config-atm-l2transport-
pvc)

ATM Layer 2 Transport PVC Configuration Mode

Use the pvc command in interface configuration mode.

(config)#atm-l2transport-
pvc

(config-atm-l2transport-
pvp)

ATM Layer 2 Transport PVP Configuration Mode

Enter ATM layer 2 transport PVP configuration mode by using the pvp command in subinterface configuration mode and then configure parameters for a particular permanent virtual path (PVP)

(config-if)# interface 
atm 0/2/0/0.1 l2transport
(config-subif)# pvp 20

(config-atm-vc)

ATM PVC Configuration Mode

Enter point-to-point ATM virtual circuit configuration mode by using the pvc command in interface configuration mode or subinterface configuration mode, and then configure parameters for a particular ATM permanent virtual circuit (PVC).

(config)# interface atm 
0/6/0/1
(config-if)# pvc 5/100 
ilmi

(config-atm-vp-tunnel)

ATM VP-tunnel Configuration Mode

Enter ATM vp-tunnel configuration mode using the vp-tunnel command in interface configuration mode and then configure parameters for a particular virtual path (VP) tunnel.

(config-if)# vp-tunnel 10

(config-bgp)

Router Configuration Mode

In global configuration mode, use the router command.

(config)# router bgp 140

(config-bgp-af)

Address Family Configuration Mode AF or AFI

Enter one of the address family configuration modes from router configuration mode.

(config)# router bgp 1
(config-bgp)# address-fam
ily ipv6 unicast

(config-bgp-afgrp)

Address Family Group Configuration Mode

Use the af-grp command in router configuration mode for BGP.

(config-bgp)# af-group 
newgroup1 address-family 
ipv4 unicast

(config-bgp-confed-peers)

Border Gateway Protocol Confederation Peers Configuration Mode

Use the config-bgp-confed-peers command in BGP router configuration mode.

(config)# router bgp 1095 
(config-bgp)# bgp 
confederation peers

(config-bgp-nbr)

Neighbor Configuration Mode

In router config mode for BGP, use the neighbor command.

(config-bgp)# neighbor 
10.0.0.1

(config-bgp-nbrgrp)

Neighbor Group Configuration Mode

Use the neighbor-group command in neighbor configuration mode.

(config-bgp)# 
neighbor-group

(config-bgp-nbr-af)

Neighbor Address Family Configuration Mode

In neighbor address family mode, you can specify address characteristics for a neighbor. To do so, enter neighbor configuration mode and then neighbor address family configuration mode.

router# configure
(config)# router bgp 1
(config-bgp)# neighbor 
10.0.0.1
(config-bgp-nbr)# remote-
as 1
(config-bgp-nbr)# address
-family ipv4 multicast

(config-bgp-nbrgrp-af)

Neighbor Group Address Family Configuration Mode

Use the address-family command in neighbor group configuration mode.

(config-bgp)# 
neighbor-group rrclients
(config-bgp-nbrgrp)# 
remote-as 65534
router(config-bgp-nbrgrp)
# address-family ipv4 
unicast 

(config-bgp-vrf-af)

IPv4 Virtual Routing and Forwarding Address Family Command Mode

Enter the command mode for an IPv4 VPN routing and forwarding (VRF) address family by using the vrf command in router configuration mode for the applicable routing protocol.

(config-bgp)# vrf new1
(config-bgp-vrf)# 
address-family ipv4 
unicast

(config-bfd)

BFD Configuration Mode

Enter Bidirectional Forwarding Detection (BFD) configuration mode using the bfd command in global configuration mode and then configure BFD parameters

configure
RP/0/RP0/CPU0:router(conf
ig)# bfd

(config-bfd-if)

BFD Interface Configuration Mode

Enter Bidirectional Forwarding Detection (BFD) interface configuration mode using the interface command in BFD configuration mode and then configure parameters for a particular interface.

(config)# bfd
(config-bfd)# interface 
pos 0/1/0/0

(config-bgp-confed-peers)

Border Gateway Protocol Confederation Peers Configuration Mode

Enter Border Gateway Protocol (BGP) confederation peer configuration mode by using the bgp confederation peers command in BGP router configuration mode.

(config)# router bgp 1095 
(config-bgp)# bgp 
confederation peers 
(config-bgp-confed-peers)
# 1096 
(config-bgp-confed-peers)
# 1097 
(config-bgp-confed-peers)
# 1098

(config-bgp-sngrp)

Server-group Configuration Mode

In global configuration mode, define a session group and then configure the neighbor to use the session

(config)# router bgp 1
(config-bgp)# session-gro
up session1
(config-bgp-sngrp)#  
advertisement-interval 40
(config-bgp-sngrp)# timer
s 30 90
(config-bgp-sngrp)# exit
(config-bgp)# neighbor 
172.168.40.24
(config-bgp-nbr)# remote-
as 2
(config-bgp-nbr)# use 
session-group session1

(config-client-keys)

Key Chain Mode

In global configuration mode, use the key chain command.

(config)# key chain 
isis-keys

(config-client-keys-key-id)

Keychain-Key Mode

In keychain-key configuration mode use the key command.

(config)# key chain 
isis-keys
(config-isis-keys)# key 8

(config-cmap)

Class Map Configuration Mode

Use the class-map command in global configuration mode.

(config)# class-map 
class1

(config-config-isis-af)

Address Family Configuration Mode AF or AFI

Enter one of the address family configuration modes from router configuration mode.

(config)# router isis isp
(config-isis)# address-fa
mily ipv4 unicast

(config-ctrl)

Control Plane Configuration Mode

Enter Control Plane Configuration Mode by using the control-plane command in global configuration mode.

(config)# control-plane

(config-dwdm)

Dense Wave Division Multiplexing Controller Mode

Use the controller dwdm command in global configuration mode.

(config)# controller dwdm 
0/6/0/0

(config-e1-channel_group)

E1 Channel Group Configuration Mode

Enter DS0 channel group configuration mode for an E1 controller using the channel-group command in E1 configuration mode.

(config)# controller e1 
0/6/2/0/3
(config-t1e1)# channel- 
group 5

(config-e3)

E3 Configuration Mode

Enter E3 configuration mode using the controller e3 command in global configuration mode and then configure parameters for a particular E3 instance.

(config)# controller e3 
0/6/2/0

(config-eigrp)

Router Configuration Mode

Use the router eigrp command in global configuration mode.

(config)# router eigrp 1

(config-eigrp-af)

Address Family Configuration Mode AF or AFI

Use the address family command in EIGRP router configuration mode.

(config-eigrp)# address- 
family ipv6 unicast

(config-eigrp-af-if)

Interface Configuration Mode (Protocol Areas)

Use the interface command in EIGRP address family configuration mode.

(config-eigrp-af)# 
interface POS 0/1/0/0

(config-eigrp-ar-if)

Interface Configuration Mode (Protocol Areas)

Enter area interface configuration mode from area configuration mode.

(config)# router eigrp 1
(config-eigrp)# 
address-family ipv4
(config-eigrp)# router-id 
10.1.1.1
(config-eigrp-af)# 
interface POS 0/1/0/0

(config-eigrp-af-if)# hello-interval 10

(config-eigrp-vrf-af)

IPv4 Virtual Routing and Forwarding Address Family Command Mode

Enter the command mode for an IPv4 VPN routing and forwarding (VRF) address family by using the vrf command in router configuration mode for the applicable routing protocol. This mode also supports configuration of static routes.

(config)# router eigrp 1
(config-eigrp)# vrf VRFs
(config-eigrp-vrf)# 
address-family ipv4 

(config-expl-path)

Explicit Path Configuration Mode

Use the explicit-path command in global configuration mode.

(config)# explicit-path 
identifier 200 
(config-expl-path)# 
exclude-address 
192.168.3.2

(config-fem)

Flow Exporter Map Configuration Mode

Enter flow exporter map configuration mode using the flow exporter-map command in global configuration mode and then configure parameters for a particular flow exporter map.

(config)# flow 
exporter-map map1

(config-fem-ver)

Flow Exporter Map Version Configuration Mode

Enter flow exporter map configuration mode using the flow exporter-map command in global configuration mode and then configure parameters for a particular flow exporter map.

(config)# flow 
exporter-map map1

(config-firewall)

Firewall Configuration Mode

Enter the configuration mode for configuring a virtual firewall by using the firewall command in global configuration mode.

(config)# firewall fw1

(config-fmm)

Flow Monitor Map Configuration Mode

Enter flow monitor map configuration submode using the flow monitor-map command in global configuration mode and then configure parameters for a particular monitor map.

config)# flow monitor-map 
map1

(config-fr-vc)

Frame Relay PVC Configuration Mode

Enter Frame Relay PVC configuration mode and associate a data-link connection identifier (DLCI) number to a permanent virtual circuit (PVC) using the pvc command in subinterface configuration mode.

(config)# interface pos 
0/4/0/0.1
(config-subif)# pvc 16

(config-hsrp)

Router HSRP Configuration Mode

Enter router configuration mode for Hot Standby Router Protocol (HSRP) by using the router vrrp command in global configuration mode. This mode is used for entering HSRP interface configuration mode.

(config)# router hsrp

(config-hsrp-if)

Hot Standby Router Protocol Interface Configuration Mode

Enter interface configuration mode for Hot Standby Router Protocol (HSRP) by using an interface command in router HSRP configuration mode. In this mode, you can configure details of the HSRP for a specific interface.

(config)# router hsrp
(config-hsrp)# interface 
TenGigE 0/2/0/1
(config-hsrp-if)# hsrp 1 
authentication company1

(config-group)

ISAKMP Group Configuration Mode

Use the crypto isakmp client configuration group command to enter ISAKMP group configuration mode.

(config)# crypto isakmp 
client configuration 
group marketing

(config-if)

Interface Tunnel Configuration Mode

Use the interface tunnel-ipsec0 for tunnels from configuration mode.

(config)# interface 
tunnel-ipsec0
router(config-if)# tunnel 
source 172.19.72.92
router(config-if)# tunnel 
destination 172.19.72.120
router(config-if)# 
profile pn1

(config-if-l2)

ATM Layer 2 Transport Interface Configuration Mode

Enter Layer 2 transport configuration mode by using the l2transport command in interface configuration mode and then configure Layer 2 transport parameters for a particular interface.

(config)# interface ATM 
0/2/0/0
(config-if)# l2transport

(config-if-pos)

Packet-over-SONET Interface Configuration Mode

Use the pos command in interface configuration mode.

(config)# interface POS 
0/1/0/2
(config-if)# pos
(config-if-pos)# crc 32

(config-if-pre)

Interface Preconfiguration Mode

Use the interface preconfigure command in template configuration mode.

(config-TPL)# interface 
preconfigure pos0/1/0/0

(config-if-sbc)

Interface Session Border Controller Configuration Mode

Use the interface sbc command in global configuration mode.

(config)# interface sbc 
sbcControlIf

(config-if-serial)

Serial Configuration Mode

Enter serial configuration mode using the serial command in interface configuration mode and then configure parameters for a particular serial interface.

(config-if)# serial

(config-igmp)

Router IGMP Configuration Mode

Use the router igmp command in global configuration mode.

(config)# router igmp
(config-igmp)# interface 
pos 0/1/0/1

(config-igmp-if)

Interface Internet Group Management Protocol Configuration Mode

In router IGMP configuration mode, use the interface command.

(config)# router igmp
(config-igmp)# interface 
pos 0/1/0/1

(config-ipsla-icmp-echo)

IP Service Level Agreement Internet Control Message Protocol Echo Configuration Mode

Use the type icmp echo command in IP SLA operation configuration mode.

(config-ipsla-op)# type 
icmp echo

(config-ipsla-icmp-path-
echo)

IP SLA ICMP Path-Echo Configuration Mode

Use the type icmp path-echo command in IP SLA operation configuration mode.

(config-ipsla-op)# type 
icmp path-echo

(config-ipsla-icmp-path-
jitter)

IP SLA ICMP Path-Jitter Configuration Mode

Use the type udp jitter command in IP SLA operation configuration mode.

(config-ipsla-op)# type 
udp jitter

(config-ipsla-mpls-
discovery-vpn)

IP SLA MPLS Discovery VPN Configuration Mode

Use the mpls discovery vpn command in IP SLA configuration mode.

(config)# ipsla 
(config-ipsla)# mpls 
discovery vpn 

(config-ipsla-op)

IP SLA Operation Configuration Mode

Enter the ipsla operation command in global configuration mode.

(config)# ipsla operation 
1
(config-ipsla-op)# type 
udp echo statistics 
interval 0 buckets 1

(config-ipsla-op-hist)

IP SLA Operation History Configuration Mode

Use the history command in UDP echo configuration mode.

(config-ipsla-op)# type 
udp echo
(config-ipsla-udp-echo)# 
history 

(config-ipsla-op-stats)

IP SLA Operation Statistics Configuration Mode

Use the statistics command in IP SLA UDP jitter mode or IP SLA UDP path echo mode.

(config-ipsla-op)# type 
icmp path-echo 
(config-ipsla-icmp-path-e
cho)# statistics hourly

(config-ipsla-react)

IP SLA Reaction Configuration Mode

Use the ipsla reaction operation command in global configuration mode.

(config)# ipsla reaction 
operation 432

(config-ipsla-react-cond)

IP SLA Reaction Condition Configuration Mode

Use the react connection-loss command in IP SLA reaction configuration mode.

(config)# ipsla reaction 
operation 432
(config-ipsla-react)# 
react connection-loss
(config-ipsla-react-cond# 
action logging

(config-ipsla-resp)

IP SLA Responder Configuration Mode

Use the ipsla responder command in global configuration mode.

(config)# ipsla responder

(config-ipsla-sched)

IP SLA Schedule Configuration Mode

Use the ipsla schedule operation command in global configuration mode.

(config)# ipsla schedule 
operation 1
(config-ipsla-sched)# 
recurring

(config-ipsla-udp-echo)

IP SLA UDP Echo Configuration Mode

Use the type udp echo command in IP SLA operation mode.

(config-ipsla-op)# type 
udp echo

(config-ipsla-udp-jitter)

IP SLA UDP Jitter Configuration Mode

Use the type udp jitter command in IP SLA operation mode.

(config-ipsla-op)# type 
udp jitter

(config-ipv4-acl)

IPv4 Access List Configuration Mode

Use the ipv4 access-list command in the global configuration mode.

(config)# ipv4 
access-list 
Internetfilter
(config-ipv4-acl)# 10 
deny 192.168.34.0 
0.0.0.255

(config-ipv4-pfx)

IPv4 Prefix List Configuration Mode

Use the ipv4 prefix-list command in the global configuration mode.

(config)# ipv4 
prefix-list list1
(config-ipv4-pfx)# permit 
172.20.10.171/16 le 24

(config-ipv6-acl)

IPv6 Access List Configuration Mode

Use the ipv6 access-list command in the global configuration mode.

(config)# ipv6 
access-list 
Internetfilter
(config-ipv6-acl)#

(config-ipv6-pfx)

IPv6 Prefix List Configuration Mode

Use the ipv6 prefix-list command in the global configuration mode.

(config)# ipv6 
prefix-list list1
(config-ipv6-pfx)# permit 
172.20.10.171/16 le 24

(config-isakmp)

ISAKMP Policy Configuration Mode

In the global configuration, use the crypto isakmp command.

(config)# crypto isakmp 
policy 15 
(config-isakmp)# hash md5

(config-isa-prof)

ISAKMP Profile Configuration Mode

Use the crypto isakmp profile command to enter ISAKMP profile configuration mode.

(config)# crypto isakmp 
profile vpnprofile
(config-isa-prof)# match 
identity group vpngroup

(config-isa-prof-match)

ISAKMP Profile Match Configuration

Use the match-identity command to enter ISAKMP profile match configuration mode.

(config)# crypto isakmp 
profile vpnprofile
(config-isa-prof)# match 
identity group vpngroup

(config-isis)

Router Configuration Mode

In global configuration mode, use the router command.

(config)# router isis 140

(config-isis-if)

Interface Configuration Mode

Enter interface configuration mode from global configuration mode.

(config)# interface POS 
0/2/0/4

(config-isis-if-af)

Interface Address Family Configuration Mode

Use the address-family ipv4 command in the IS-IS interface submode.

config)# router isis isp
(config-isis)# interface 
POS0/1/0/1
(config-isis-if)# address
-family ipv4 unicast

(config-l2tp-class)

Layer 2 Tunnel Protocol Class Configuration Mode

Use the l2tp-class command in global configuration mode.

(config)# l2tp-class 
cisco

(config-keyring)

Keyring Configuration mode

Use the crypto keyring command to enter keyring configuration mode.

(config)# crypto keyring 
vpnkey

(config-ldp)

Multiprotocol Label Switching Label Distribution Protocol Configuration Mode

Use the mpls ldp command in global configuration mode.

(config)# mpls ldp

(config-ldp-if)

MPLS LDP Interface Configuration Mode

Use the mpls ldp interface command in global configuration mode.

(config)# mpls ldp 
interface POS 0/1/0/0 

(config-ldp-lbl-acpt)

MPLS LDP Label Accept Configuration Mode

Use the label accept command in MPLS LDP configuration mode.

(config)# mpls ldp 
(config-ldp)# label 
accept

(config-ldp-lbl-advt)

MPLS LDP Label Advertise Configuration Mode

Use the label advertise command in MPLS LDP configuration mode.

(config)# mpls ldp 
(config-ldp)# label 
advertise

(config-ldp-log)

MPLS LDP Log Configuration Mode

Use the mpls ldp log command in global configuration mode.

(config)# mpls ldp log

(config-l2tp-class)

Layer 2 Tunnel Protocol Class Configuration Mode

Enter L2TP configuration class mode to create a template of Layer 2 Tunnel Protocol (L2TP) control plane configuration settings that can be inherited by different pseudowire classes.

(config)# l2tp-class 
cisco

(config-ldp)

Multiprotocol Label Switching Label Distribution Protocol Configuration Mode

Enter Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) configuration mode from global configuration mode.

(config)# mpls ldp 
(config-ldp)# 
graceful-restart

(config-ldp-if)

MPLS LDP Interface Configuration Mode

Enter MPLS LDP interface configuration mode from global configuration or MPLS LDP configuration mode to enable LDP on an interface or to configure interface-related LDP parameters.

(config)# mpls ldp 
interface POS 0/1/0/0 
(config-ldp-if)# 
discovery 
transport-address 
10.10.3.1

(config-ldp-lbl-acpt)

MPLS LDP Label Accept Configuration Mode

Enter label accept configuration mode by using the label accept command in MPLS LDP configuration mode.

(config)# mpls ldp 
(config-ldp)# label 
accept

(config-ldp-lbl-advt)

MPLS LDP Label Advertise Configuration Mode

Enter label advertise configuration mode by using the label advertise command in MPLS LDP configuration mode.

(config-ldp)# label 
advertise 
(config-ldp-lbl-advt)# 
disable

(config-ldp-lbl)

MPLS LDP Label Configuration Mode

Enter Label Distribution Protocol (LDP) label configuration mode from MPLS LDP configuration mode.

(config)# mpls ldp label

(config-ldp-log)

MPLS LDP Log Configuration Mode

Enter MPLS LDP log configuration mode by using the mpls ldp log command in global configuration mode. In this mode, you can enable logging for several features.

(config)# mpls ldp log

(config-line)

Line (Template) Configuration Mode

Enter the global configuration mode by using the line default command.

(config)# line default

(config-mcast-ipv4)

Multi-Area Interface Configuration Mode

Enter the multicast routing configuration mode by using the multicast-routing command in global configuration mode or in EXEC mode.

 (config)# 
multicast-routing

(config-mcast-ipv4-if)

Interface Multicasting Mode

Use the interface command or other commands in multicast routing configuration mode.

(config-mcast-ipv4)# 
interface pos 0/1/0/0

(config-mld)

Router Multicast Listener Discovery Configuration Mode

Enter the router mld command in global configuration mode.

(config)# router mld
(config-mld)# interface 
pos 0/1/0/1
(config-mld-if)# 
access-group anygroup

(config-mpls-ouni)

MPLS Optical User Network Interface Configuration Mode

Use the mpls optical-uni command in global configuration mode.

(config)# mpls 
optical-uni

(config-mpls-ouni-if)

MPLS O-UNI Interface Configuration Mode

In MPLS O-UNI configuration mode, use the interface POS command.

(config)# mpls 
optical-uni
(config-mpls-ouni)# 
interface POS0/1/0/1

(config-mpls-ouni-if-adj)

Link Management Protocol Datalink Adjacency Configuration Mode

In the interface submode for MPLS O-UNI, run the lmp data-link adjacency command.

(config)# mpls 
optical-uni
(config-mpls-ouni)# 
interface POS 0/1/0/1
(config-mpls-ouni-if)# 
lmp data-link adjacency
(config-mpls-ouni-if-adj)
# neighbor router1

(config-mpls-ouni-if-adj)

O-UNI LMP Neighbor Adjacency Configuration Mode

In the interface submode for MPLS O-UNI, run the lmp data-link adjacency command.

(config)# mpls 
optical-uni
(config-mpls-ouni)# 
interface pos 0/2/0/0
(config-mpls-ouni-if)# 
lmp data-link adjacency
(config-mpls-ouni-if-adj)
# remote interface-id 2

(config-mpls-te)

MPLS Traffic Engineering Configuration Mode

Enter the mpls traffic-eng command in the global configuration mode.

(config)# mpls 
traffic-eng

(config-mpls-te-if)

MPLS TE Interface Configuration Mode

In the MPLS traffic engineering mode, use the interface command.

(config)# mpls 
traffic-eng
(config-mpls-te)# 
interface pos 0/7/0/0
(config-mpls-te-if)# 
admin-weight 20

(config-mpp)

Management Plane Protection Configuration Mode

Use the management-plane command to enter management plane protection configuration mode.

(config)# control-plane
(config-ctrl)# 
management-plane

(config-mpp-inband)

Management Plane Protection Inband Interface Configuration Mode

Use the interface command to enter management plane protection inband interface configuration mode.

(config)# control-plane
(config-ctrl)# 
management-plane
(config-mpp)# inband

(config-msdp)

Router Multicast Source Discovery Protocol Configuration Mode

Use the router msdp command in global configuration mode.

(config)# router msdp

(config-msdp-peer)

Peer Configuration Mode

In router MSDP mode, enter an IP address for the peer command.

(config)# router msdp
(config-msdp)# peer 
152.61.2.3

(config-ntp)

Network Time Protocol Configuration Mode

Enter the ntp command in global configuration mode.

(config)# ntp

(config-ntp-int)

NTP Interface Configuration Mode

Use the interface command in NTP configuration mode or the ntp interface command in global configuration mode.

(config)# ntp interface 
POS 0/0/0/1
(config-ntp-int)#

or

(config-ntp)# interface 
POS 0/0/0/1

(config-oam)

MPLS Operations Administration Maintenance Configuration Mode

Use the mpls oam command in EXEC mode.

(config)# mpls oam

(config-ospf-ar)

Area Configuration Mode

Enter area configuration mode from router configuration mode using commands such as interface and authentication.

(config)# router ospf 1
(config-router)# area 0
(config-ospf-ar)#  
interface POS 0/2/0/0

(config-ospf-ar-if)

Interface Configuration Mode (Protocol Areas)

Enter area interface configuration mode from area configuration mode for OSPF, OSPFv3, or EIGRP.

(config)# router ospfv3 
201
(config-router)# area 0
(config-ospf-ar)# interfa
ce POS 0/1/0/1
(config-ospf-ar-if)# cost 
65

(config-ospfv3)

Router Configuration Mode

Enter router configuration mode by using the router command with a routing protocol name in global configuration mode.

(config)#router ospfv3 1

(config-ouni-nbr-neighbor)

O-UNI LMP Neighbor Configuration Mode

Enter MPLS O-UNI configuration mode from global configuration mode.

(config)# mpls 
optical-uni 
config-mpls-ouni)# lmp 
neighbor router1
(config-ouni-nbr-router1)
# ipcc routed

(config-ouni-nbr-router)

O-UNI LMP Neighbor Configuration Mode

In MPLS O-UNI configuration mode, use the lmp neighbor name command.

(config-mpls-ouni)# lmp 
neighbor router1

(config-ouni-nbr-neighbor-name)

LMP Neighbor Configuration Mode

Use the lmp neighbor command in MPLS O-UNI configuration mode.

(config)# mpls 
optical-uni 
(config-mpls-ouni)# lmp 
neighbor router1

(config-pim-default-ipv4)

Router PIM Configuration Mode

Use the router pim command in global configuration mode.

(config)# router pim

(config-pim-ipv4)

Router PIM Configuration Mode

Use the router pim command in global configuration mode.

(config)# router pim
(config-pim-ipv4)# 
accept-register 
no-ssm-range

(config-pim-ipv4-if)

Interface Protocol Independent Management Configuration Mode

Use the interface command in router PIM configuration mode.

(config-pim-ipv4)# 
interface pos 0/1/0/0
(config-pim-ipv4-if)# 
dr-priority 4

(config-place)

Placement Program Mode

Use the placement program command in global configuration mode.

router(config)# placement 
program pim default
router(config-place)# 
affinity location-set 
current attract 100

(config-pmap)

Policy Map Configuration Mode

Use the policy-map command to enter map configuration.

(config)# policy-map 
policy1

(config-pmap-c)

Policy Map Class Configuration Mode

In policy map configuration mode, use the command.

(config-pmap)# class 
class1

(config-profilename)

Profile Configuration Mode

In global configuration mode, use the crypto ipsec profile command.

(config)# crypto ipsec 
profile sampleX

(config-protocol-vrf-nbr)

VRF Configuration Mode

In neighbor configuration mode, use address-family vpnv4 command.

(config-bgp-nbr)#address-
family vpnv4 unicast

(config-protocol-af)

VPNv4 Address Family Configuration Mode

Use the address-family vpnv4 unicast command in router configuration mode.

router(config-bgp)# 
address-family vpnv4 
unicast

(config-protocol-af)

VPNv6 Address Family Configuration Mode

In router configuration mode, use vpnv6 unicast command.

(config-bgp)# 
address-family vpnv6 
unicast 

(config-protocol-nbr-af)

VPNv6 Neighbor Address Family Configuration Mode

In router configuration mode, use the neighbor command.

(config-bgp)# neighbor 
10.1.1.1
router(config-bgp-nbr)# 
address-family vpnv6 
unicast

(config-protocol-vrf)

VRF Configuration Mode

Enter VPN routing and forwarding (VRF) configuration mode by using the vrf command in the router configuration mode for the chosen protocol.

(config-bgp)# vrf new1

(config-protocol-vrf-af)

VRF Address Family Configuration Mode

In the address family submode, use the address family command.

(config-bgp)# vrf vrfA
router(config-bgp-vrf)# 
address-family ipv4 
unicast

(config-protocol-vrf-nbr)

VRF Neighbor Configuration Mode

Enter the neighbor submode for VPN routing and forwarding (VRF) and use the neighbor command in VRF configuration mode.

(config-bgp)# vrf newb1
(config-bgp-vrf)# 
neighbor 10.1.1.1

(config-pubkey-chain)

Public Key Chain Configuration Mode

Use the crypto key pubkey-chain rsa command in global configuration mode.

(config)# crypto key 
pubkey-chain rsa

(config-pubkey-key)

Public Key Configuration Mode

Use either the named-key or the addressed-key command in global configuration mode.

(config)# crypto key 
pubkey-chain rsa 
(config-pubkey-chain)# 
addressed-key 10.5.5.1 

(config-rd)

Route Distinguisher Configuration Mode

Use the rd-set command in global configuration mode.

(config)# rd-set vpn-1
(config-rd)# 10.0.0.2:777

(config-rib-afi)

Address Family Configuration Mode AF or AFI

Use the RIP address family configuration modes from router configuration mode.

(config)# router rib 
(config-rib)# 
address-family ipv4

(config-rip)

Router Configuration Mode

Use the router rip command in global configuration mode.

(config)#router rip 

(config-rip-if)

Interface Routing Information Protocol Configuration Mode

Enter interface configuration mode for Routing Information Protocol (RIP) with the interface command in global configuration mode.

(config)# router rip
(config-rip)# interface 
POS 1/0/0/0

(config-router-ar-vl)

Virtual-link Configuration Mode

In area command mode for OSPF or OSPFv3, use the virtual-link command; include the router ID of the virtual link neighbor.

(config-ospf)# area 0
(config-ospf-ar)# 
virtual-link 10.0.0.1

(config-rpl)

Route-policy Configuration Mode

Enter route-policy configuration mode by using the route-policy command in global configuration mode.

(config)# route-policy 
drop-everything

(config-rpl-gl)

Global Parameter Configuration Mode

Enter global parameter configuration mode by using the policy-global command in global configuration mode.

(config)# policy-global

(config-rsvp)

Resource Reservation Protocol Configuration Mode

Use the rsvp command in global configuration mode.

(config)# rsvp 

(config-rsvp-if)

RSVP Interface Configuration Mode

Use the rsvp interface pos command in global configuration mode.

(config)# rsvp interface 
pos 0/3/0/0

(config-rsvp-auth)

RSVP Authentication Configuration Mode

Enter RSVP authentication configuration mode by using the rsvp authentication command from global configuration mode.

(config)# rsvp 
authentication

(config-rsvp-nbor-auth)

RSVP Neighbor Authentication Configuration Mode

Enter RSVP neighbor authentication configuration mode, by using the rsvp neighbor command from global configuration mode .

(config)# rsvp neighbor 
1.1.1.1 authentication

(config-sbc)

SBC Configuration Mode

Use the sbc command in global configuration mode.

(config)# sbc mySBC

(config-sbc-dbe)

SBC Data Border Element Configuration Mode

Use the dbe command in SBC configuration mode.

(config-sbc)# dbe

(config-sbc-dbe-media-
address)

SBC DBE Media Address Configuration Mode

Use the media-address vrf command in DBE configuration mode.

(config)# sbc mySBC dbe
(config-sbc-dbe)# 
media-address vrf vpn3

(config-sbc-dbe-vdbe)

SBC Virtual DBE Configuration Mode

Use the vdbe command in the DBE configuration mode.

(config)# sbc mySBC dbe
(config-sbc-dbe)# vdbe

(config-sbc-dbe-vdbe-
h248)

SBC Virtual DBE H248 Configuration Mode

Use the controller h248 command in virtual data border element (vDBE) configuration mode.

(config)# sbc mySBC dbe 
vdbe
(config-sbc-dbe-vdbe)# 
controller h248 1

(config-sbc-sbe)

SBC Signaling Border Element Configuration Mode

Use the sbe command in SBC configuration mode.

(config)# sbc mySBC 
(config-sbc)# sbe

(config-sbc-sbe-acc)

SBC RADIUS Account Configuration Mode

Use the radius-account command in signaling border element (SBE) configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
radius-account radius1

(config-sbc-sbe-acc-ser)

SBC RADIUS Accounting Server Configuration Mode

Use the accounting-server command in RADIUS accounting configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
radius-account radius1
(config-sbc-sbe-acc)# 
accounting-server castor

(config-sbc-sbe-adj-h323)

SBC H.323 Adjacency Configuration Mode

Use the adjacency h323 command in SBE configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
adjacency h323 
h323ToIsp42

(config-sbc-sbe-adj-sip)

SBC Session Initiation Protocol Adjacency Configuration Mode

Use the adjacency sip command in signaling border element (SBE) configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
adjacency sip SipToIsp42

(config-sbc-sbe-auth)

SBC RADIUS Authentication Configuration Mode

Use the radius authentication command in signaling border element (SBE) configuration mode.

(config-sbc-sbe)# radius 
authentication

(config-sbc-sbe-auth-ser)

SBC RADIUS Accounting Server Configuration Mode

Use the server command in RADIUS authentication configuration mode.

(config-sbc-sbe-auth)# 
server castor

(config-sbc-sbe-cacpolicy)

SBC Call Admission Control Policy Configuration Mode

Use the cac-policy-set command in SBE configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
cac-policy-set 1

(config-sbc-sbe-cacpolicy-
cactable)

SBC CAC Table Configuration Mode

Use the cac-policy-table command in CAC policy configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
cac-policy-set 1
(config-sbc-sbe-cacpolicy
)# cac-table MyCacTable

(config-sbc-sbe-cacpolicy-cactable-entry)

SBC CAC Table Entry Configuration Mode

Use the entry command in CAC table configuration mode.

(config-sbc-sbe)# 
cac-policy-set 1 
(config-sbc-sbe-cacpolicy
) # cac-table MyCacTable 
(config-sbc-sbe-cacpolicy
-cactable)# entry 1

(config-sbc-sbe-lclbill)

SBC Local Billing Configuration Mode

Use the billing-local command in SBE configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
billing-local

(config-sbc-sbe-mg)

or

(config-sbc-sbe-media-
gateway)

SBC Media Gateway Configuration Mode

Use the media-gateway command in SBE configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
media-gateway ipv4 
10.0.0.1

(config-sbc-sbe-qos-fax)

Quality of Service FAX Configuration Mode

Use the qos fax residential command in SBC SBE mode.

(config)# sbc MySbc sbe
(config-sbc-sbe)# qos fax 
residential
config-sbc-sbe-qos-fax)# 
marking dscp

(config-sbc-sbe-qos-video)

QoS Video Configuration Mode

Use the qos video residential command in SBC SBE mode.

(config)# sbc MySbc sbe
(config-sbc-sbe)# qos 
video residential
config-sbc-sbe-qos-video)
# marking dscp

(config-sbc-sbe-qos-voice)

QoS Voice Configuration Mode

Use the qos voice residential command in SBC SBE mode.

(config)# sbc MySbc sbe
(config-sbc-sbe)# qos 
voice residential
config-sbc-sbe-qos-voice)
# marking dscp

(config-sbc-sbe-rmtbill)

SBC Remote Billing Configuration Mode

Use the billing-remote command in signaling border element (SBE) configuration mode.

(config)# sbc mySBC sbe
RP/0/RP0/CPU0:router(conf
ig-sbc-sbe)# 
billing-remote

(config-sbc-sbe-rtgpolicy)

SBC SBE Routing Policy Configuration Mode

Use the routing-policy-set command in SBE configuration mode.

(config)# sbc mySBC sbe
(config-sbc-sbe)# 
routing-policy-set 1

(config-sbc-sbe-rtgpolicy-
natable)

SBC Routing Policy Number Analysis Configuration Mode

Use any of the following in SBE routing policy configuration mode:
na-dst-number-table
na-dst-prefix-table
na-src-adjacency-table
na-src-account-table

(config)# sbc mySbc sbe
(config-sbc-sbe)# 
routing-policy-set 1
(config-sbc-sbe-rtgpolicy
)# na-dst-number-table 
MyNaTable

(config-sbc-sbe-rtgpolicy-
natable-entry)

SBC Routing Policy Number Analysis Entry Configuration Mode

Use the entry command in a number analysis table configuration mode. For details, see the SBC Routing Policy Number Analysis Entry Configuration Mode section.

(config)# sbc mySbc sbe
(config-sbc-sbe)# 
routing-policy-set 1
(config-sbc-sbe-rtgpolicy
)# na-dst-prefix-table 
MyNaTable
(config-sbc-sbe-rtgpolicy
-natable)# entry 1

(config-sbc-sbe-rtgpolicy-rtgtable)

SBC Routing Policy Routing Table Configuration Mode

In the routing policy configuration mode, use any of the following commands:

rtg-dst-address-
table

rtg-src-address-
table

rtg-src-adjacency-
table

rtg-src-account-
table

rtg-round-robin-
table

(config)# sbc mySbc sbe
(config-sbc-sbe)# 
routing-policy-set 1
(config-sbc-sbe-rtgpolicy
)# rtg-src-address-table 
MyRtgTable

(config-sbc-sbe-rtgpolicy-
rtgtable-entry)

SBC Routing Policy Routing Table Entry Configuration Mode

Use any of the following commands in routing table configuration mode: