Table Of Contents
set mpls experimental imposition
show controllers vsi control-interface
show controllers vsi descriptor
show interface tunnel configuration
show interface virtual-ethernet
show ip ospf database opaque-area
show ip ospf mpls ldp interface
show ip rsvp hello bfd nbr detail
show ip rsvp hello bfd nbr summary
show ip rsvp hello instance detail
show ip rsvp hello instance summary
show ip rsvp high-availability database
show ip traffic-engineering configuration
sequencing
To configure the direction in which sequencing is enabled for data packets in a Layer 2 pseudowire, use the sequencing command in pseudowire class configuration mode. To remove the sequencing configuration from the pseudowire class, use the no form of this command.
sequencing {transmit | receive | both | resync number}
no sequencing {transmit | receive | both | resync number}
Syntax Description
Command Default
Sequencing is disabled.
Command Modes
Pseudowire class configuration
Command History
Usage Guidelines
When you enable sequencing using any of the available options, the sending of sequence numbers is automatically enabled and the remote provider edge (PE) peer is requested to send sequence numbers. Out-of-order packets received on the pseudowire are dropped only if you use the sequencing receive or sequencing both command.
If you enable sequencing for Layer 2 pseudowires on the Cisco 7500 series routers and you issue the ip cef distributed command, all traffic on the pseudowires is switched through the line cards.
It is useful to specify the resync keyword for situations when the disposition router receives many out-of-order packets. It allows the router to recover from situations where too many out-of-order packets are dropped.
Examples
The following example shows how to enable sequencing in data packets in Layer 2 pseudowires that were created from the pseudowire class named "ether-pw" so that the Sequence Number field is updated in tunneled packet headers for data packets that are both sent and received over the pseudowire:
Router(config)
# pseudowire-class ether-pwRouter(config-pw)
# encapsulation mplsRouter(config-pw)
# sequencing bothThe following example shows how to enable the disposition router to reset packet sequencing after it receives 1000 out-of-order packets:
Router(config)# pseudowire-class ether-pwRouter(config-pw)# encapsulation mplsRouter(config-pw)# sequencing bothRouter(config-pw)# sequencing resync 1000Related Commands
set extcomm-list delete
To allow the deletion of extended community attributes based on an extended community list, use the set extcomm-list delete command in route-map configuration mode. To negate a previous set extcomm-list detect command, use the no form of this command.
set extcomm-list extended-community-list-number delete
no set extcomm-list extended-community-list-number delete
Syntax Description
Command Default
Extended community attributes based on an extended community list cannot be deleted.
Command Modes
Route-map configuration (config-route-map)
Command History
Usage Guidelines
This command removes extended community attributes of an inbound or outbound Border Gateway Protocol (BGP) update using a route map to filter and determine the extended community attribute to be deleted and replaced. Depending upon whether the route map is applied to the inbound or outbound update for a neighbor, each extended community that passes the route map permit clause and matches the given extended community list will be removed and replaced from the extended community attribute being received from or sent to the BGP neighbor.
Examples
The following example shows how to replace a route target 100:3 on an incoming update with a route target of 100:4 using an inbound route map extmap:
...Router(config-af)# neighbor 10.10.10.10 route-map extmap in...Router(config)# ip extcommunity-list 1 permit rt 100:3Router(config)# route-map extmap permit 10Router(config-route-map)# match extcommunity 1Router(config-route-map)# set extcomm-list 1 deleteRouter(config-route-map)# set extcommunity rt 100:4 additiveThe following example shows how to configure more than one replacement rule using the route-map configuration continue command. Prefixes with RT 100:2 are rewritten to RT 200:3 and prefixes with RT 100:4 are rewritten to RT 200:4. With the continue command, route-map evaluation proceeds even if a match is found in a previous sequence.
Router(config)# ip extcommunity-list 1 permit rt 100:3Router(config)# ip extcommunity-list 2 permit rt 100:4Router(config)# route-map extmap permit 10Router(config-route-map)# match extcommunity 1Router(config-route-map)# set extcomm-list 1 deleteRouter(config-route-map)# set extcommunity rt 200:3 additiveRouter(config-route-map)# continue 20Router(config)# route-map extmap permit 20Router(config-route-map)# match extcommunity 2Router(config-route-map)# set extcomm-list 2 deleteRouter(config-route-map)# set extcommunity rt 200:4 additiveRouter(config-route-map)# exitRouter(config)# route-map extmap permit 30Related Commands
set mpls experimental
To set the Multiprotocol Label Switching (MPLS) experimental-bit value, use the set mpls experimental command in QoS policy-map configuration mode. To return to the default settings, use the no form of this command.
set mpls experimental {imposition | topmost} experimental-value
no set mpls experimental {imposition | topmost}
Syntax Description
Defaults
No experimental-bit value is set.
Command Modes
QoS policy-map configuration
Command History
Release Modification12.2(18)SXE
This command was introduced on the Supervisor Engine 720.
12.2(33)SRA
This command was integrated into Cisco IOS Release 12.2(33)SRA.
Usage Guidelines
This command is not supported on systems that are configured with a Supervisor Engine 2.
Examples
This example shows how to set the experimental-bit value on the topmost label on input or output:
Router(config)#policy-map policy1 Router(config-pmap)#
class class1 Router(config-pmap-c)#
set mpls experimental topmost 5
set mpls experimental imposition
To set the value of the Multiprotocol Label Switching (MPLS) experimental (EXP) field on all imposed label entries, use the set mpls experimental imposition command in QoS policy-map class configuration mode. To disable the setting, use the no form of this command.
set mpls experimental imposition {mpls-exp-value | from-field [table table-map-name]}
no set mpls experimental imposition {mpls-exp-value | from-field [table table-map-name]}
Cisco 10000 Series Router
set mpls experimental imposition mpls-exp-value
no set mpls experimental imposition mpls-exp-value
Syntax Description
Defaults
No MPLS EXP value is set.
Command Modes
QoS policy-map class configuration
Command History
Usage Guidelines
The set mpls experimental imposition command is supported only on input interfaces. Use this command during label imposition. This command sets the MPLS EXP field on all imposed label entries.
Using This Command with the Enhanced Packet Marking Feature
If you are using this command as part of the Enhanced Packet Marking feature, you can use this command to specify the "from-field" packet-marking category to be used for mapping and setting the class of service (CoS) value. The "from-field" packet-marking categories are as follows:
•Precedence
•Differentiated services code point (DSCP)
If you specify a "from-field" category but do not specify the table keyword and the applicable table-map-name argument, the default action will be to copy the value associated with the "from-field" category as the MPLS EXP imposition value. For instance, if you configure the set mpls experimental imposition precedence command, the precedence value will be copied and used as the MPLS EXP imposition value.
If you configure the set mpls experimental imposition dscp command, the DSCP value will be copied and used as the MPLS EXP imposition value.
Note If you configure the set mpls experimental imposition dscp command, only the first three bits (the class selector bits) of the DSCP field are used.
Cisco 10000 Series Router
Cisco IOS software replaced the set mpls experimental command with the set mpls experimental imposition command. However, the Cisco 10000 series router continues to use the set mpls experimental command for ESR-PRE1. For ESR-PRE2, the command is set mpls experimental imposition.
Examples
The following example shows how to set the MPLS EXP value to 3 on all imposed label entries:
Router(config-pmap-c)# set mpls experimental imposition 3The following example shows how to create the policy map named policy1 to use the packet-marking values defined in a table map named table-map1. The table map was created earlier with the table-map (value mapping) command. For more information about the table-map (value mapping) command, see the table-map (value mapping) command page. The MPLS EXP imposition value is set according to the DSCP value defined in table-map1.
Router(config)#policy-map policy1 Router(config-pmap)#
class class-default Router(config-pmap-c)#
set mpls experimental imposition dscp table table-map1
Router(config-pmap-c)#exit
Related Commands
set mpls experimental topmost
To set the Multiprotocol Label Switching (MPLS) experimental (EXP) field value in the topmost label on either an input or an output interface, use the set mpls experimental topmost command in QoS policy-map class configuration mode. To disable the setting, use the no form of this command.
set mpls experimental topmost {mpls-exp-value | qos-group [table table-map-name]}
no set mpls experimental topmost {mpls-exp-value | qos-group [table table-map-name]}
Syntax Description
Defaults
No MPLS EXP value is set.
Command Modes
QoS policy-map class configuration
Command History
Usage Guidelines
This command sets the MPLS EXP value only in the topmost label. This command does not affect an IP packet. The MPLS field in the topmost label header is not changed.
Using This Command with the Enhanced Packet Marking Feature
If you are using this command as part of the Enhanced Packet Marking feature, you can use this command to specify the qos-group packet-marking category to be used for mapping and setting the differentiated services code point (DSCP) value.
If you specify the qos-group category but do not specify the table keyword and the applicable table-map-name argument, the default action will be to copy the value associated with the qos-group category as the MPLS EXP topmost value. For instance, if you configure the set mpls experimental topmost qos-group command, the QoS group value will be copied and used as the MPLS EXP topmost value.
The valid value range for the MPLS EXP topmost value is a number from 0 to 7. The valid value range for the QoS group is a number from 0 to 99. Therefore, when configuring the set mpls experimental topmost qos-group command, note the following points:
•If a QoS group value falls within both value ranges (for example, 6), the packet-marking value will be copied and the packets will be marked.
•If a QoS group value exceeds the MPLS EXP topmost range (for example, 10), the packet-marking value will not copied and the packet will not be marked. No action is taken.
Examples
The following example shows how to set the MPLS EXP value to 3 in the topmost label of an input or output interface:
Router(config-pmap)# set mpls experimental topmost 3The following example shows how to create the policy map named policy1 to use the packet-marking values defined in a table map named table-map1. The table map was created earlier with the table-map (value mapping) command. For more information about the table-map (value mapping) command, see the table-map (value mapping) command page.
The following example shows how to set the MPLS EXP value according to the QoS group value defined in table-map1.
Router(config)#policy-map policy1
Router(config-pmap)#class class-default
Router(config-pmap-c)#set mpls experimental topmost qos-group table table-map1
Router(config-pmap-c)#exit
Related Commands
set mpls-label
To enable a route to be distributed with a Multiprotocol Label Switching (MPLS) label if the route matches the conditions specified in the route map, use the set mpls-label command in route-map configuration mode. To disable this function, use the no form of this command.
set mpls-label
no set mpls-label
Syntax Description
This command has no arguments or keywords.
Command Default
No route with an MPLS label is distributed.
Command Modes
Route-map configuration
Command History
Usage Guidelines
This command can be used only with the neighbor route-map out command to manage outbound route maps for a Border Gateway Protocol (BGP) session.
Use the route-map global configuration command with match and set route-map commands to define the conditions for redistributing routes from one routing protocol into another. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria—the conditions under which redistribution is allowed for the current route-map command. The set commands specify the set actions—the particular redistribution actions to perform if the criteria enforced by the match commands are met. The no route-map command deletes the route map.
Examples
The following example shows how to create a route map that enables the route to be distributed with a label if the IP address of the route matches an IP address in ACL1:
Router(config-router)# route-map incoming permit 10Router(config-route-map)# match ip address 1Router(config-route-map)# set mpls-labelRelated Commands
set ospf router-id
To set a separate Open Shortest Path First (OSPF) router ID for each interface or subinterface on a provider edge (PE) router for each directly attached customer edge (CE) router, use the set ospf router-id command in route map configuration mode.
set ospf router-id
Syntax Description
This command has no arguments or keywords.
Defaults
OSPF router ID is not set.
Command Modes
Route map configuration
Command History
Usage Guidelines
To use this command, you must enable OSPF and create a routing process.
Examples
The following example shows how to match the PE router IP address 192.168.0.0 against the interface in access list 1 and set to the OSPF router ID:
router ospf 2 vrfvpn1-site1redistribute bgp 100 metric-type 1 subnetsnetwork 202.0.0.0 0.0.0.255 area 1router bgp 100neighbor 172.19.89. 62 remote-as 100access-list 1 permit 192.168.0.0route-map vpn1-site1-map permit 10match ip address 1set ospf router-idRelated Commands
Command Descriptionrouter ospf
Enables OSPF routing, which places the router in router configuration mode.
set vrf
To enable VPN routing and forwarding (VRF) instance selection within a route map for policy-based routing (PBR) VRF selection, use the set vrf command in route-map configuration mode. To disable VRF selection within a route map, use the no form of this command.
set vrf vrf-name
no set vrf vrf-name
Syntax Description
Command Default
VRF instance selection is not enabled within a route map for policy-based routing VRF selection.
Command Modes
Route-map configuration (config-route-map)
Command History
Usage Guidelines
The set vrf route-map configuration command was introduced with the Multi-VRF Selection Using Policy-Based Routing feature to provide a PBR mechanism for VRF selection. This command enables VRF selection by policy routing packets through a route map. The route map is attached to the incoming interface. The match criteria are defined in an IP access list or in an IP prefix list. The match criteria can also be defined based on the packet length with the match length route map command. The VRF must be defined before you configure this command, and the ip policy route-map interface configuration command must be configured to enable policy routing under the interface or subinterface. If the VRF is not defined or if policy routing is not enabled, an error message will be displayed on the console when you attempt to configure the set vrf command.
Note The set vrf command is not supported in hardware with the IP Services feature set. If this command is configured in IP Services, the packets are software switched. Hardware forwarding with this command in place requires packet circulation and is only supported in the Advanced IP Services feature set, which supports Multiprotocol Label Switching (MPLS).
In Cisco IOS Release 12.2(33)SXI4 on the Cisco Catalyst 6500, IPv6 PBR allows users to override normal destination IPv6 address-based routing and forwarding results. VRF allows multiple routing instances in Cisco IOS software. The PBR feature is VRF-aware, meaning that it works under multiple routing instances, beyond the default or global routing table.
In PBR, the set vrf command decouples the VRF and interface association and allows the selection of a VRF based on the ACL-based classification using the existing PBR or route-map configurations. It provides a single router with multiple routing tables and the ability to select routes based on the ACL classification. The router classifies packets based on ACL, selects a routing table, looks up the destination address, and then routes the packet.
Note The functionality provided by the set vrf and set ip global next-hop commands can also be configured with the set default interface, set interface, set ip default next-hop, and set ip next-hop commands. However, the set vrf and set ip global next-hop commands take precedence over the set default interface, set interface, set ip default next-hop, and set ip next-hop commands. No error message is displayed indicating that VRF is already enabled if you attempt to configure the set vrf command with any of these four set commands.
Examples
The following example shows a route-map sequence that selects and sets a VRF based on the match criteria defined in three different access lists. (The access list configuration is not shown in this example.) If the route map falls through and a match does not occur, the packet will be dropped if the destination is local.
route-map PBR-VRF-Selection permit 10match ip address 40set vrf VRF1!route-map PBR-VRF-Selection permit 20match ip address 50set vrf VRF2!route-map PBR-VRF-Selection permit 30match ip address 60set vrf VRF3Related Commands
show acircuit checkpoint
To display checkpointing information for each attachment circuit (AC), use the show acircuit checkpoint command in privileged EXEC mode.
show acircuit checkpoint
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command is used for interface-based attachment circuits. For Frame Relay and ATM circuits, use the following commands to show redundancy information:
•debug atm ha-error
•debug atm ha-events
•debug atm ha-state
•debug atm l2transport
•debug frame-relay redundancy
Examples
The following show acircuit checkpoint command displays information about the ACs that have been check-pointed. The output varies, depending on whether the command output is for the active or standby Route Processor (RP).
On the active RP, the command displays the following output:
Router# show acircuit checkpoint
AC HA Checkpoint info:Last Bulk Sync: 1 ACsAC IW XC Id VCId Switch Segment St Chkpt---- ---- ---- --- ---- -------- -------- -- -----HDLC LIKE ATOM 3 100 1000 1000 0 NVLAN LIKE ATOM 2 1002 2001 2001 3 YOn the standby RP, the command displays the following output::
Router# show acircuit checkpoint
AC HA Checkpoint info:AC IW XC Id VCId Switch Segment St F-SLP---- ---- ---- --- ---- -------- -------- -- -----HDLC LIKE ATOM 3 100 0 0 0 001VLAN LIKE ATOM 2 1002 2001 2001 2 000Table 6 describes the significant fields shown in the display.
Related Commands
show atm vc
To display all ATM permanent virtual circuits (PVCs), switched virtual circuits (SVCs), and traffic information, use the show atm vc command in privileged EXEC mode.
show atm vc [vcd-number | [range lower-limit-vcd upper-limit-vcd] [interface atm interface-number] [detail [prefix {vpi/vci | vcd | interface | vc_name}]] [connection-name] | signalling [freed-svcs | [cast-type {p2mp | p2p}] [detail] [interface atm interface-number]] | summary atm interface-number]
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
If no value is specified for the vcd argument, the command displays information for all PVCs and SVCs. The output is in summary form (one line per virtual circuit).
VCs on the extended MPLS ATM interfaces do not appear in the show atm vc command output. Instead, the show xtagatm vc command provides a similar output that shows information only on extended MPLS ATM VCs.
Note The SVCs and the signalling keyword are not supported on the Cisco ASR 1000 series routers.
Examples
The following is sample output from the show atm vc command when no value for the vcd argument is specified. The status field is either ACTIVE or IN (inactive).
Router# show atm vcInterface VCD VPI VCI Type AAL/Encaps Peak Avg. Burst StatusATM2/0 1 0 5 PVC AAL5-SAAL 155000 155000 93 ACTIVEATM2/0.4 3 0 32 SVC AAL5-SNAP 155000 155000 93 ACTIVEATM2/0.65432 10 10 10 PVC AAL5-SNAP 100000 40000 10 ACTIVEATM2/0 99 0 16 PVC AAL5-ILMI 155000 155000 93 ACTIVEATM2/0.105 250 33 44 PVC AAL5-SNAP 155000 155000 93 ACTIVEATM2/0.100 300 22 33 PVC AAL5-SNAP 155000 155000 93 ACTIVEATM2/0.12345 2047 255 65535 PVC AAL5-SNAP 56 28 2047 ACTIVEThe following is sample output from the show atm vc command when a vcd value is specified for a circuit emulation service (CES) circuit:
Router# show atm vc 2ATM6/0: VCD: 2, VPI: 10, VCI: 10PeakRate: 2310, Average Rate: 2310, Burst Cells: 94CES-AAL1, etype:0x0, Flags: 0x20138, VCmode: 0x0OAM DISABLEDInARP DISABLEDOAM cells received: 0OAM cells sent: 334272Status: ACTIVEThe following is sample output from the show atm vc command when a vcd value is specified, displaying statistics for that virtual circuit only:
Router# show atm vc 8ATM4/0: VCD: 8, VPI: 8, VCI: 8PeakRate: 155000, Average Rate: 155000, Burst Cells: 0AAL5-LLC/SNAP, etype:0x0, Flags: 0x30, VCmode: 0xE000OAM frequency: 0 second(s)InARP frequency: 1 minute(s)InPkts: 181061, OutPkts: 570499, InBytes: 757314267, OutBytes: 2137187609InPRoc: 181011, OutPRoc: 10, Broadcasts: 570459InFast: 39, OutFast: 36, InAS: 11, OutAS: 6OAM cells received: 0OAM cells sent: 0Status: UPThe following is sample output from the show atm vc command when a vcd value is specified, AAL3/4 is enabled, an ATM Switched Multimegabit Data Service (SMDS) subinterface has been defined, and a range of message identifier numbers (MIDs) has been assigned to the PVC:
Router# show atm vc 1ATM4/0.1: VCD: 1, VPI: 0, VCI: 1PeakRate: 0, Average Rate: 0, Burst Cells: 0AAL3/4-SMDS, etype:0x1, Flags: 0x35, VCmode: 0xE200MID start: 1, MID end: 16InPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0InPRoc: 0, OutPRoc: 0, Broadcasts: 0InFast: 0, OutFast: 0, InAS: 0, OutAS: 0The following is sample output from the show atm vc command when a vcd value is specified and generation of Operation, Administration, and Maintenance (OAM) F5 loopback cells has been enabled:
Router# show atm vc 7ATM4/0: VCD: 7, VPI: 7, VCI: 7PeakRate: 0, Average Rate: 0, Burst Cells: 0AAL5-LLC/SNAP, etype:0x0, Flags: 0x30, VCmode: 0xE000OAM frequency: 10 second(s)InARP DISABLEDInPkts: 0, OutPkts: 0, InBytes: 0, OutBytes: 0InPRoc: 0, OutPRoc: 0, Broadcasts: 0InFast:0, OutFast:0, InAS:0, OutAS:0OAM cells received: 0OAM cells sent: 1Status: UPThe following is sample output from the show atm vc command when a vcd value is specified, and there is an incoming multipoint virtual circuit:
Router# show atm vc 3ATM2/0: VCD: 3, VPI: 0, VCI: 33PeakRate: 0, Average Rate: 0, Burst Cells: 0AAL5-MUX, etype:0x809B, Flags: 0x53, VCmode: 0xE000OAM DISABLEDInARP DISABLEDInPkts: 6646, OutPkts: 0, InBytes: 153078, OutBytes: 0InPRoc: 6646, OutPRoc: 0, Broadcasts: 0InFast: 0, OutFast: 0, InAS: 0, OutAS: 0interface = ATM2/0, call remotely initiated, call reference = 18082vcnum = 3, vpi = 0, vci = 33, state = Activeaal5mux vc, multipoint callRetry count: Current = 0, Max = 10timer currently inactive, timer value = neverRoot Atm Nsap address: DE.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12The following is sample output from the show atm vc command when a vcd value is specified, and there is an outgoing multipoint virtual circuit:
Router# show atm vc 6ATM2/0: VCD: 6, VPI: 0, VCI: 35PeakRate: 0, Average Rate: 0, Burst Cells: 0AAL5-MUX, etype:0x800, Flags: 0x53, VCmode: 0xE000OAM DISABLEDInARP DISABLEDInPkts: 0, OutPkts: 818, InBytes: 0, OutBytes: 37628InPRoc: 0, OutPRoc: 0, Broadcasts: 818InFast: 0, OutFast: 0, InAS: 0, OutAS: 0interface = ATM2/0, call locally initiated, call reference = 3vcnum = 6, vpi = 0, vci = 35, state = Activeaal5mux vc, multipoint callRetry count: Current = 0, Max = 10timer currently inactive, timer value = neverLeaf Atm Nsap address: DE.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12Leaf Atm Nsap address: CD.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12The following is sample output from the show atm vc command when a vcd value is specified and there is a PPP-over-ATM connection:
Router# show atm vc 1ATM8/0.1: VCD: 1, VPI: 41, VCI: 41PeakRate: 155000, Average Rate: 155000, Burst Cells: 96AAL5-CISCOPPP, etype:0x9, Flags: 0xC38, VCmode: 0xE000virtual-access: 1, virtual-template: 1OAM DISABLEDInARP DISABLEDInPkts: 13, OutPkts: 10, InBytes: 198, OutBytes: 156InPRoc: 13, OutPRoc: 10, Broadcasts: 0InFast: 0, OutFast: 0, InAS: 0, OutAS: 0OAM cells received: 0OAM cells sent: 0The following is sample output from the show atm vc command for IP multicast virtual circuits. The display shows the leaf count for multipoint VCs opened by the root. VCD 3 is a root of a multipoint VC with three leaf routers. VCD 4 is a leaf of some other router's multipoint VC. VCD 12 is a root of a multipoint VC with only one leaf router.
Router# show atm vcVCD/ Peak Avg/Min BurstInterface Name VPI VCI Type Encaps Kbps Kbps Cells Sts0/0 1 0 5 PVC SAAL 155000 155000 96 UP0/0 2 0 16 PVC ILMI 155000 155000 96 UP0/0 3 0 124 MSVC-3 SNAP 155000 155000 96 UP0/0 4 0 125 MSVC SNAP 155000 155000 96 UP0/0 5 0 126 MSVC SNAP 155000 155000 96 UP0/0 6 0 127 MSVC SNAP 155000 155000 96 UP0/0 9 0 130 MSVC SNAP 155000 155000 96 UP0/0 10 0 131 SVC SNAP 155000 155000 96 UP0/0 11 0 132 MSVC-3 SNAP 155000 155000 96 UP0/0 12 0 133 MSVC-1 SNAP 155000 155000 96 UP0/0 13 0 134 SVC SNAP 155000 155000 96 UP0/0 14 0 135 MSVC-2 SNAP 155000 155000 96 UP0/0 15 0 136 MSVC-2 SNAP 155000 155000 96 UPThe following is sample output from the show atm vc command for an IP multicast virtual circuit. The display shows the owner of the VC and leaves of the multipoint VC. This VC was opened by IP multicast. The three leaf routers' ATM addresses are included in the display. The VC is associated with IP group address 10.1.1.1.
Router# show atm vc 11ATM0/0: VCD: 11, VPI: 0, VCI: 132PeakRate: 155000, Average Rate: 155000, Burst Cells: 96AAL5-LLC/SNAP, etype:0x0, Flags: 0x650, VCmode: 0xE000OAM DISABLEDInARP DISABLEDInPkts: 0, OutPkts: 12, InBytes: 0, OutBytes: 496InPRoc: 0, OutPRoc: 0, Broadcasts: 12InFast: 0, OutFast: 0, InAS: 0, OutAS: 0OAM cells received: 0OAM cells sent: 0Status: ACTIVE, TTL: 2, VC owner: IP Multicast (10.1.1.1)interface = ATM0/0, call locally initiated, call reference = 2vcnum = 11, vpi = 0, vci = 132, state = Activeaal5snap vc, multipoint callRetry count: Current = 0, Max = 10timer currently inactive, timer value = 00:00:00Leaf Atm Nsap address: 47.0091810000000002BA08E101.444444444444.02Leaf Atm Nsap address: 47.0091810000000002BA08E101.333333333333.02Leaf Atm Nsap address: 47.0091810000000002BA08E101.222222222222.02The following is sample output from the show atm vc command where no VCD is specified and private VCs are present:
Router# show atm vc
AAL / Peak Avg. BurstInterface VCD VPI VCI Type Encapsulation Kbps Kbps Cells StatusATM1/0 1 0 40 PVC AAL5-SNAP 0 0 0 ACTIVEATM1/0 2 0 41 PVC AAL5-SNAP 0 0 0 ACTIVEATM1/0 3 0 42 PVC AAL5-SNAP 0 0 0 ACTIVEATM1/0 4 0 43 PVC AAL5-SNAP 0 0 0 ACTIVEATM1/0 5 0 44 PVC AAL5-SNAP 0 0 0 ACTIVEATM1/0 15 1 32 PVC AAL5-XTAGATM 0 0 0 ACTIVEATM1/0 17 1 34 TVC AAL5-XTAGATM 0 0 0 ACTIVEATM1/0 26 1 43 TVC AAL5-XTAGATM 0 0 0 ACTIVEATM1/0 28 1 45 TVC AAL5-XTAGATM 0 0 0 ACTIVEATM1/0 29 1 46 TVC AAL5-XTAGATM 0 0 0 ACTIVEATM1/0 33 1 50 TVC AAL5-XTAGATM 0 0 0 ACTIVEWhen you specify a VCD value and the VCD corresponds to that of a private VC on a control interface, the display output appears as follows:
Router# show atm vc 15
ATM1/0 33 1 50 TVC AAL5-XTAGATM 0 0 0 ACTIVE ATM1/0: VCD: 15, VPI: 1, VCI: 32, etype:0x8, AAL5 - XTAGATM, Flags: 0xD38PeakRate: 0, Average Rate: 0, Burst Cells: 0, VCmode: 0x0 XTagATM1, VCD: 1, VPI: 0, VCI: 32 OAM DISABLED, InARP DISABLED InPkts: 38811, OutPkts: 38813, InBytes: 2911240, OutBytes: 2968834 InPRoc: 0, OutPRoc: 0, Broadcasts: 0 InFast: 0, OutFast: 0, InAS: 0, OutAS: 0 OAM F5 cells sent: 0, OAM cells received: 0 Status: ACTIVETable 7 describes the fields shown in the displays.
Related Commands
Command Descriptionatm nsap-address
Sets the NSAP address for an ATM interface using SVC mode.
show xtagatm vc
Displays information about the VCs on the extended MPLS ATM interfaces.
show connection
To display the status of interworking connections, use the show connection command in privileged EXEC mode.
show connection [all | element | id startid-[endid]] | name name | port port]
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Examples
The following example shows the local interworking connections on a router:
Router# show connection
ID Name Segment 1 Segment 2 State========================================================================1 conn1 ATM 1/0/0 AAL5 0/100 ATM 2/0/0 AAL5 0/100 UP2 conn2 ATM 2/0/0 AAL5 0/300 Serial0/1 16 UP3 conn3 ATM 2/0/0 AAL5 0/400 FA 0/0.1 10 UP4 conn4 ATM 1/0/0 CELL 0/500 ATM 2/0/0 CELL 0/500 UP5 conn5 ATM 1/0/0 CELL 100 ATM 2/0/0 CELL 100 UPTable 8 describes the significant fields shown in the display.
Related Commands
show controllers vsi control-interface
Note Effective with Cisco IOS Release 12.4(20)T, the show controller vsi control-interface command is not available in Cisco IOS software.
To display information about an ATM interface configured with the tag-control-protocol vsi command to control an external switch (or if an interface is not specified, to display information about all Virtual Switch Interface [VSI] control interfaces), use the show controllers vsi control-interface command in user EXEC or privileged EXEC mode.
show controllers vsi control-interface [interface]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Examples
The following is sample output from the show controllers vsi control-interface command:
Router# show controllers vsi control-interfaceInterface: ATM2/0 Connections: 14The display shows the number of cross-connects currently on the switch that were established by the MPLS LSC through the VSI over the control interface.
Table 10 describes the significant fields shown in the display.
Table 9 show controllers vsi control-interface Field Descriptions
Field DescriptionInterface
The (Cisco IOS) interface name.
Connections
The number of cross connections currently on the switch.
Related Commands
show controllers vsi descriptor
Note Effective with Cisco IOS Release 12.4(20)T, the show controllers vsi descriptor command is not available in Cisco IOS software.
To display information about a switch interface discovered by the Multiprotocol Label Switching (MPLS) Label Switch Controller (LSC) through a Virtual Switch Interface (VSI), or if no descriptor is specified, about all such discovered interfaces, use the show controllers vsi descriptor command in user EXEC or privileged EXEC mode.
show controllers vsi descriptor [descriptor]
Syntax Description
descriptor
(Optional) Physical descriptor. For the Cisco BPX switch, the physical descriptor has the following form: slot.port.0
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Specify an interface by its (switch-supplied) physical descriptor.
Per-interface information includes the following:
•Interface name
•Physical descriptor
•Interface status
•Physical interface state (supplied by the switch)
•Acceptable VPI and VCI ranges
•Maximum cell rate
•Available cell rate (forward/backward)
•Available channels
Similar information is displayed when you enter the show controllers xtagatm privileged EXEC command. However, you must specify a Cisco IOS interface name instead of a physical descriptor.
Examples
The following is sample output from the show controllers vsi descriptor command:
Router# show controllers vsi descriptor 12.2.0Phys desc: 12.2.0Log intf: 0x000C0200 (0.12.2.0)Interface: XTagATM0IF status: up IFC state: ACTIVE Min VPI: 1 Maximum cell rate: 10000 Max VPI: 259 Available channels: 2000 Min VCI: 32 Available cell rate (forward): 10000 Max VCI: 65535 Available cell rate (backward): 10000Table 10 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow controllers xtagatm
Displays information about an extended MPLS ATM interface.
show controllers vsi session
Note Effective with Cisco IOS Release 12.4(20)T, the show controllers vsi session command is not available in Cisco IOS software.
To display information about all sessions with Virtual Switch Interface (VSI) slaves, use the show controllers vsi session command in user EXEC or privileged EXEC mode.
show controllers vsi session [session-number [interface interface]]
Note A session consists of an exchange of VSI messages between the VSI master (the LSC) and a VSI slave (an entity on the switch). There can be multiple VSI slaves for a switch. On the BPX, each port or trunk card assumes the role of a VSI slave.
Syntax Description
session-number
(Optional) Specifies the session number.
interface interface
(Optional) Specifies the VSI control interface.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
If a session number and an interface are specified, detailed information on the individual session is presented. If the session number is specified, but the interface is omitted, detailed information on all sessions with that number is presented. (Only one session can contain a given number, because multiple control interfaces are not supported.)
Examples
The following is sample output from the show controllers vsi session command:
Router# show controllers vsi sessionInterface Session VCD VPI/VCI Switch/Slave Ids Session StateATM0/0 0 1 0/40 0/1 ESTABLISHED ATM0/0 1 2 0/41 0/2 ESTABLISHED ATM0/0 2 3 0/42 0/3 DISCOVERY ATM0/0 3 4 0/43 0/4 RESYNC-STARTING ATM0/0 4 5 0/44 0/5 RESYNC-STOPPING ATM0/0 5 6 0/45 0/6 RESYNC-UNDERWAY ATM0/0 6 7 0/46 0/7 UNKNOWN ATM0/0 7 8 0/47 0/8 UNKNOWN ATM0/0 8 9 0/48 0/9 CLOSING ATM0/0 9 10 0/49 0/10 ESTABLISHED ATM0/0 10 11 0/50 0/11 ESTABLISHED ATM0/0 11 12 0/51 0/12 ESTABLISHED
Table 11 describes the significant fields shown in the display.
In the following example, session number 9 is specified with the show controllers vsi session command:
Router# show controllers vsi session 9Interface: ATM1/0 Session number: 9VCD: 10 VPI/VCI: 0/49Switch type: BPX Switch id: 0Controller id: 1 Slave id: 10Keepalive timer: 15 Powerup session id: 0x0000000ACfg/act retry timer: 8/8 Active session id: 0x0000000AMax retries: 10 Ctrl port log intf: 0x000A0100Trap window: 50 Max/actual cmd wndw: 21/21Trap filter: all Max checksums: 19Current VSI version: 1 Min/max VSI version: 1/1Messages sent: 2502 Inter-slave timer: 4.000Messages received: 2502 Messages outstanding: 0
Table 12 describes the significant fields shown in the display.
Related Commands
show controllers vsi status
Note Effective with Cisco IOS Release 12.4(20)T, the show controllers vsi status command is not available in Cisco IOS software.
To display a one-line summary of each Virtual Switch Interface (VSI)-controlled interface, use the show controllers vsi status command in user EXEC or privileged EXEC mode.
show controllers vsi status
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
If an interface is discovered by the LSC, but no extended Multiprotocol Label Switching (MPLS) ATM interface is associated with it through the extended-port command, then the interface name is marked <unknown>, and interface status is marked n/a.
Examples
The following is sample output from the show controllers vsi status command:
Router# show controllers vsi statusInterface Name IF Status IFC State Physical Descriptor switch control port n/a ACTIVE 12.1.0 XTagATM0 up ACTIVE 12.2.0 XTagATM1 up ACTIVE 12.3.0 <unknown> n/a FAILED-EXT 12.4.0Table 13 describes the significant fields shown in the display.
show controllers vsi traffic
Note Effective with Cisco IOS Release 12.4(20)T, the show controllers vsi traffic command is not available in Cisco IOS software.
To display traffic information about Virtual Switch Interface (VSI)-controlled interfaces, VSI sessions, or virtual circuits (VCs) on VSI-controlled interfaces, use the show controllers vsi traffic command in user EXEC or privileged EXEC mode.
show controllers vsi traffic {descriptor descriptor | session session-number | vc [descriptor descriptor [vpi vci]]}
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Release Modification12.0(5)T
This command was introduced.
12.2(4)T
The VPI range of values was extended to 4095.
12.4(20)T
This command was removed.
Usage Guidelines
If none of the keywords is specified, traffic for all interfaces is displayed. You can specify a single interface by its (switch-supplied) physical descriptor. For the BPX switch, the physical descriptor has the form
slot.port. 0
If a session number is specified, the output displays VSI protocol traffic by message type. The VC traffic display is also displayed by the show xmplsatm vc cross-connect traffic descriptor command.
Examples
The following is sample output from the show controllers vsi traffic command:
Router# show controllers vsi trafficPhys desc: 10.1.0Interface: switch control portIF status: n/aRx cells: 304250 Rx cells discarded: 0Tx cells: 361186 Tx cells discarded: 0Rx header errors: 4294967254 Rx invalid addresses (per card): 80360Last invalid address: 0/53Phys desc: 10.2.0Interface: XTagATM0IF status: upRx cells: 202637 Rx cells discarded: 0Tx cells: 194979 Tx cells discarded: 0Rx header errors: 4294967258 Rx invalid addresses (per card): 80385Last invalid address: 0/32Phys desc: 10.3.0Interface: XTagATM1IF status: upRx cells: 182295 Rx cells discarded: 0Tx cells: 136369 Tx cells discarded: 0Rx header errors: 4294967262 Rx invalid addresses (per card): 80372Last invalid address: 0/32Table 14 describes the significant fields shown in the display.
The following sample output is displayed when you enter the show controllers vsi traffic session 9 command:
Router# show controllers vsi traffic session 9Sent ReceivedSw Get Cnfg Cmd: 3656 Sw Get Cnfg Rsp: 3656Sw Cnfg Trap Rsp: 0 Sw Cnfg Trap: 0Sw Set Cnfg Cmd: 1 Sw Set Cnfg Rsp: 1Sw Start Resync Cmd: 1 Sw Start Resync Rsp: 1Sw End Resync Cmd: 1 Sw End Resync Rsp: 1Ifc Getmore Cnfg Cmd: 1 Ifc Getmore Cnfg Rsp: 1Ifc Cnfg Trap Rsp: 4 Ifc Cnfg Trap: 4Ifc Get Stats Cmd: 8 Ifc Get Stats Rsp: 8Conn Cmt Cmd: 73 Conn Cmt Rsp: 73Conn Del Cmd: 50 Conn Del Rsp: 0Conn Get Stats Cmd: 0 Conn Get Stats Rsp: 0Conn Cnfg Trap Rsp: 0 Conn Cnfg Trap: 0Conn Bulk Clr Stats Cmd: 0 Conn Bulk Clr Stats Rsp: 0Gen Err Rsp: 0 Gen Err Rsp: 0unused: 0 unused: 0unknown: 0 unknown: 0TOTAL: 3795 TOTAL: 3795Table 15 describes the significant fields shown in the display.
show controllers xtagatm
Note Effective with Cisco IOS Release 12.4(20)T, the show controllers xtagatm command is not available in Cisco IOS software.
To display information about an extended Multiprotocol Label Switching (MPLS) ATM interface controlled through the Virtual Switch Interface (VSI) protocol (or, if an interface is not specified, to display information about all extended MPLS ATM interfaces controlled through the VSI protocol), use the show controllers xtagatm command in user EXEC or privileged EXEC mode.
show controllers xtagatm if-number
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Per-interface information includes the following:
•Interface name
•Physical descriptor
•Interface status
•Physical interface state (supplied by the switch)
•Acceptable VPI and VCI ranges
•Maximum cell rate
•Available cell rate (forward/backward)
•Available channels
Similar information appears if you enter the show controllers vsi descriptor command. However, you must specify an interface by its (switch-supplied) physical descriptor, instead of its Cisco IOS interface name. For the Cisco BPX switch, the physical descriptor has the form slot.port.0.
Examples
In this example, the sample output is from the show controllers xtagatm command specifying interface 0:
Router# show controllers xtagatm 0Interface XTagATM0 is up Hardware is Tag-Controlled ATM Port (on BPX switch BPX-VSI1) Control interface ATM1/0 is up Physical descriptor is 10.2.0 Logical interface 0x000A0200 (0.10.2.0) Oper state ACTIVE, admin state UP VPI range 1-255, VCI range 32-65535 VPI is not translated at end of link Tag control VC need not be strictly in VPI/VCI range Available channels: ingress 30, egress 30 Maximum cell rate: ingress 300000, egress 300000 Available cell rate: ingress 300000, egress 300000 Endpoints in use: ingress 7, egress 8, ingress/egress 1 Rx cells 134747 rx cells discarded 0, rx header errors 0 rx invalid addresses (per card): 52994 last invalid address 0/32 Tx cells 132564 tx cells discarded: 0Table 16 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow controllers vsi descriptor
Displays information about a switch interface discovered by the MPLS LSC through the VSI.
show interface tunnel configuration
To display the configuration of a mesh tunnel interface, use the show interface tunnel configuration command in privileged EXEC mode.
show interface tunnel num configuration
Syntax Description
Command Modes
Privileged EXEC (#)
Command History
Usage Guidelines
The space before the num argument is optional.
Use this command to show the running configuration of the mesh tunnel interface.
Examples
The following command output shows the configuration of mesh tunnel interface 5:
Router# show interface tunnel 5 configurationinterface tunnel 5ip unnumbered Loopback0no ip directed-broadcastno keepalivetunnel destination access-list 1tunnel mode mpls traffic-engtunnel mpls traffic-eng autoroute announcetunnel mpls traffic-eng path-option 1 dynamicTable 17 describes the significant fields shown in the display.
Related Commands
Command Descriptiontunnel destination access-list
Specifies the access list that the template interface will use for obtaining the mesh tunnel interface destination address.
show interface virtual-ethernet
To display status and information about a virtual Ethernet interface, use the show interface virtual-ethernet command in user privileged EXEC mode.
show interface virtual-ethernet num [switchport | transport]
Syntax Description
num
The number of the virtual interface.
switchport
Show virtual Ethernet instance switchport information.
transport
Show virtual Ethernet instance transport information.
Command Modes
Privileged EXEC (#)
Command History
Examples
The following example shows transport information for virtual Ethernet interface 1:
Router# show interface virtual-ethernet 1 transport
VLAN Transport type for the V-E instance: VPLS Mesh11 VPLS domains provisioned for this V-E instanceVFI names : VFI[45-55]_The following example shows switchport information for virtual Ethernet interface 1:Router# show interface virtual-ethernet 1 switchport
Name: VE1Switchport: EnabledAdministrative Mode: trunkOperational Mode: upAdministrative Trunking Encapsulation: dot1qNegotiation of Trunking: OffTrunking VLANs Enabled: 100,200Related Commands
show interface xtagatm
Note Effective with Cisco IOS Release 12.4(20)T, the show interface xtagatm command is not available in Cisco IOS software.
To display information about an extended Multiprotocol Label Switching (MPLS) ATM interface, use the show interface xtagatm command in user EXEC or privileged EXEC mode.
show interface xtagatm if-number
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Release Modification12.0(5)T
This command was introduced.
12.3T
Sample command output was added for when an interface is down.
12.4(20)T
This command was removed.
Usage Guidelines
Extended MPLS ATM interfaces are virtual interfaces that are created on first reference like tunnel interfaces. Extended MPLS ATM interfaces are similar to ATM interfaces except that the former only supports LC-ATM encapsulation.
Examples
The following is sample command output when an interface is down:
Router# show interface xt92XTagATM92 is down, line protocol is downHardware is Tag-Controlled Switch PortInterface is unnumbered. Using address of Loopback1 (15.15.15.15)MTU 4470 bytes, BW 4240 Kbit, DLY 80 used,reliability 186/255, txload 1/255, rxload 1/255Encapsulation ATM, loopback not setKeepalive set (10 sec) [00:00:08/4]Encapsulation(s): AAL5Control interface: not configured0 terminating VCsSwitch port traffic:? cells input, ? cells outputLast input 00:00:10, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: fifoOutput queue: 0/0 (size/max)Terminating traffic:5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec138 packets input, 9193 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 i00:05:46: %SYS-5-CONFIG_I: Configured from console by consolegnored, 0 abort142 packets output, 19686 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 output buffer failures, 0 output buffers swapped outThe following is sample command output when an interface is up:
Router# show interface xt92XTagATM92 is up, line protocol is upHardware is Tag-Controlled Switch PortInterface is unnumbered. Using address of Loopback1 (15.15.15.15)MTU 4470 bytes, BW 4240 Kbit, DLY 80 used,reliability 174/255, txload 1/255, rxload 1/255Encapsulation ATM, loopback not setKeepalive set (10 sec)Encapsulation(s): AAL5Control interface: ATM3/0, switch port: bpx 9.23 terminating VCs, 7 switch cross-connectsSwitch port traffic:275 cells input, 273 cells outputLast input 00:00:00, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: fifoOutput queue: 0/0 (size/max)Terminating traffic:5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec127 packets input, 8537 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort131 packets output, 18350 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 output buffer failures, 0 output buffers swapped out
Table 18 describes the significant fields shown in the displays.
Related Commands
Command Descriptioninterface xtagatm
Enters configuration mode for an extended MPLS ATM (XTagATM) interface.
show ip bgp labels
To display information about Multiprotocol Label Switching (MPLS) labels from the external Border Gateway Protocol (eBGP) route table, use the show ip bgp labels command in privileged EXEC mode.
show ip bgp labels
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use this command to display eBGP labels associated with an Autonomous System Boundary Router (ASBR).
This command displays labels for BGP routes in the default table only. To display labels in the Virtual Private Network (VPN) routing and forwarding (VRF) tables, use the show ip bgp vpnv4 {all | vrf vrf-name} command with the optional labels keyword.
Examples
The following example shows output for an ASBR using BGP as a label distribution protocol:
Router# show ip bgp labelsNetwork Next Hop In Label/Out Label10.3.0.0/16 0.0.0.0 imp-null/exp-null10.15.15.15/32 10.15.15.15 18/exp-null10.16.16.16/32 0.0.0.0 imp-null/exp-null10.17.17.17/32 10.0.0.1 20/exp-null10.18.18.18/32 10.0.0.1 24/3110.18.18.18/32 10.0.0.1 24/33Table 19 describes the significant fields shown in the display.
Related Commands
show ip bgp neighbors
To display information about Border Gateway Protocol (BGP) and TCP connections to neighbors, use the show ip bgp neighbors command in user or privileged EXEC mode.
show ip bgp neighbors [ip-address [advertised-routes | dampened-routes | flap-statistics |
paths [reg-exp] | received prefix-filter | received-routes | routes | policy [detail]]]Syntax Description
Command Default
The output of this command displays information for all neighbors.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use the show ip bgp neighbors command to display BGP and TCP connection information for neighbor sessions. For BGP, this includes detailed neighbor attribute, capability, path, and prefix information. For TCP, this includes statistics related to BGP neighbor session establishment and maintenance.
Prefix activity is displayed based on the number of prefixes that are advertised and withdrawn. Policy denials display the number of routes that were advertised but then ignored based on the function or attribute that is displayed in the output.
Cisco IOS Releases 12.0(25)S, 12.4(11)T, 12.2(33)SRB, and Later Releases
When BGP neighbors use multiple levels of peer templates, it can be difficult to determine which policies are applied to the neighbor.
In Cisco IOS Releases 12.0(25)S, 12.4(11)T, 12.2(33)SRB and later releases, the policy and detail keywords were added to display the inherited policies and the policies configured directly on the specified neighbor. Inherited policies are policies that the neighbor inherits from a peer-group or a peer-policy template.
Examples
Example output is different for the various keywords available for the show ip bgp neighbors command. Examples using the various keywords appear in the following sections:
•show ip bgp neighbors: Example
•show ip bgp neighbors advertised-routes: Example
•show ip bgp neighbors paths: Example
•show ip bgp neighbors received prefix-filter: Example
•show ip bgp neighbors policy: Example
•Cisco IOS Release 12.0(31)S and 12.4(4)T: Example
•Cisco IOS Release 12.2(33)SRA: Example
•Cisco IOS Release 12.2(33)SXH: Example
show ip bgp neighbors: Example
The following example shows output for the BGP neighbor at 10.108.50.2. This neighbor is an internal BGP (iBGP) peer. This neighbor supports the route refresh and graceful restart capabilities.
Router# show ip bgp neighbors 10.108.50.2
BGP neighbor is 10.108.50.2, remote AS 1, internal linkBGP version 4, remote router ID 192.168.252.252BGP state = Established, up for 00:24:25Last read 00:00:24, last write 00:00:24, hold time is 180, keepalive interval is 60 secondsNeighbor capabilities:Route refresh: advertised and received(old & new)MPLS Label capability: advertised and receivedGraceful Restart Capability:advertised and receivedAddress family IPv4 Unicast: advertised and receivedMessage statistics:InQ depth is 0OutQ depth is 0Sent RcvdOpens: 3 3Notifications: 0 0Updates: 0 0Keepalives: 113 112Route Refresh: 0 0Total: 116 115Default minimum time between advertisement runs is 5 secondsFor address family: IPv4 UnicastBGP table version 1, neighbor version 1/0Output queue size : 0Index 1, Offset 0, Mask 0x21 update-group memberSent RcvdPrefix activity: ---- ----Prefixes Current: 0 0Prefixes Total: 0 0Implicit Withdraw: 0 0Explicit Withdraw: 0 0Used as bestpath: n/a 0Used as multipath: n/a 0Outbound InboundLocal Policy Denied Prefixes: -------- -------Total: 0 0Number of NLRIs in the update sent: max 0, min 0Connections established 3; dropped 2Last reset 00:24:26, due to Peer closed the sessionExternal BGP neighbor may be up to 2 hops away.Connection state is ESTAB, I/O status: 1, unread input bytes: 0Connection is ECN DisabledLocal host: 10.108.50.1, Local port: 179Foreign host: 10.108.50.2, Foreign port: 42698Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)Event Timers (current time is 0x68B944):Timer Starts Wakeups NextRetrans 27 0 0x0TimeWait 0 0 0x0AckHold 27 18 0x0SendWnd 0 0 0x0KeepAlive 0 0 0x0GiveUp 0 0 0x0PmtuAger 0 0 0x0DeadWait 0 0 0x0iss: 3915509457 snduna: 3915510016 sndnxt: 3915510016 sndwnd: 15826irs: 233567076 rcvnxt: 233567616 rcvwnd: 15845 delrcvwnd: 539SRTT: 292 ms, RTTO: 359 ms, RTV: 67 ms, KRTT: 0 msminRTT: 12 ms, maxRTT: 300 ms, ACK hold: 200 msFlags: passive open, nagle, gen tcbsIP Precedence value : 6Datagrams (max data segment is 1460 bytes):Rcvd: 38 (out of order: 0), with data: 27, total data bytes: 539Sent: 45 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 08Table 20 describes the significant fields shown in the display. Fields that are preceded by the asterisk character (*) are displayed only when the counter has a nonzero value.
show ip bgp neighbors advertised-routes: Example
The following example displays routes advertised for only the 172.16.232.178 neighbor:
Router# show ip bgp neighbors 172.16.232.178 advertised-routes
BGP table version is 27, local router ID is 172.16.232.181Status codes: s suppressed, d damped, h history, * valid, > best, i - internalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight Path*>i10.0.0.0 172.16.232.179 0 100 0 ?*> 10.20.2.0 10.0.0.0 0 32768 iTable 21 describes the significant fields shown in the display.
show ip bgp neighbors paths: Example
The following is example output from the show ip bgp neighbors command entered with the paths keyword:
Router# show ip bgp neighbors 172.29.232.178 paths ^10Address Refcount Metric Path0x60E577B0 2 40 10 ?Table 22 describes the significant fields shown in the display.
show ip bgp neighbors received prefix-filter: Example
The following example shows that a prefix-list that filters all routes in the 10.0.0.0 network has been received from the 192.168.20.72 neighbor:
Router# show ip bgp neighbors 192.168.20.72 received prefix-filterAddress family:IPv4 Unicastip prefix-list 192.168.20.72:1 entriesseq 5 deny 10.0.0.0/8 le 32Table 23 describes the significant fields shown in the display.
show ip bgp neighbors policy: Example
The following sample output shows the policies applied to the neighbor at 192.168.1.2. The output displays both inherited policies and policies configured on the neighbor device. Inherited polices are policies that the neighbor inherits from a peer-group or a peer-policy template.
Router# show ip bgp neighbors 192.168.1.2 policyNeighbor: 192.168.1.2, Address-Family: IPv4 UnicastLocally configured policies:route-map ROUTE inInherited polices:prefix-list NO-MARKETING inroute-map ROUTE inweight 300maximum-prefix 10000Cisco IOS Release 12.0(31)S and 12.4(4)T: Example
The following is sample output from the show ip bgp neighbors command that verifies that Bidirectional Forwarding Detection (BFD) is being used to detect fast fallover for the BGP neighbor that is a BFD peer.
Router# show ip bgp neighborsBGP neighbor is 172.16.10.2, remote AS 45000, external link...Using BFD to detect fast falloverCisco IOS Release 12.2(33)SRA: Example
The following is sample output from the show ip bgp neighbors command that verifies that BGP TCP path maximum transmission unit (MTU) discovery is enabled for the BGP neighbor at 172.16.1.2.
Router# show ip bgp neighbors 172.16.1.2BGP neighbor is 172.16.1.2, remote AS 45000, internal linkBGP version 4, remote router ID 172.16.1.99...For address family: IPv4 UnicastBGP table version 5, neighbor version 5/0...Address tracking is enabled, the RIB does have a route to 172.16.1.2Address tracking requires at least a /24 route to the peerConnections established 3; dropped 2Last reset 00:00:35, due to Router ID changedTransport(tcp) path-mtu-discovery is enabled...SRTT: 146 ms, RTTO: 1283 ms, RTV: 1137 ms, KRTT: 0 msminRTT: 8 ms, maxRTT: 300 ms, ACK hold: 200 msFlags: higher precedence, retransmission timeout, nagle, path mtu capableCisco IOS Release 12.2(33)SXH: Example
The following is sample output from the show ip bgp neighbors command that verifies that the neighbor 192.168.3.2 is a member of the peer group, group192, and belongs to the subnet range group 192.168.0.0/16, which shows that this BGP neighbor was dynamically created.
Router# show ip bgp neighbors 192.168.3.2BGP neighbor is *192.168.3.2, remote AS 50000, external linkMember of peer-group group192 for session parametersBelongs to the subnet range group: 192.168.0.0/16BGP version 4, remote router ID 192.168.3.2BGP state = Established, up for 00:06:35Last read 00:00:33, last write 00:00:25, hold time is 180, keepalive intervalsNeighbor capabilities:Route refresh: advertised and received(new)Address family IPv4 Unicast: advertised and receivedMessage statistics:InQ depth is 0OutQ depth is 0Sent RcvdOpens: 1 1Notifications: 0 0Updates: 0 0Keepalives: 7 7Route Refresh: 0 0Total: 8 8Default minimum time between advertisement runs is 30 secondsFor address family: IPv4 UnicastBGP table version 1, neighbor version 1/0Output queue size : 0Index 1, Offset 0, Mask 0x21 update-group membergroup192 peer-group member...Related Commands
show ip bgp vpnv4
To display Virtual Private Network Version 4 (VPNv4) address information from the Border Gateway Protocol (BGP) table, use the show ip bgp vpnv4 command in user EXEC or privileged EXEC mode.
show ip bgp vpnv4 {all | rd route-distinguisher | vrf vrf-name} [rib-failure] [ip-prefix/length [longer-prefixes]] [network-address [mask] [longer-prefixes]] [cidr-only] [community] [community-list] [dampened-paths] [filter-list] [flap-statistics] [inconsistent-as] [neighbors] [paths [line]] [peer-group] [quote-regexp] [regexp] [summary] [labels]
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use this command to display VPNv4 information from the BGP database. The show ip bgp vpnv4 all command displays all available VPNv4 information. The show ip bgp vpnv4 all summary command displays BGP neighbor status. The show ip bgp vpnv4 all labels command displays explicit-null label information.
Examples
The following example shows all available VPNv4 information in a BGP routing table:
Router# show ip bgp vpnv4 allBGP table version is 18, local router ID is 10.14.14.14Status codes: s suppressed, d damped, h history, * valid, > best, i - internalOrigin codes: i - IGP, e - EGP,? - incompleteNetwork Next Hop Metric LocPrf Weight PathRoute Distinguisher: 1:101 (default for vrf vpn1)*>i10.6.6.6/32 10.0.0.21 11 100 0 ?*> 10.7.7.7/32 10.150.0.2 11 32768 ?*>i10.69.0.0/30 10.0.0.21 0 100 0 ?*> 10.150.0.0/24 0.0.0.0 0 32768 ?Table 24 describes the significant fields shown in the display.
The following example shows how to display a table of labels for NLRI prefixes that have a route distinguisher value of 100:1.
Router# show ip bgp vpnv4 rd 100:1 labelsNetwork Next Hop In label/Out labelRoute Distinguisher: 100:1 (vrf1)10.0.0.0 10.20.0.60 34/nolabel10.0.0.0 10.20.0.60 35/nolabel10.0.0.0 10.20.0.60 26/nolabel10.20.0.60 26/nolabel10.0.0.0 10.15.0.15 nolabel/26Table 25 describes the significant fields shown in the display.
The following example shows VPNv4 routing entries for the VRF named vpn1:
Router# show ip bgp vpnv4 vrf vpn1BGP table version is 18, local router ID is 10.14.14.14Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,r RIB-failure, S Stale, m multipath, b backup-path, x best-externalOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight PathRoute Distinguisher: 100:1 (default for vrf test1)*> 10.1.1.1/32 192.168.1.1 0 0 100 i*bi 10.4.4.4 0 100 0 100 i*> 10.2.2.2/32 192.168.1.1 0 100 i*bi 10.4.4.4 0 100 0 100 i*> 172.16.1.0/24 192.168.1.1 0 0 100 i* i 10.4.4.4 0 100 0 100 ir> 192.168.1.0 192.168.1.1 0 0 100 irbi 10.4.4.4 0 100 0 100 i*> 192.168.3.0 192.168.1.1 0 100 i*bi 10.4.4.4 0 100 0 100 iTable 26 describes the significant fields shown in the display.
The following example shows attributes for network 192.168.9.0 that include multipaths, best path, and a recursive-via-host flag:
Router# show ip bgp vpnv4 vrf vpn1 192.168.9.0 255.255.255.0BGP routing table entry for 100:1:192.168.9.0/24, version 44Paths: (2 available, best #2, table test1)Additional-pathAdvertised to update-groups:2100, imported path from 400:1:192.168.9.0/2410.8.8.8 (metric 20) from 10.5.5.5 (10.5.5.5)Origin IGP, metric 0, localpref 100, valid, internal, backup/repairExtended Community: RT:100:1 RT:200:1 RT:300:1 RT:400:1Originator: 10.8.8.8, Cluster list: 10.5.5.5 , recursive-via-hostmpls labels in/out nolabel/17100, imported path from 300:1:192.168.9.0/2410.7.7.7 (metric 20) from 10.5.5.5 (10.5.5.5)Origin IGP, metric 0, localpref 100, valid, internal, bestExtended Community: RT:100:1 RT:200:1 RT:300:1 RT:400:1Originator: 10.7.7.7, Cluster list: 10.5.5.5 , recursive-via-hostmpls labels in/out nolabel/17Table 27 describes the significant fields shown in the display.
The following example shows routes that BGP could not install in the VRF table:
Router# show ip bgp vpnv4 vrf xyz rib-failureNetwork Next Hop RIB-failure RIB-NH MatchesRoute Distinguisher: 2:2 (default for vrf bar)10.1.1.2/32 10.100.100.100 Higher admin distance No10.111.111.112/32 10.9.9.9 Higher admin distance YesTable 28 describes the significant fields shown in the display.
The following example shows the information displayed on the active and standby Route Processors when they are configured for NSF/SSO: MPLS VPN.
Note In Cisco IOS Release 12.2(33)SXH, the Cisco IOS Software Modularity: MPLS Layer 3 VPNs feature incurred various infrastructure changes. The result of those changes affects the output of this command on the standby Route Processor (RP). In Cisco IOS Release 12.2(33)SXH, the standby RP does not display any output from the show ip bgp vpnv4 command.
Active Route Processor
Router# show ip bgp vpnv4 all labels
Network Next Hop In label/Out labelRoute Distinguisher: 100:1 (vpn1)10.12.12.12/32 0.0.0.0 16/aggregate(vpn1)10.0.0.0/8 0.0.0.0 17/aggregate(vpn1)Route Distinguisher: 609:1 (vpn0)10.13.13.13/32 0.0.0.0 18/aggregate(vpn0)Router# show ip bgp vpnv4 vrf vpn1 labels
Network Next Hop In label/Out labelRoute Distinguisher: 100:1 (vpn1)10.12.12.12/32 0.0.0.0 16/aggregate(vpn1)10.0.0.0/8 0.0.0.0 17/aggregate(vpn1)Standby Route Processor
Router# show ip bgp vpnv4 all labels
Network Masklen In labelRoute Distinguisher: 100:110.12.12.12 /32 1610.0.0.0 /8 17Route Distinguisher: 609:110.13.13.13 /32 18Router# show ip bgp vpnv4 vrf vpn1 labels
Network Masklen In labelRoute Distinguisher: 100:110.12.12.12 /32 1610.0.0.0 /8 17Table 29 describes the significant fields shown in the display.
The following example displays output, including the explicit-null label, from the show ip bgp vpnv4 all labels command on a CSC-PE router:
Router# show ip bgp vpnv4 all labelsNetwork Next Hop In label/Out labelRoute Distinguisher: 100:1 (v1)10.0.0.0/24 10.0.0.0 19/aggregate(v1)10.0.0.1/32 10.0.0.0 20/nolabel10.1.1.1/32 10.0.0.0 21/aggregate(v1)10.10.10.10/32 10.0.0.1 25/exp-null10.168.100.100/3210.0.0.1 23/exp-null10.168.101.101/3210.0.0.1 22/exp-nullTable 30 describes the significant fields shown in the display.
The following example displays separate router IDs for each VRF in the output from an image in Cisco IOS Release 12.2(31)SB2, 12.2(33)SRA, 12.2(33)SXH, 12.4(20)T, Cisco IOS XE Release 2.1, and later releases with the Per-VRF Assignment of BGP Router ID feature configured. The router ID is shown next to the VRF name.
Router# show ip bgp vpnv4 allBGP table version is 5, local router ID is 172.17.1.99Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,r RIB-failure, S StaleOrigin codes: i - IGP, e - EGP, ? - incompleteNetwork Next Hop Metric LocPrf Weight PathRoute Distinguisher: 1:1 (default for vrf vrf_trans) VRF Router ID 10.99.1.2*> 192.168.4.0 0.0.0.0 0 32768 ?Route Distinguisher: 42:1 (default for vrf vrf_user) VRF Router ID 10.99.1.1*> 192.168.5.0 0.0.0.0 0 32768 ?Table 31 describes the significant fields shown in the display.
In this example, the BGP Event-Based VPN Import feature is configured in Cisco IOS Release 15.0(1)M, 12.2(33)SRE, and later releases. When the import path selection command is configured, but the strict keyword is not included, then a safe import path selection policy is in effect. When a path is imported as the best available path (when the bestpath or multipaths are not eligible for import), the imported path includes the wording "imported safety path," as shown in the output.
Router# show ip bgp vpnv4 all 172.17.0.0BGP routing table entry for 45000:1:172.17.0.0/16, version 10Paths: (1 available, best #1, table vrf-A)Flag: 0x820Not advertised to any peer2, imported safety path from 50000:2:172.17.0.0/1610.0.101.1 from 10.0.101.1 (10.0.101.1)Origin IGP, metric 200, localpref 100, valid, internal, bestExtended Community: RT:45000:100In this example the BGP Event-Based VPN Import feature is configured in Cisco IOS Release 15.0(1)M, 12.2(33)SRE, and later releases. When the import path selection command is configured with the all keyword, any path that matches an RD of the specified VRF will be imported, even though the path does not match the RTs imported by the specified VRF. In this situation, the imported path is marked as "not-in-vrf" as shown in the output. Note that on the net for vrf-A, this path is not the bestpath as any paths that are not in the VRFs appear less attractive than paths in the VRF.
Router# show ip bgp vpnv4 all 172.17.0.0BBGP routing table entry for 45000:1:172.17.0.0/16, version 11Paths: (2 available, best #2, table vrf-A)Flag: 0x820Not advertised to any peer210.0.101.2 from 10.0.101.2 (10.0.101.2)Origin IGP, metric 100, localpref 100, valid, internal, not-in-vrfExtended Community: RT:45000:200mpls labels in/out nolabel/16210.0.101.1 from 10.0.101.1 (10.0.101.1)Origin IGP, metric 50, localpref 100, valid, internal, bestExtended Community: RT:45000:100mpls labels in/out nolabel/16
Related Commands
show ip explicit-paths
To display the configured IP explicit paths, use the show ip explicit-paths command in user EXEC or privileged EXEC mode.
show ip explicit-paths [name pathname | identifier number] [detail]
Syntax Description
Command Default
If you enter the command without entering an optional keyword, all configured IP explicit paths are displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
An IP explicit path is a list of IP addresses, each representing a node or link in the explicit path.
Examples
The following is sample output from the show ip explicit-paths command:
Router# show ip explicit-pathsPATH 200 (strict source route, path complete, generation 6)1: next-address 10.3.28.32: next-address 10.3.27.3Table 32 describes the significant fields shown in the display.
Related Commands
show ip multicast mpls vif
To display the virtual interfaces (VIFs) that are created on the Multiprotocol Label Switching (MPLS) traffic engineering (TE) point-to-multipoint (P2MP) tailend router, use the show ip multicast mpls vif command in privileged EXEC mode.
show ip multicast mpls vif
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC (#)
Command History
Examples
The following example shows information about the virtual interfaces:
Router# show ip multicast mpls vif
Interface Next-hop Application Ref-Count Table / VRF nameLspvif0 10.1.0.1 Traffic-eng 1 defaultLspvif4 10.2.0.1 Traffic-eng 1 defaultTable 33 describes the significant fields shown in the display.
Related Commands
show ip ospf database opaque-area
To display lists of information related to traffic engineering opaque link-state advertisements (LSAs), also known as Type-10 opaque link area link states, use the show ip ospf database opaque-area command in user EXEC or privileged EXEC mode.
show ip ospf database opaque-area
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip ospf database opaque-area command:
Router# show ip ospf database opaque-areaOSPF Router with ID (10.3.3.3) (Process ID 1)Type-10 Opaque Link Area Link States (Area 0)LS age: 12Options: (No TOS-capability, DC)LS Type: Opaque Area LinkLink State ID: 10.0.0.0Opaque Type: 1Opaque ID: 0Advertising Router: 172.16.8.8LS Seq Number: 80000004Checksum: 0xD423Length: 132Fragment number : 0MPLS TE router ID: 172.16.8.8Link connected to Point-to-Point networkLink ID : 10.2.2.2Interface Address : 192.168.1.1Table 34 describes the significant fields shown in the display.
Related Commands
show ip ospf mpls ldp interface
To display information about interfaces belonging to an Open Shortest Path First (OSPF) process that is configured for Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Interior Gateway Protocol (IGP), use the show ip ospf mpls ldp interface command in privileged EXEC mode.
show ip ospf [process-id] mpls ldp interface [interface]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
This command shows MPLS LDP-IGP synchronization information for specified interfaces or OSPF processes. If you do not specify an argument, information is displayed for each interface that was configured for MPLS LDP-IGP synchronization.
Examples
The following is sample output from the show ip ospf mpls ldp interface command:
Router# show ip ospf mpls ldp interfaceSerial1/2.4Process ID 2, Area 0LDP is configured through LDP autoconfigLDP-IGP Synchronization : Not requiredHolddown timer is disabledInterface is upSerial1/2.11Process ID 6, VRF VFR1, Area 2LDP is configured through LDP autoconfigLDP-IGP Synchronization : Not requiredHolddown timer is disabledInterface is upEthernet2/0Process ID 1, Area 0LDP is configured through LDP autoconfigLDP-IGP Synchronization : RequiredHolddown timer is configured : 1 msecsHolddown timer is not runningInterface is upLoopback1Process ID 1, Area 0LDP is not configured through LDP autoconfigLDP-IGP Synchronization : Not requiredHolddown timer is disabledInterface is upSerial1/2.1Process ID 1, Area 10.0.1.44LDP is configured through LDP autoconfigLDP-IGP Synchronization : RequiredHolddown timer is configured : 1 msecsHolddown timer is not runningInterface is upTable 35 describes the significant fields shown in the display.
Related Commands
Command Descriptiondebug mpls ldp igp sync
Displays events related to MPLS LDP-IGP synchronization.
show mpls ldp igp sync
Displays the status of the MPLS LDP-IGP synchronization process.
show ip ospf mpls traffic-eng
To display information about the links available on the local router for traffic engineering, use the show ip ospf mpls traffic-eng command in user EXEC or privileged EXEC mode.
show ip ospf [process-id [area-id] mpls traffic-eng [link] | fragment]
Syntax Description
Defaults
No default behavior or values.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip ospf mpls traffic-eng command:
Router# show ip ospf mpls traffic-eng linkOSPF Router with ID (10.0.0.1) (Process ID 1)Area 0 has 2 MPLS TE links. Area instance is 14.Links in hash bucket 8.Link is associated with fragment 1. Link instance is 14Link connected to Point-to-Point networkLink ID :197.0.0.1Interface Address :172.16.0.1Neighbor Address :172.16.0.2Admin Metric :97Maximum bandwidth :128000Maximum reservable bandwidth :250000Number of Priority :8Priority 0 :250000 Priority 1 :250000Priority 2 :250000 Priority 3 :250000Priority 4 :250000 Priority 5 :250000Priority 6 :250000 Priority 7 :212500Affinity Bit :0x0Link is associated with fragment 0. Link instance is 14Link connected to Broadcast networkLink ID :192.168.1.2Interface Address :192.168.1.1Neighbor Address :192.168.1.2Admin Metric :10Maximum bandwidth :1250000Maximum reservable bandwidth :2500000Number of Priority :8Priority 0 :2500000 Priority 1 :2500000Priority 2 :2500000 Priority 3 :2500000Priority 4 :2500000 Priority 5 :2500000Priority 6 :2500000 Priority 7 :2500000Affinity Bit :0x0Table 36 describes the significant fields shown in the display.
show ip protocols vrf
To display the routing protocol information associated with a Virtual Private Network (VPN) routing and forwarding (VRF) instance, use the show ip protocols vrf command in user EXEC or privileged EXEC mode.
show ip protocols vrf vrf-name [summary]
Syntax Description
vrf-name
Name assigned to a VRF.
summary
Optional. Displays the routing protocol information in summary format.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use this command to display routing information associated with a VRF.
Examples
The following example shows information about a VRF named vpn1:
Router# show ip protocols vrf vpn1Routing Protocol is "bgp 100"Sending updates every 60 seconds, next due in 0 secOutgoing update filter list for all interfaces isIncoming update filter list for all interfaces isIGP synchronization is disabledAutomatic route summarization is disabledRedistributing:connected, staticRouting for Networks:Routing Information Sources:Gateway Distance Last Update10.13.13.13 200 02:20:5410.18.18.18 200 03:26:15Distance:external 20 internal 200 local 200Table 37 describes the significant fields shown in the display.
Related Commands
show ip route
To display the current state of the routing table, use the show ip route command in user EXEC or privileged EXEC mode.
show ip route [ip-address [mask] [longer-prefixes] | protocol [process-id] | list [access-list-number | access-list-name] | static download]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
The show ip route static download command provides a way to display all dynamic static routes with name and distance information, including active and inactive ones. You can display all active dynamic static routes with both the show ip route and show ip route static commands after these active routes are added in the main routing table.
Examples
Routing Table Examples
The following examples show the standard routing tables displayed by the show ip route command. Use the codes displayed at the beginning of each report and the information in Table 38 to understand the type of route.
The following is sample output from the show ip route command when entered without an address:
Router# show ip routeCodes: R - RIP derived, O - OSPF derived,C - connected, S - static, B - BGP derived,* - candidate default route, IA - OSPF inter area route,i - IS-IS derived, ia - IS-IS, U - per-user static route,o - on-demand routing, M - mobile, P - periodic downloaded static route,D - EIGRP, EX - EIGRP external, E1 - OSPF external type 1 route,E2 - OSPF external type 2 route, N1 - OSPF NSSA external type 1 route,N2 - OSPF NSSA external type 2 routeGateway of last resort is 10.119.254.240 to network 10.140.0.0O E2 10.110.0.0 [160/5] via 10.119.254.6, 0:01:00, Ethernet2E 10.67.10.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2O E2 10.68.132.0 [160/5] via 10.119.254.6, 0:00:59, Ethernet2O E2 10.130.0.0 [160/5] via 10.119.254.6, 0:00:59, Ethernet2E 10.128.0.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2E 10.129.0.0 [200/129] via 10.119.254.240, 0:02:22, Ethernet2E 10.65.129.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2E 10.10.0.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2E 10.75.139.0 [200/129] via 10.119.254.240, 0:02:23, Ethernet2E 10.16.208.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2E 10.84.148.0 [200/129] via 10.119.254.240, 0:02:23, Ethernet2E 10.31.223.0 [200/128] via 10.119.254.244, 0:02:22, Ethernet2E 10.44.236.0 [200/129] via 10.119.254.240, 0:02:23, Ethernet2E 10.141.0.0 [200/129] via 10.119.254.240, 0:02:22, Ethernet2E 10.140.0.0 [200/129] via 10.119.254.240, 0:02:23, Ethernet2The following is sample output that includes IS-IS Level 2 routes learned:
Router# show ip routeCodes: R - RIP derived, O - OSPF derived,C - connected, S - static, B - BGP derived,* - candidate default route, IA - OSPF inter area route,i - IS-IS derived, ia - IS-IS, U - per-user static route,o - on-demand routing, M - mobile, P - periodic downloaded static route,D - EIGRP, EX - EIGRP external, E1 - OSPF external type 1 route,E2 - OSPF external type 2 route, N1 - OSPF NSSA external type 1 route,N2 - OSPF NSSA external type 2 routeGateway of last resort is not set10.89.0.0 is subnetted (mask is 255.255.255.0), 3 subnetsC 10.89.64.0 255.255.255.0 is possibly down,routing via 0.0.0.0, Ethernet0i L2 10.89.67.0 [115/20] via 10.89.64.240, 0:00:12, Ethernet0i L2 10.89.66.0 [115/20] via 10.89.64.240, 0:00:12, Ethernet0The following is sample output using the longer-prefixes keyword. When the longer-prefixes keyword is included, the address and mask pair becomes the prefix, and any address that matches that prefix is displayed. Therefore, multiple addresses are displayed.
In the following example, the logical AND operation is performed on the source address 10.0.0.0 and the mask 10.0.0.0, resulting in 10.0.0.0. Each destination in the routing table is also logically ANDed with the mask and compared to that result of 10.0.0.0. Any destinations that fall into that range are displayed in the output.
Router# show ip route 10.0.0.0 10.0.0.0 longer-prefixesCodes: R - RIP derived, O - OSPF derived,C - connected, S - static, B - BGP derived,* - candidate default route, IA - OSPF inter area route,i - IS-IS derived, ia - IS-IS, U - per-user static route,o - on-demand routing, M - mobile, P - periodic downloaded static route,D - EIGRP, EX - EIGRP external, E1 - OSPF external type 1 route,E2 - OSPF external type 2 route, N1 - OSPF NSSA external type 1 route,N2 - OSPF NSSA external type 2 routeGateway of last resort is not setS 10.134.0.0 is directly connected, Ethernet0S 10.10.0.0 is directly connected, Ethernet0S 10.129.0.0 is directly connected, Ethernet0S 10.128.0.0 is directly connected, Ethernet0S 10.49.246.0 is directly connected, Ethernet0S 10.160.97.0 is directly connected, Ethernet0S 10.153.88.0 is directly connected, Ethernet0S 10.76.141.0 is directly connected, Ethernet0S 10.75.138.0 is directly connected, Ethernet0S 10.44.237.0 is directly connected, Ethernet0S 10.31.222.0 is directly connected, Ethernet0S 10.16.209.0 is directly connected, Ethernet0S 10.145.0.0 is directly connected, Ethernet0S 10.141.0.0 is directly connected, Ethernet0S 10.138.0.0 is directly connected, Ethernet0S 10.128.0.0 is directly connected, Ethernet010.19.0.0 255.255.255.0 is subnetted, 1 subnetsC 10.19.64.0 is directly connected, Ethernet010.69.0.0 is variably subnetted, 2 subnets, 2 masksC 10.69.232.32 255.255.255.240 is directly connected, Ethernet0S 10.69.0.0 255.255.0.0 is directly connected, Ethernet0The following examples display all downloaded static routes. A P designates which route was installed using AAA route download.
Router# show ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate defaultU - per-user static route, o - ODR, P - periodic downloaded static routeT - traffic engineered routeGateway of last resort is 172.21.17.1 to network 0.0.0.0172.31.0.0/32 is subnetted, 1 subnetsP 172.31.229.41 is directly connected, Dialer1 20.0.0.0/24 is subnetted, 3 subnetsP 10.1.1.0 [200/0] via 172.31.229.41, Dialer1P 10.1.3.0 [200/0] via 172.31.229.41, Dialer1P 10.1.2.0 [200/0] via 172.31.229.41, Dialer1Router# show ip route static172.27.4.0/8 is variably subnetted, 2 subnets, 2 masksP 172.16.1.1/32 is directly connected, BRI0P 172.27.4.0/8 [1/0] via 10.1.1.1, BRI0S 172.31.0.0/16 [1/0] via 172.21.114.65, Ethernet0S 10.0.0.0/8 is directly connected, BRI0P 10.0.0.0/8 is directly connected, BRI0172.21.0.0/16 is variably subnetted, 5 subnets, 2 masksS 172.21.114.201/32 is directly connected, BRI0S 172.21.114.205/32 is directly connected, BRI0S 172.21.114.174/32 is directly connected, BRI0S 172.21.114.12/32 is directly connected, BRI0P 10.0.0.0/8 is directly connected, BRI0P 10.1.0.0/8 is directly connected, BRI0P 10.2.2.0/8 is directly connected, BRI0S* 0.0.0.0/0 [1/0] via 172.21.114.65, Ethernet0S 172.29.0.0/16 [1/0] via 172.21.114.65, Ethernet0The following example shows how to use the show ip route static download command to display all active and inactive routes installed using AAA route download:
Router# show ip route static downloadConnectivity: A - Active, I - InactiveA 10.10.0.0 255.0.0.0 BRI0A 10.11.0.0 255.0.0.0 BRI0A 10.12.0.0 255.0.0.0 BRI0A 10.13.0.0 255.0.0.0 BRI0I 10.20.0.0 255.0.0.0 172.21.1.1I 10.22.0.0 255.0.0.0 Serial0I 10.30.0.0 255.0.0.0 Serial0I 10.31.0.0 255.0.0.0 Serial1I 10.32.0.0 255.0.0.0 Serial1A 10.34.0.0 255.0.0.0 192.168.1.1A 10.36.1.1 255.255.255.255 BRI0 200 name remote1I 10.38.1.9 255.255.255.0 192.168.69.1
Specific Route Information
When you specify that you want information about a specific network displayed, more detailed statistics are shown. The following is sample output from the show ip route command when entered with the IP address 10.0.0.1:
Router# show ip route 10.0.0.1Routing entry for 10.0.0.1/32Known via "isis", distance 115, metric 20, type level-1Redistributing via isisLast update from 10.191.255.251 on Fddi1/0, 00:00:13 agoRouting Descriptor Blocks:* 10.22.22.2, from 10.191.255.247, via Serial2/3Route metric is 20, traffic share count is 110.191.255.251, from 10.191.255.247, via Fddi1/0Route metric is 20, traffic share count is 1When an IS-IS router advertises its link-state information, it includes one of its own IP addresses to be used as the originator IP address. When other routers calculate IP routes, they can store the originator IP address with each route in the routing table.
The example above shows the output from the show ip route command when looking at an IP route generated by IS-IS. Each path that is shown under the Routing Descriptor Blocks report displays two IP addresses. The first address (10.22.22.2) is the next hop address. The second is the originator IP address from the advertising IS-IS router. This address helps you determine where a particular IP route has originated in your network. In the example the route to 10.0.0.1/32 was originated by a router with IP address 10.191.255.247.
Table 39 describes the significant fields shown when using the show ip route command with an IP address.
The following is sample output using the longer-prefixes keyword. When the longer-prefixes keyword is included, the address and mask pair becomes the prefix, and any address that matches that prefix is displayed. Therefore, multiple addresses are displayed.
In the following example, the logical AND operation is performed on the source address 10.0.0.0 and the mask 10.0.0.0, resulting in 10.0.0.0. Each destination in the routing table is also logically ANDed with the mask and compared to that result of 10.0.0.0. Any destinations that fall into that range are displayed in the output.
Router# show ip route 10.0.0.0 10.0.0.0 longer-prefixesCodes: R - RIP derived, O - OSPF derived,C - connected, S - static, B - BGP derived,* - candidate default route, IA - OSPF inter area route,i - IS-IS derived, ia - IS-IS, U - per-user static route,o - on-demand routing, M - mobile, P - periodic downloaded static route,D - EIGRP, EX - EIGRP external, E1 - OSPF external type 1 route,E2 - OSPF external type 2 route, N1 - OSPF NSSA external type 1 route,N2 - OSPF NSSA external type 2 routeGateway of last resort is not setS 10.134.0.0 is directly connected, Ethernet0S 10.10.0.0 is directly connected, Ethernet0S 10.129.0.0 is directly connected, Ethernet0S 10.128.0.0 is directly connected, Ethernet0S 10.49.246.0 is directly connected, Ethernet0S 10.160.97.0 is directly connected, Ethernet0S 10.153.88.0 is directly connected, Ethernet0S 10.76.141.0 is directly connected, Ethernet0S 10.75.138.0 is directly connected, Ethernet0S 10.44.237.0 is directly connected, Ethernet0S 10.31.222.0 is directly connected, Ethernet0S 10.16.209.0 is directly connected, Ethernet0S 10.145.0.0 is directly connected, Ethernet0S 10.141.0.0 is directly connected, Ethernet0S 10.138.0.0 is directly connected, Ethernet0S 10.128.0.0 is directly connected, Ethernet010.19.0.0 255.255.255.0 is subnetted, 1 subnetsC 10.19.64.0 is directly connected, Ethernet010.69.0.0 is variably subnetted, 2 subnets, 2 masksC 10.69.232.32 255.255.255.240 is directly connected, Ethernet0S 10.69.0.0 255.255.0.0 is directly connected, Ethernet0The following output includes the tag 120 applied to the route 10.22.0.0/16. You must specify an IP prefix in order to see the tag value.
Router# show ip route 10.22.0.0Routing entry for 10.22.0.0/16Known via "isis", distance 115, metric 12Tag 120, type level-1Redistributing via isisLast update from 172.19.170.12 on Ethernet2, 01:29:13 agoRouting Descriptor Blocks:* 172.19.170.12, from 10.3.3.3, via Ethernet2Route metric is 12, traffic share count is 1Route tag 120Static Routes Using a DHCP Gateway Examples
The following example shows that IP route 10.8.8.0 is directly connected to the Internet and is the next-hop (option 3) default gateway. Routes 10.1.1.1 [1/0], 10.3.2.1 [24/0], and 172.2.2.2 [1/0] are static, and route 10.0.0.0/0 is a default route candidate.
Router# show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is 10.0.19.14 to network 0.0.0.010.0.0.0/24 is subnetted, 1 subnetsC 10.8.8.0 is directly connected, Ethernet110.0.0.0/32 is subnetted, 1 subnetsS 10.1.1.1 [1/0] via 10.8.8.110.0.0.0/32 is subnetted, 1 subnetsS 10.3.2.1 [24/0] via 10.8.8.1172.16.0.0/32 is subnetted, 1 subnetsS 172.2.2.2 [1/0] via 10.8.8.110.0.0.0/28 is subnetted, 1 subnetsC 10.0.19.0 is directly connected, Ethernet010.0.0.0/24 is subnetted, 1 subnetsC 10.15.15.0 is directly connected, Loopback0S* 10.0.0.0/0 [1/0] via 10.0.19.14Related Commands
show ip route vrf
To display the IP routing table associated with a Virtual Private Network (VPN) routing and forwarding (VRF) instance, use the show ip route vrf command in user EXEC or privileged EXEC mode.
show ip route vrf vrf-name [connected] [protocol [as-number] [tag] [output-modifiers]] [ip-prefix] [list number [output-modifiers]] [profile] [static [output-modifiers]] [summary [output-modifiers]] [supernets-only [output-modifiers]]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
This command displays specified information from the IP routing table of a VRF.
Examples
This example shows the IP routing table associated with the VRF named vrf1:
Router# show ip route vrf vrf1Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered routeGateway of last resort is not setB 10.0.0.0/8 [200/0] via 10.13.13.13, 00:24:19C 10.0.0.0/8 is directly connected, Ethernet1/3B 10.0.0.0/8 [20/0] via 10.0.0.1, 02:10:22B 10.0.0.0/8 [200/0] via 10.13.13.13, 00:24:20This example shows BGP entries in the IP routing table associated with the VRF named vrf1:
Router# show ip route vrf vrf1 bgpB 10.0.0.0/8 [200/0] via 10.13.13.13, 03:44:14B 10.0.0.0/8 [20/0] via 10.0.0.1, 03:44:12B 10.0.0.0/8 [200/0] via 10.13.13.13, 03:43:14This example shows the IP routing table associated with a VRF named PATH and network 10.22.22.0:
Router# show ip route vrf PATH 10.22.22.0
Routing entry for 10.22.22.0/24Known via "bgp 1", distance 200, metric 0Tag 22, type internalLast update from 10.22.5.10 00:01:07 agoRouting Descriptor Blocks:* 10.22.7.8 (Default-IP-Routing-Table), from 10.11.3.4, 00:01:07 agoRoute metric is 0, traffic share count is 1AS Hops 110.22.1.9 (Default-IP-Routing-Table), from 10.11.1.2, 00:01:07 agoRoute metric is 0, traffic share count is 1AS Hops 110.22.6.10 (Default-IP-Routing-Table), from 10.11.6.7, 00:01:07 agoRoute metric is 0, traffic share count is 1AS Hops 110.22.4.10 (Default-IP-Routing-Table), from 10.11.4.5, 00:01:07 agoRoute metric is 0, traffic share count is 1AS Hops 110.22.5.10 (Default-IP-Routing-Table), from 10.11.5.6, 00:01:07 agoRoute metric is 0, traffic share count is 1AS Hops 1Table 40 describes the significant fields shown when the show ip route vrf vrf-name ip-prefix command is used.
Example of Output Using the Cisco IOS Software Modularity for Layer 3 VPNs Feature
The following is sample output from the show ip route vrf command on routers using the Cisco IOS Software Modularity for Layer 3 VPNs feature. The output includes remote label information and corresponding MPLS flags for prefixes that have remote labels stored in the RIB, if BGP is the label distribution protocol:
Router# show ip route vrf v2 10.2.2.2
Routing entry for 10.2.2.2/32Known via "bgp 1", distance 200, metric 0, type internalRedistributing via ospf 2Advertised by ospf 2 subnetsLast update from 10.0.0.4 00:22:59 agoRouting Descriptor Blocks:* 10.0.0.4 (Default-IP-Routing-Table), from 10.0.0.31, 00:22:59 agoRoute metric is 0, traffic share count is 1AS Hops 0MPLS label: 1300MPLS Flags: MPLS RequiredTable 41 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow ip cache
Displays the Cisco Express Forwarding table associated with a VRF.
show ip vrf
Displays the set of defined VRFs and associated interfaces.
show ip rsvp fast bw-protect
To display information about whether backup bandwidth protection is enabled and the status of backup tunnels that may be used to provide that protection, use the show ip rsvp fast bw-protect command in user EXEC or privileged EXEC mode.
show ip rsvp fast bw-protect
Syntax Description
This command has no arguments or keywords.
Command Default
The backup bandwidth protection and backup tunnel status information is not displayed.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip rsvp fast bw-protect command:
Router# show ip rsvp fast bw-protectPrimary Protect BW BackupTunnel I/F BPS:Type Tunnel:Label State BW-P Type-------------- ------- -------- ---------- ----- ---- ----PRAB-72-5_t500 PO2/0 500K:S Tu501:19 Ready ON NhopPRAB-72-5_t601 PO2/0 103K:S Tu501:20 Ready OFF NhopPRAB-72-5_t602 PO2/0 70K:S Tu501:21 Ready ON NhopPRAB-72-5_t603 PO2/0 99K:S Tu501:22 Ready ON NhopPRAB-72-5_t604 PO2/0 100K:S Tu501:23 Ready OFF NhopPRAB-72-5_t605 PO2/0 101K:S Tu501:24 Ready OFF NhopTable 42 describes the significant fields shown in the display.
Related Commands
Command Descriptiontunnel mpls traffic-eng fast-reroute bw-protect
Enables an MPLS TE tunnel to use an established backup tunnel in the event of a link or node failure.
show ip rsvp fast detail
To display specific information for Resource Reservation Protocol (RSVP) categories, use the show ip rsvp fast detail command in user EXEC or privileged EXEC mode.
show ip rsvp fast detail
Syntax Description
This command has no arguments or keywords.
Command Default
Specific information for RSVP categories is not displayed.
Command Modes
User EXEC
Privileged EXEC'Command History
Examples
The following is sample output from the show ip rsvp fast detail command:
Router# show ip rsvp fast detailPATH:Tun Dest: 10.0.0.7 Tun ID: 500 Ext Tun ID: 10.0.0.5Tun Sender: 10.0.0.5 LSP ID: 8Path refreshes:sent: to NHOP 10.5.6.6 on POS2/0Session Attr:Setup Prio: 7, Holding Prio: 7Flags: Local Prot desired, Label Recording, SE Style, Bandwidth Prot desiredSession Name: PRAB-72-5_t500ERO: (incoming)10.0.0.5 (Strict IPv4 Prefix, 8 bytes, /32)555.5.6.6 (Strict IPv4 Prefix, 8 bytes, /32)555.6.7.7 (Strict IPv4 Prefix, 8 bytes, /32)10.0.0.7 (Strict IPv4 Prefix, 8 bytes, /32)ERO: (outgoing)555.5.6.6 (Strict IPv4 Prefix, 8 bytes, /32)555.6.7.7 (Strict IPv4 Prefix, 8 bytes, /32)10.0.0.7 (Strict IPv4 Prefix, 8 bytes, /32)Traffic params - Rate: 500K bits/sec, Max. burst: 1K bytesMin Policed Unit: 0 bytes, Max Pkt Size 4294967295 bytesFast-Reroute Backup info:Inbound FRR: Not activeOutbound FRR: Ready -- backup tunnel selectedBackup Tunnel: Tu501 (label 19)Bkup Sender Template:Tun Sender: 555.5.6.5 LSP ID: 8Bkup FilerSpec:Tun Sender: 555.5.6.5, LSP ID: 8Path ID handle: 04000405.Incoming policy: Accepted. Policy source(s): MPLS/TEStatus: ProxiedOutput on POS2/0. Policy status: Forwarding. Handle: 02000406Table 43 describes the significant fields shown in the display.
Related Commands
Command Descriptionmpls traffic-eng fast-reroute backup-prot-preemption
Changes the backup protection preemption algorithm to minimize the amount of bandwidth that is wasted.
show ip rsvp hello
To display hello status and statistics for Fast Reroute, reroute (hello state timer), and graceful restart, use the show ip rsvp hello command in user EXEC or privileged EXEC mode.
show ip rsvp hello
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip rsvp hello command:
Router# show ip rsvp helloHello:RSVP Hello for Fast-Reroute/Reroute: EnabledStatistics: DisabledBFD for Fast-Reroute/Reroute: EnabledRSVP Hello for Graceful Restart: DisabledTable 44 describes the significant fields shown in the display. The fields describe the processes for which hello is enabled or disabled.
Related Commands
show ip rsvp hello bfd nbr
To display information about all Multiprotocol Label Switching (MPLS) traffic engineering (TE) clients that use the Bidirectional Forwarding Detection (BFD) protocol, use the show ip rsvp hello bfd nbr command in user EXEC or privileged EXEC mode.
show ip rsvp hello bfd nbr
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
The command output is the same as the show ip rsvp hello bfd nbr summary command output.
Examples
The following is sample output from the show ip rsvp hello bfd nbr command.
Router# show ip rsvp hello bfd nbrClient Neighbor I/F State LostCnt LSPsFRR 10.0.0.6 Gi9/47 Up 0 1Table 45 describes the significant fields shown in the display.
Related Commands
show ip rsvp hello bfd nbr detail
To display detailed information about all Multiprotocol Label Switching (MPLS) traffic engineering (TE) clients that use the Bidirectional Forwarding Detection (BFD) protocol, use the show ip rsvp hello bfd nbr detail command in user EXEC or privileged EXEC mode.
show ip rsvp hello bfd nbr detail
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip rsvp hello bfd nbr detail command:
Router# show ip rsvp hello bfd nbr detailHello Client NeighborsRemote addr 10.0.0.6, Local addr 10.0.0.7Type: ActiveI/F: Gi9/47State: Up (for 00:09:41)Clients: FRRLSPs protecting: 1 (frr: 1, hst upstream: 0 hst downstream: 0)Communication with neighbor lost: 0Table 46 describes the significant fields shown in the display.
Related Commands
show ip rsvp hello bfd nbr summary
To display summarized information about all Multiprotocol Label Switching (MPLS) traffic engineering (TE) clients that use the Bidirectional Forwarding Detection (BFD) protocol, use the show ip rsvp hello bfd nbr summary command in user EXEC or privileged EXEC mode.
show ip rsvp hello bfd nbr summary
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXE CCommand History
Usage Guidelines
The command output is the same as the show ip rsvp hello bfd nbr command output.
Examples
The following is sample output from the show ip rsvp hello bfd nbr summary command.
Router# show ip rsvp hello bfd nbr summaryClient Neighbor I/F State LostCnt LSPsFRR 10.0.0.6 Gi9/47 Up 0 1Table 47 describes the significant fields shown in the display.
Related Commands
show ip rsvp hello instance detail
To display detailed information about a hello instance, use the show ip rsvp hello instance detail command in user EXEC or privileged EXEC mode.
show ip rsvp hello instance detail [filter destination ip-address]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use the show ip rsvp hello instance detail command to display information about the processes (clients) currently configured.
Examples
The following is sample output from the show ip rsvp hello instance detail command:
Router# show ip rsvp hello instance detailNeighbor 10.0.0.3 Source 10.0.0.2Type: Active (sending requests)I/F: Serial2/0State: Up (for 2d19h2d19h)Clients: ReRouteLSPs protecting: 1Missed acks: 4, IP DSCP: 0x30Refresh Interval (msec)Configured: 6000Statistics: (from 40722 samples)Min: 6000Max: 6064Average: 6000Waverage: 6000 (Weight = 0.8)Current: 6000Last sent Src_instance: 0xE617C847Last recv nbr's Src_instance: 0xFEC28E95Counters:Communication with neighbor lost:Num times: 0Reasons:Missed acks: 0Bad Src_Inst received: 0Bad Dst_Inst received: 0I/F went down: 0Neighbor disabled Hello: 0Msgs Received: 55590Sent: 55854Suppressed: 521Neighbor 10.0.0.8 Source 10.0.0.7Type: Passive (responding to requests)I/F: Serial2/1Last sent Src_instance: 0xF7A80A52Last recv nbr's Src_instance: 0xD2F1B7F7Counters:Msgs Received: 199442Sent: 199442Table 48 describes the significant fields shown in the display.
Related Commands
show ip rsvp hello instance summary
To display summary information about a hello instance, use the show ip rsvp hello instance summary command in user EXEC or privileged EXEC mode.
show ip rsvp hello instance summary
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXECCommand History
Examples
The following is sample output from the show ip rsvp hello instance summary command:
Router# show ip rsvp hello instance summaryActive Instances:Client Neighbor I/F State LostCnt LSPs IntervalRR 10.0.0.3 Se2/0 Up 0 1 6000GR 10.1.1.1 Any Up 13 1 10000GR 10.1.1.5 Any Lost 0 1 10000GR 10.2.2.1 Any Init 1 0 5000Passive Instances:Neighbor I/F10.0.0.1 Se2/1Active = Actively tracking neighbor state on behalf of clients:RR = ReRoute, FRR = Fast ReRoute, or GR = Graceful RestartPassive = Responding to hello requests from neighborTable 49 describes the significant fields shown in the display.
Related Commands
show ip rsvp hello statistics
To display how long hello packets have been in the Hello input queue, use the show ip rsvp hello statistics command in privileged EXEC mode.
show ip rsvp hello statistics
Syntax Description
This command has no arguments or keywords.
Command Default
Information about how long hello packets have been in the Hello input queue is not displayed.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
You can use this command to determine if the Hello refresh interval is too small. If the interval is too small, communication may falsely be declared as lost.
Examples
The following is sample output from the show ip rsvp hello statistics command:
Router# show ip rsvp hello statisticsStatus: EnabledPacket arrival queue:Wait times (msec)Current:0Average:0Weighted Average:0 (weight = 0.8)Max:4Current length: 0 (max:500)Number of samples taken: 2398525Table 50 describes the significant fields shown in the display.
Related Commands
show ip rsvp high-availability database
To display contents of Resource Reservation Protocol (RSVP) high availability (HA) read and write databases used in traffic engineering (TE), use the show ip rsvp high-availability database command in user EXEC or privileged EXEC mode.
show ip rsvp high-availability database {hello | link-management {interfaces [fixed | variable] | system} | lsp [filter [destination ip-address] [lsp-id lsp-id] [source ip-address] [tunnel-id tunnel-id]] | lsp-head [filter number] | summary}
Syntax Description
Command Modes
User EXEC (>)
Privileged EXEC (#)Command History
Usage Guidelines
Use the show ip rsvp high-availability database command to display information about entries in read and write databases.
Use the show ip rsvp high-availability database lsp command to display loose hop information. A loose hop expansion can be performed on a router when the router processes the explicit router object (ERO) for an incoming path message. After the router removes all local IP addresses from the incoming ERO, it finds the next hop. If the ERO specifies that the next hop is loose instead of strict, the router consults the TE topology database and routing to determine the next hop and output interface to forward the path message. The result of the calculation is a list of hops; the list is placed in the outgoing ERO and checkpointed with the LSP data as the loose hop information.
In Cisco IOS Release 15.0(1)S and later releases, the show ip rsvp high-availability database lsp command displays sub-LSP information. If any sub-LSP, whether P2MP or P2P, fails to recover after a stateful switchover (SSO), the failure is noted in an error database for troubleshooting. You can use the show ip rsvp high database lsp command to display error database entries.
You can use the show ip rsvp high-availability database lsp-head command only on a headend router; this command gives no information on other routers.
Examples
Hello Example on an Active RP
The following is sample output from the show ip rsvp high-availability database hello command on an active Route Processor (RP):
Router# show ip rsvp high-availability database helloHELLO WRITE DBHeader:State: Checkpointed Action: AddSeq #: 1 Flags: 0x0Data:Last sent Src_instance: 0xDE435865HELLO READ DBTable 51 describes the significant fields shown in the display.
Hello Example on Standby RP
The following is sample output from the show ip rsvp high-availability database hello command on a standby RP:
Router# show ip rsvp high-availability database helloHELLO WRITE DBHELLO READ DBHeader:State: Checkpointed Action: AddSeq #: 1 Flags: 0x0Data:Last sent Src_instance: 0xDE435865These fields are the same as those for the active RP described in Table 51 except they are now in the read database for the standby RP.
Link-Management Interfaces Example on an Active RP
The following is sample output from the show ip rsvp high-availability database link-management interfaces command on an active RP:
Router# show ip rsvp high-availability database link-management interfacesTE LINK WRITE DBFlooding Protocol: ospf IGP Area ID: 0 Link ID: 0 (GigabitEthernet3/2)Header:State: Checkpointed Action: AddSeq #: 4 Flags: 0x0Data:Ifnumber: 5 Link Valid Flags: 0x193BLink Subnet Type: BroadcastLocal Intfc ID: 0 Neighbor Intf ID: 0Link IP Address: 172.16.3.1Neighbor IGP System ID: 172.16.3.2 Neighbor IP Address: 10.0.0.0IGP Metric: 1 TE Metric: 1Physical Bandwidth: 1000000 kbits/secRes. Global BW: 3000 kbits/secRes. Sub BW: 0 kbits/secUpstream::Global Pool Sub Pool----------- ----------Reservable Bandwidth[0]: 0 0 kbits/secReservable Bandwidth[1]: 0 0 kbits/secReservable Bandwidth[2]: 0 0 kbits/secReservable Bandwidth[3]: 0 0 kbits/secReservable Bandwidth[4]: 0 0 kbits/secReservable Bandwidth[5]: 0 0 kbits/secReservable Bandwidth[6]: 0 0 kbits/secReservable Bandwidth[7]: 0 0 kbits/secDownstream::Global Pool Sub Pool----------- ----------Reservable Bandwidth[0]: 3000 0 kbits/secReservable Bandwidth[1]: 3000 0 kbits/secReservable Bandwidth[2]: 3000 0 kbits/secReservable Bandwidth[3]: 3000 0 kbits/secReservable Bandwidth[4]: 3000 0 kbits/secReservable Bandwidth[5]: 3000 0 kbits/secReservable Bandwidth[6]: 3000 0 kbits/secReservable Bandwidth[7]: 2900 0 kbits/secAffinity Bits: 0x0Protection Type: Capability 0, Working Priority 0Number of TLVs: 0Table 52 describes the significant fields shown in the display.
The fields for a standby RP are the same as those described in Table 52 except they are now in the TE link read database instead of the TE link write database that is used by an active RP.
Link-Management System Example on an Active RP
The following is sample output from the show ip rsvp high-availability database link-management system command on an active RP:
Router# show ip rsvp high-availability database link-management systemTE SYSTEM WRITE DBFlooding Protocol: OSPF IGP Area ID: 0Header:State: Checkpointed Action: ModifySeq #: 4 Flags: 0x0Data:LM Flood Data::LSA Valid flags: 0x0 Node LSA flag: 0x0IGP System ID: 172.16.3.1 MPLS TE Router ID: 10.0.0.3Flooded links: 1 TLV length: 0 (bytes)Fragment id: 0TE SYSTEM READ DBTable 53 describes the significant fields shown in the display.
The fields for a standby RP are the same as those described in Table 53 except they are now in the TE system read database instead of the TE system write database that is used by an active RP.
LSP Example on an Active RP for a P2P Tunnel
The following is sample output from the show ip rsvp high-availability database lsp command on an active RP for a P2P tunnel:
Router# show ip rsvp high-availability database lspTun ID: 0 LSP ID: 10 (P2P)SubGrp ID: -SubGrp Orig: -Dest: 10.3.0.1Sender: 10.1.0.1 Ext. Tun ID: 10.1.0.1Header:State: Checkpointed Action: AddSeq #: 2 Flags: 0x0Data:PathSet ID: -Lspvif if_num: -InLabel: -Out I/F: Se2/0Next-Hop: 10.1.3.2OutLabel: 16Loose hop info: None (0)LSP Example on an Active RP for a P2MP Tunnel
The following is sample output from the show ip rsvp high-availability database lsp command on an active RP for a P2MP tunnel:
Router# show ip rsvp high-availability database lspTun ID: 1 LSP ID: 127 (P2MP)SubGrp ID: 1SubGrp Orig: 10.1.0.1Dest: 10.2.0.1Sender: 10.1.0.1 Ext. Tun ID: 10.1.0.1Header:State: Checkpointed Action: AddSeq #: 30 Flags: 0x0Data:PathSet ID: 0x1A000003Lspvif if_num: 35 (Lspvif0)InLabel: 19Out I/F: NoneNext-Hop: -OutLabel: -Loose hop info: None (0)Table 54 describes the significant fields shown in the display.
The fields for a standby RP are the same as those described in Table 54 except they are now in the LSP read database instead of the LSP write database that is used by an active RP.
LSP-Head Example on an Active RP for a P2P Tunnel
The following is sample output from the show ip rsvp high-availability database lsp-head command on an active RP for a P2P tunnel:
Router# show ip rsvp high-availability database lsp-headLSP_HEAD WRITE DBTun ID: 0 (P2P)Header:State: Checkpointed Action: AddSeq #: 2 Flags: 0x0Data:lsp_id: 10, bandwidth: 5, thead_flags: 0x1, popt: 1feature flags: noneoutput_if_num: 11, output_nhop: 10.1.3.2RRR path setup infoDestination: 10.3.0.1, Id: 10.3.0.1 Router Node (ospf) flag:0x0IGP: ospf, IGP area: 0, Number of hops: 3, metric: 128Hop 0: 10.1.3.2, Id: 10.2.0.1 Router Node (ospf), flag:0x0Hop 1: 10.2.3.3, Id: 10.3.0.1 Router Node (ospf), flag:0x0Hop 2: 10.3.0.1, Id: 10.3.0.1 Router Node (ospf), flag:0x0LSP-Head Example on an Active RP for a P2MP Tunnel
The following is sample output from the show ip rsvp high-availability database lsp-head command on an active RP for a P2MP tunnel:
Router# show ip rsvp high-availability database lsp-headLSP_HEAD WRITE DBTun ID: 1 (P2MP)Destination: 10.2.0.1Header:State: Checkpointed Action: AddSeq #: 3 Flags: 0x0Data:lsp_id: 11, bandwidth: 100, thead_flags: 0x1, popt: 1Subgrp_id: 1feature flags: noneoutput_if_num: 3, output_nhop: 10.1.2.2RRR path setup infoDestination: 10.2.0.1, Id: 10.2.0.1 Router Node (ospf) flag:0x0IGP: ospf, IGP area: 0, Number of hops: 3, metric: 10Hop 0: 10.1.2.1, Id: 10.1.0.1 Router Node (ospf), flag:0x0Hop 1: 10.1.2.2, Id: 10.2.0.1 Router Node (ospf), flag:0x0Hop 2: 10.2.0.1, Id: 10.2.0.1 Router Node (ospf), flag:0x0Table 55 describes the significant fields shown in the display.
The fields for a standby RP are the same as those described in Table 55 except they are now in the LSP_head read database instead of the LSP_head write database that is used by an active RP.
Summary Example on an Active RP
The following is sample output from the show ip rsvp high-availability database summary command on an active RP:
Router# show ip rsvp high-availability database summaryWrite DB:Send-Pending: 0Ack-Pending : 0Checkpointed: 10Total : 10Read DB:Total : 0Table 56 describes the significant fields shown in the display.
Summary Example on a Standby RP
The following is sample output from the show ip rsvp high-availability database summary command on a standby RP:
Router# show ip rsvp high-availability database summaryWrite DB:Send-Pending: 0Ack-Pending : 0Checkpointed: 0Total : 0Read DB:Total : 10Table 57 describes the significant fields shown in the display.
Related Commands
show ip rsvp host
To display specific information for a Resource Reservation Protocol (RSVP) host, use the show ip rsvp host command in user EXEC or privileged EXEC mode.
show ip rsvp host {senders | receivers} [group-name | group-address]
Syntax Description
Command Modes
User EXEC
Privileged EXECCommand History
Usage Guidelines
Use the show ip rsvp host command to display static RSVP senders and receivers. If a router has any local host receivers or senders that have RSVP identities configured, the application IDs that they use are also displayed.
Examples
In the following example from the show ip rsvp host senders command, no RSVP identities are configured for the local sender:
Router# show ip rsvp host sendersTo From Pro DPort Sport Prev Hop I/F BPS192.168.104.3 192.168.104.1 UDP 1 1 10KMode(s): Host CLITable 58 describes the significant fields shown in the display.
In the following example from the show ip rsvp host senders command, an RSVP identity is configured for the local sender and more information displays:
Router# show ip rsvp host sendersTo From Pro DPort Sport Prev Hop I/F BPS192.168.104.3 192.168.104.1 UDP 1 1 10KMode(s): Host CLIIdentity: voice100Locator: GUID=www.cisco.com,APP=voice,VER=100.0ID Type: ApplicationTable 59 describes the significant fields shown in the display.
Related Commands
Command Descriptionip rsvp sender-host
Enables a router to simulate a host generating an RSVP PATH message.
show ip rsvp interface detail
To display the interface configuration for Hello, use the show ip rsvp interface detail command in privileged EXEC mode.
show ip rsvp interface detail [interface]
Syntax Description
Command Default
The interface configuration for Hello is not displayed.
Command Modes
Privileged EXEC
Command History
Examples
The following is sample output from the show ip rsvp interface detail command:
Router# show ip rsvp interface detail GigabitEthernet 9/47Gi9/47:RSVP: EnabledInterface State: UpBandwidth:Curr allocated: 0 bits/secMax. allowed (total): 0 bits/secMax. allowed (per flow): 0 bits/secMax. allowed for LSP tunnels using sub-pools (pool 1): 0 bits/secSet aside by policy (total): 0 bits/secSignalling:DSCP value used in RSVP msgs: 0x3FNumber of refresh intervals to enforce blockade state: 4Authentication: disabledKey chain: <none>Type: md5Window size: 1Challenge: disabledFRR Extension:Backup Path: Configured (or "Not Configured")BFD Extension:State: DisabledInterval: Not ConfiguredRSVP Hello Extension:State: DisabledRefresh Interval: FRR: 200 , Reroute: 2000Missed Acks: FRR: 4 , Reroute: 4DSCP in HELLOs: FRR: 0x30 , Reroute: 0x30Table 60 describes the significant fields shown in the display.
Related Commands
show ip traffic-engineering
To display information about the traffic engineering configuration and metric information associated with it, use the show ip traffic-engineering command in privileged EXEC mode.
show ip traffic-engineering [metrics [detail]]
Syntax Description
metrics
(Optional) Displays metric information associated with traffic engineering.
detail
(Optional) Displays information in long form.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The goal of the loop prevention algorithm is that traffic should not be sent down the tunnel if there is a possibility that, after leaving the tunnel, steady state routing will route the traffic back to the head of the tunnel.
The strategy of the loop prevention algorithm is to compare the Layer 3 routing distance to the egress from the tunnel tailend and tunnel headend. The loop check passes only if the tunnel tail is closer to the egress than the tunnel head is.
The loop prevention algorithm allows you to use the tunnel for a route if one the following cases applies:
•Given that the two ends of the tunnel are routing to the egress using the same dynamic protocol in the same area, the Layer 3 routing distance from the tailend to the egress is less than the Layer 3 routing distance from the headend to the egress.
•The route to the egress is directly connected at the tunnel tailend router, but not at the tunnel headend router.
•The egress is unreachable from the tunnel headend router, but is reachable from the tunnel tailend router.
The loop prevention algorithm prevents you from using the tunnel for a given egress in all other cases, in particular, the following cases:
•The routers at the ends of the tunnel get their route to the egress from different dynamic routing protocols.
•The routing protocols at the two ends of the tunnel route to the egress through different areas.
•The two ends each use a static route to the egress.
•The tunnel headend router's route to the egress is a connected route.
•The egress is unreachable from the tunnel tailend router.
Devices request metrics via an LDP adjacency. The display output shows detailed metric information.
The metric information includes a metric type (shown as routing_protocol/routing_protocol_subtype) and a metric value.
The routing protocol is as follows:
•Open Shortest Path First (OSPF)
•Intermediate System to Intermediate System (IS-IS)
•Enhanced Interior Gateway Routing Protocol (EIGRP)
•Connected
•Static
•Other (some other routing protocol)
The routing protocol subtype is specific to each routing protocol.
Examples
The following is sample output from the show ip traffic-engineering metrics detail command:
Router# show ip traffic-engineering metrics detailMetrics requested BY this devicePrefix 43.0.0.1/32TDP id 2.2.2.2:0, metric: connected/0type request, flags metric-received, rev 6, refcnt 1TDP id 4.4.4.4:0, metric: ospf-300/2type request, flags metric-received, rev 7, refcnt 1Prefix 44.0.0.0/8TDP id 18.18.18.18:0, metric: connected/0type request, flags metric-received, rev 1, refcnt 1Metrics requested FROM this devicePrefix 36.0.0.0/8TDP id 18.18.18.18:0, metric: connected/0type advertise, flags none, rev 1, refcnt 1Table 61 describes the significant fields shown in the display.
Related Commands
Command Descriptiontraffic-engineering filter
Specifies a filter with a given number and properties.
traffic-engineering route
Configures a route for a specified filter, through a specified tunnel.
show ip traffic-engineering configuration
To display information about configured traffic engineering filters and routes, use the show ip traffic-engineering configuration command in privileged EXEC mode.
show ip traffic-engineering configuration [interface] [filter-number] [detail]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The sample output can show all filters or can be limited by interface, filter number, or both.
Examples
The following is sample output from the show ip traffic-engineering configuration detail command:
Router# show ip traffic-engineering configuration detailTraffic Engineering ConfigurationFilter 5: egress 44.0.0.0/8, local metric: ospf-0/1Tunnel5 route installedinterface up, preference 1loop check on, passing, remote metric: connected/0Filter 6: egress 43.0.0.1/32, local metric: ospf-300/3Tunnel7 route installedinterface up, preference 50loop check on, passing, remote metric: ospf-300/2Tunnel6 route not installedinterface up, preference 75loop check on, passing, remote metric: connected/0Table 62 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow ip traffic-engineering routes
Displays information about the requested filters configured for traffic engineering.