Table Of Contents
show mpls oam echo statistics
show mpls platform
show mpls prefix-map
show mpls static binding
show mpls static crossconnect
show mpls tp
show mpls traffic tunnel backup
show mpls traffic-eng autoroute
show mpls traffic-eng auto-tunnel backup
show mpls traffic-eng auto-tunnel mesh
show mpls traffic-eng destination list
show mpls traffic-eng fast-reroute database
show mpls traffic-eng fast-reroute log reroutes
show mpls traffic-eng forwarding-adjacency
show mpls traffic-eng forwarding path-set
show mpls traffic-eng forwarding statistics
show mpls traffic-eng link-management admission-control
show mpls traffic-eng link-management advertisements
show mpls traffic-eng link-management bandwidth-allocation
show mpls traffic-eng link-management igp-neighbors
show mpls traffic-eng link-management interfaces
show mpls traffic-eng link-management summary
show mpls traffic-eng lsp attributes
show mpls traffic-eng process-restart iprouting
show mpls traffic-eng topology
show mpls traffic-eng topology path
show mpls traffic-eng tunnels
show mpls traffic-eng tunnels statistics
show mpls traffic-eng tunnels summary
show mpls ttfib
show pw-udp vc
show running interface auto-template
show running-config vrf
show tech-support mpls
show vfi
show vrf
show xconnect
show xtagatm cos-bandwidth-allocation
show xtagatm cross-connect
show xtagatm vc
snmp mib mpls vpn
snmp-server community
snmp-server enable traps (MPLS)
snmp-server enable traps mpls ldp
snmp-server enable traps mpls rfc ldp
snmp-server enable traps mpls rfc vpn
snmp-server enable traps mpls traffic-eng
snmp-server enable traps mpls vpn
snmp-server group
snmp-server host
status protocol notification static
status (pseudowire class)
status redundancy
switching-point
switching tlv
show mpls oam echo statistics
To display statistics about Multiprotocol Label Switching (MPLS) Operation, Administration, and Maintenance (OAM) echo request packets, use the show mpls oam echo statistics command in privileged EXEC mode.
show mpls oam echo statistics [summary]
Syntax Description
summary
|
(Optional) Displays summary information about the echo request packets (that is, the type, length, values (TLVs) version and the return codes of echo packets are not displayed).
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.4(6)T
|
This command was introduced.
|
12.0(32)SY
|
This command was integrated into Cisco IOS Release 12.0(32)SY.
|
12.4(11)T
|
This command was integrated into Cisco IOS Release 12.4(11)T.
|
12.2(31)SB2
|
This command was integrated into Cisco IOS Release 12.2(31)SB2.
|
12.2(33)SXI
|
This command was integrated into Cisco IOS Release 12.2(33)SXI.
|
Usage Guidelines
You can use the show mpls oam echo statistics command to display the following:
•
Currently configured TLV version for MPLS OAM operations.
•
Return code distribution among the received MPLS echo reply packets.
•
Statistics of sent and received MPLS echo packets, and counts of incomplete packet dispatches and timed out MPLS echo requests.
If you enter the summary keyword, the Echo Reply count shows all the echo reply packets, regardless of whether they are valid responses to a sent request packet. Therefore, the number of return codes will not match the number of echo reply packets received.
Examples
The following example displays sample detailed output when the summary keyword is not specified:
Router# show mpls oam echo statistics
Cisco TLV version: RFC 4379 Compliant
Return code distribution:
!—Success (3) - 5
B—Unlabeled output interface (9) - 0
D—DS map mismatch (5) - 0
f—Forward Error Correction (FEC) mismatch (10) - 0
F—No FEC mapping (4) - 0
I—Unknown upstream interface index (6) - 0
L—Labeled output interface (8) - 0
m—Unsupported TLVs (2) - 0
M—Malformed echo request (1) - 0
N—No label entry (11) - 0
p—Premature termination of link-state packet (LSP) (13) - 0
P—No receive interface label protocol (12) - 0
U—Reserved (7) - 0
x—No return code (0) - 0
X—Undefined return code - 0
Echo Requests: sent (5)/received (0)/timedout (0)/unsent (0)
Echo Replies: sent (0)/received (5)/unsent (0)
The following example displays sample output when the summary keyword is specified:
Router# show mpls oam echo statistics summary
Cisco TLV version: RFC 4379 Compliant
Echo Requests: sent (5)/received (0)/timedout (0)/unsent (0)
Echo Replies: sent (0)/received (5)/unsent (0)
Table 121 describes the significant fields shown in the displays.
Table 121 show mpls oam echo statistics Field Descriptions
Field
|
Description
|
Return Code Distribution
|
In each line of the return code distribution, the following information is displayed:
• Single-character code corresponding to the return code in the received packet (for example ! or B).
• Description of the return code (for example, Success).
• Value of the return code (for example, (3)).
• Number of packets received with the return code (for example, 5).
|
sent
|
Number of MPLS echo request packets that the router sent.
|
timedout
|
Number of MPLS echo request packets that timed out.
|
received
|
Number of MPLS echo request packets that the router received from the network.
|
unsent
|
Number of MPLS echo requests that were not forwarded due to errors.
|
show mpls platform
To display platform-specific information, use the show mpls platform command in EXEC mode.
show mpls platform {common | eompls | gbte-tunnels | reserved-vlans vlan vlan-id | statistics
[reset] | vpn-vlan-mapping}
Syntax Description
common
|
Displays the counters for shared code between the LAN and WAN interfaces.
|
eompls
|
Displays information about the Ethernet over Multiprotocol Label Switching (EoMPLS)-enabled interface.
|
gbte-tunnels
|
Displays information about the Multicast Multilayer Switching (MMLS) Guaranteed Bandwidth Traffic Engineering (GBTE) tunnels.
|
reserved-vlans vlan vlan-id
|
Displays Route Processor (RP)-reserved VLAN show commands; valid values are from 0 to 4095.
|
statistics
|
Displays information about the RP-control plane statistics.
|
reset
|
(Optional) Resets the statistics counters.
|
vpn-vlan-mapping
|
Displays information about the Virtual Private Network (VPN)-to-VLAN mapping table.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.2(17b)SXA
|
Support for 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 Cisco 7600 series routers that are configured with a Supervisor Engine 2.
Examples
This example shows how to display the counters for shared code between the LAN and WAN interfaces:
Router# show mpls platform common
Common MPLS counters for LAN and WAN
-------------------------------------
No. of MPLS configured LAN interfaces = 12
No. of cross-connect configured VLAN interfaces = 0
This example shows how to display the EoMPLS-enabled interface information:
Router# show mpls platform eompls
This example shows how to display the GBTE-tunnels information:
Router# show mpls platform gbte-tunnels
To From InLbl I/I/F kbps Kbits H/W Info
This example shows how to display the RP-reserved VLAN show commands:
Router# show mpls platform reserved-vlans vlan 1005
Note
This example shows the output if there are no configured reserved VLANs.
This example shows how to display the information about the RP-control plane statistics:
Router# show mpls platform statistics
RP MPLS Control Plane Statistics:
==================================================
Reserved VLAN creates 0000000001
Reserved VLAN frees 0000000000
Reserved VLAN creation failures 0000000000
Aggregate Label adds 0000000001
Aggregate Label frees 0000000000
Aggregate Labels in Superman 0000000001
Feature Rsvd VLAN Reqs 0000000000
Feature Gen Rsvd VLAN Reqs 0000000000
Feature Rsvd VLAN Free Reqs 0000000000
EoMPLS VPN# Msgs 0000000009
EoMPLS VPN# Msg Failures 0000000000
EoMPLS VPN# Msg Rsp Failures 0000000000
EoMPLS VPN# Set Reqs 0000000010
EoMPLS VPN# Reset Reqs 0000000008
FIDB malloc failures 0000000000
EoMPLS Req mallocs 0000000018
EoMPLS Req malloc failures 0000000000
EoMPLS Req frees 0000000018
EoMPLS VPN# allocs 0000000010
EoMPLS VPN# frees 0000000008
EoMPLS VPN# alloc failures 0000000000
GB TE tunnel additions 0000000000
GB TE tunnel label resolves 0000000000
GB TE tunnel deletions 0000000000
GB TE tunnel changes 0000000000
GB TE tunnel heads skips 0000000000
gb_flow allocs 0000000000
rsvp req creats 0000000000
rsvp req frees 0000000000
rsvp req malloc failures 0000000000
gb_flow malloc failures 0000000000
psb search failures 0000000000
GB TE tunnel deleton w/o gb_flow 0000000000
errors finding slot number 0000000000
This example shows how to reset the RP-control plane statistics counters:
Router# show mpls platform statistics reset
Resetting Const RP MPLS control plane software statistics ...
GB TE tunnel additions 0000000000
GB TE tunnel label resolves 0000000000
GB TE tunnel deletions 0000000000
GB TE tunnel changes 0000000000
GB TE tunnel heads skips 0000000000
gb_flow allocs 0000000000
rsvp req creats 0000000000
rsvp req frees 0000000000
rsvp req malloc failures 0000000000
gb_flow malloc failures 0000000000
psb search failures 0000000000
GB TE tunnel deleton w/o gb_flow 0000000000
errors finding slot number 0000000000
This example shows how to display information about the VPN-to-VLAN mapping table:
Router# show mpls platform vpn-vlan-mapping
VPN# Rsvd Vlan IDB Created Feature Has agg label In superman EoM data
show mpls prefix-map
Note
Effective with Cisco IOS Release 12.4(20)T, the show mpls prefix-map command is not available in Cisco IOS software.
To display the prefix map used to assign a quality of service (QoS) map to network prefixes that match a standard IP access list, use the show mpls prefix-map command in privileged EXEC mode.
show mpls prefix-map [prefix-map]
Syntax Description
prefix-map
|
(Optional) Number specifying the prefix map to be displayed.
|
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)T
|
This command was introduced.
|
12.0(10)ST
|
This command was modified to reflect Multiprotocol Label Switching (MPLS) Internet Engineering Task Force (IETF) syntax and terminology.
|
12.2(2)T
|
This command was integrated into Cisco IOS Release 12.2(2)T.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
12.4(20)T
|
This command was removed.
|
Usage Guidelines
Not entering a specific prefix-map argument number causes all prefix maps to be displayed.
Examples
The following is sample output from the show mpls prefix-map command:
Router# show mpls prefix-map 2
prefix-map 2 access-list 2 cos-map 2
Table 122 describes the fields shown in the display.
Table 122 show mpls prefix-map Field Descriptions
Field
|
Description
|
prefix-map
|
Unique number of a prefix map.
|
access-list
|
Unique number of an access list.
|
cos-map
|
Unique number of a QoS map.
|
Related Commands
Command
|
Description
|
mpls prefix-map
|
Configures a router to use a specified QoS map when a label destination prefix matches the specified access-list.
|
show mpls static binding
To display Multiprotocol Label Switching (MPLS) static label bindings, use the show mpls static binding command in privileged EXEC mode.
show mpls static binding [ipv4 [vrf vrf-name]] [prefix {mask-length | mask}] [local | remote]
[nexthop address]
Syntax Description
ipv4
|
(Optional) Displays IPv4 static label bindings.
|
vrf vrf-name
|
(Optional) The static label bindings for a specified VPN routing and forwarding instance.
|
prefix {mask-length | mask}
|
(Optional) Labels for a specific prefix.
|
local
|
(Optional) Displays the incoming (local) static label bindings.
|
remote
|
(Optional) Displays the outgoing (remote) static label bindings.
|
nexthop address
|
(Optional) Displays the label bindings for prefixes with outgoing labels for which the specified next hop is to be displayed.
|
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(23)S
|
This command was introduced.
|
12.0(26)S
|
This command was modified. The vrf vrf-name keyword argument pair was added.
|
12.3(14)T
|
This command was integrated into Cisco IOS Release 12.3(14)T.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
Usage Guidelines
If you do not specify any optional arguments, the show mpls static binding command displays information about all static label bindings. Or the information can be limited to any of the following:
•
Bindings for a specific prefix or mask
•
Local (incoming) labels
•
Remote (outgoing) labels
•
Outgoing labels for a specific next hop router
Examples
In the following output, the show mpls static binding ipv4 command with no optional arguments displays all static label bindings:
Router# show mpls static binding ipv4
10.0.0.0/8: Incoming label: none;
10.0.0.0/8: Incoming label: 55 (in LIB)
10.66.0.0/16: Incoming label: 17 (in LIB)
In the following output, the show mpls static binding ipv4 command displays remote (outgoing) statically assigned labels only:
Router# show mpls static binding ipv4 remote
In the following output, the show mpls static binding ipv4 command displays local (incoming) statically assigned labels only:
Router# show mpls static binding ipv4 local
10.0.0.0/8: Incoming label: 55 (in LIB)
10.66.0.0/16: Incoming label: 17 (in LIB)
In the following output, the show mpls static binding ipv4 command displays statically assigned labels for prefix 10.0.0.0 / 8 only:
Router# show mpls static binding ipv4 10.0.0.0/8
10.0.0.0/8: Incoming label: 55 (in LIB)
In the following output, the show mpls static binding ipv4 command displays prefixes with statically assigned outgoing labels for next hop 10.0.0.66:
Router# show mpls static binding ipv4 10.0.0.0 8 nexthop 10.0.0.66
10.0.0.0/8: Incoming label: 55 (in LIB)
The following output, the show mpls static binding ipv4 vrf command displays static label bindings for a VPN routing and forwarding instance vpn100:
Router# show mpls static binding ipv4 vrf vpn100
192.168.2.2/32: (vrf: vpn100) Incoming label: 100020
192.168.0.29/32: Incoming label: 100003 (in LIB)
Related Commands
Command
|
Description
|
mpls static binding ipv4
|
Binds an IPv4 prefix or mask to a local or remote label.
|
show mpls static crossconnect
To display statically configured Label Forwarding Information Database (LFIB) entries, use the show mpls static crossconnect command in privileged EXEC mode.
show mpls static crossconnect [low label [high label]]
Syntax Description
low label high label
|
(Optional) Displays the statically configured LFIB entries.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.0(23)S
|
This command was introduced.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
Usage Guidelines
If you do not specify any label parameters, then all the configured static crossconnects are displayed.
Examples
The following output of the show mpls static crossconnect command shows the local and remote labels:
Router# show mpls static crossconnect
Local Outgoing Outgoing Next Hop
Table 123 describes the significant fields shown in the display.
Table 123 show mpls static crossconnect Field Descriptions
Field
|
Description
|
Local label
|
Label assigned by this router.
|
Outgoing label
|
Label assigned by the next hop.
|
Outgoing interface
|
Interface through which packets with this label are sent.
|
Next Hop
|
IP address of next hop router's interface that is connected to this router's outgoing interface.
|
Related Commands
Command
|
Description
|
mpls static crossconnect
|
Configures an LFIB entry for the specified incoming label and outgoing interface.
|
show mpls tp
To display information about Multiprotocol Label Switching (MPLS) transport profile (TP) tunnels, use the show mpls tp command in user EXEC or privileged EXEC mode.
show mpls tp [link numbers]
show mpls tp [lsps [node-id [options]]] [detail]
show mpls tp [summary]
show mpls tp [tunnel-tp [tunnel-num [options]]] [detail]
Syntax Description
detail
|
(Optional) Displays detailed output.
|
link-numbers
|
(Optional) Displays information about the MPLS TP link number database.
|
lsps [node-id [options]]
|
(Optional) Displays information about the MPLS TP label switched paths (LSPs), including those on midpoint and endpoint routers.
• node-id—Displays only the LSP information for that node ID.
• options—You can use a combination of the following options:
– endpoints—Displays LSP information for the endpoint routers.
– global-id num—Displays LSP information for matching the global ID.
– lsp {num | protect | working}—Displays LSP information for a specific LSP.
– midpoints—Displays information about LSP midpoints configured on a router.
– tunnel-name tunnel-tp-name—Displays the information for a specific named tunnel.
– tunnel-tp num—Displays LSP information for a specific tunnel.
|
summary
|
(Optional) Displays a summary of all link numbers.
|
tunnel-tp [options]
|
(Optional) Displays information for MPLS-TP tunnels. You can use a combination of any of the following options:
• tunnel-tp-number—Displays the information for a specific numbered tunnel.
• lsps—Displays LSP information for MPLS-TP tunnels.
• tunnel-tp-name—Displays the information for a specific named tunnel.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
15.1(1)SA
|
This command was introduced.
|
15.1(3)S
|
This command was integrated.
|
Examples
The following examples display MPLS TP link number information:
Router> show mpls tp link-numbers
Link Interface Next Hop RX Macs
1 Ethernet0/0 10.10.10.10
2 Ethernet0/1 0180.c200.0000 0180.c200.0000
Router> show mpls tp tunnel-tp
Tunnel Peer Active Local Out Out Oper
Number global-id::node-id::tun LSP Label Label Interface State
------ ----------------------- ------ ----- ----- --------- -----
1 1::104.10.1.1::1 work 211 112 Et0/0 up
2 20::104.10.1.1::2 work 221 122 Et0/0 up
3 1::104.10.1.1::3 work 231 132 Et0/1 up
4 0::10.20.20.4::4 work 241 142 Et0/1 up
5 1::104.01.1.1::5 work 251 152 Et0/0 up
Related Commands
Command
|
Description
|
debug mpls tp
|
Displays MPLS TP debug messages.
|
show mpls traffic tunnel backup
To display information about the backup tunnels that are currently configured, use the show mpls traffic tunnel backup command in user EXEC or privileged EXEC mode.
show mpls traffic tunnel backup tunneltunnel-id
Syntax Description
tunneltunnel-id
|
Tunnel ID of the backup tunnel for which you want to display information.
|
Command Default
Information about currently configured backup tunnels is not displayed.
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(22)S
|
This command was introduced.
|
12.2(18)SXD1
|
This command was integrated into Cisco IOS Release 12.2(18)SXD1.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T
|
Examples
The following is sample output from the show mpls traffic tunnel backup tunnel tunnel-id command:
Router# show mpls traffic tunnel backup tunnel1000
Tunnel1000 Dest: 10.0.0.9 State: Up
any-pool cfg 100 inuse 0 num_lsps 0
Table 124 describes the significant fields shown in the display.
Table 124 show mpls traffic tunnel backup Field Descriptions
Field
|
Description
|
Tunnel
|
Tunnel ID of the backup tunnel for which this information is being displayed.
|
Dest
|
IP address of the destination of the backup tunnel.
|
State
|
State of the backup tunnel. Valid values are Up, Down, or Admin-down.
|
any-pool
|
Pool from which bandwidth is acquired. Valid values are any-pool, global-pool, and sub-pool.
|
cfg
|
Amount of bandwidth configured for that pool.
|
inuse
|
Amount of bandwidth currently being used.
|
num_lsps
|
Number of label-switched paths (LSPs) being protected.
|
protects
|
The protected interfaces that are using this backup tunnel.
|
Related Commands
Command
|
Description
|
tunnel mpls traffic-eng backup-bw
|
Specifies what types of LSPs can use a backup tunnel, whether the backup tunnel should provide bandwidth protection, and if so, how much.
|
show mpls traffic-eng autoroute
To display tunnels announced to the Interior Gateway Protocol (IGP), including interface, destination, and bandwidth, use the show mpls traffic-eng autoroute command in user EXEC or privileged EXEC mode.
show mpls traffic-eng autoroute
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
Usage Guidelines
The enhanced shortest path first (SPF) calculation of the IGP has been modified so that it uses traffic engineering tunnels. This command shows which tunnels IGP is currently using in its enhanced SPF calculation (that is, which tunnels are up and have autoroute configured).
Examples
The following is sample output from the show mpls traffic-eng autoroute command.
Note that the tunnels are organized by destination. All tunnels to a destination carry a share of the traffic tunneled to that destination.
Router# show mpls traffic-eng autoroute
MPLS TE autorouting enabled
destination 0002.0002.0002.00 has 2 tunnels
Tunnel1021 (traffic share 10000, nexthop 10.2.2.2, absolute metric 11)
Tunnel1022 (traffic share 3333, nexthop 10.2.2.2, relative metric -3)
destination 0003.0003.0003.00 has 2 tunnels
Tunnel1032 (traffic share 10000, nexthop 172.16.3.3)
Tunnel1031 (traffic share 10000, nexthop 172.16.3.3, relative metric -1)
Table 125 describes the significant fields shown in the display.
Table 125 show mpls traffic-eng autoroute Field Descriptions
Field
|
Description
|
MPLS TE autorouting enabled
|
IGP automatically routes traffic into tunnels.
|
destination
|
MPLS traffic engineering tailend router system ID.
|
traffic share
|
A factor based on bandwidth, indicating how much traffic this tunnel should carry, relative to other tunnels, to the same destination. If two tunnels go to a single destination, one with a traffic share of 200 and the other with a traffic share of 100, the first tunnel carries two-thirds of the traffic.
|
nexthop
|
MPLS traffic engineering tailend IP address of the tunnel.
|
absolute metric
|
MPLS traffic engineering metric with mode absolute of the tunnel.
|
relative metric
|
MPLS traffic engineering metric with mode relative of the tunnel.
|
Related Commands
Command
|
Description
|
show isis mpls traffic-eng tunnel
|
Displays information about tunnels considered in the IS-IS next hop calculation.
|
tunnel mpls traffic-eng autoroute announce
|
Causes the IGP to use the tunnel (if it is up) in its enhanced SPF calculation.
|
tunnel mpls traffic-eng autoroute metric
|
Specifies the MPLS traffic engineering tunnel metric that the IGP enhanced SPF calculation will use.
|
show mpls traffic-eng auto-tunnel backup
To display information about dynamically created Multiprotocol Label Switching (MPLS) traffic engineering (TE) tunnels, use the show mpls traffic-eng auto-tunnel backup command in user EXEC or privileged EXEC mode.
show mpls traffic-eng auto-tunnel backup
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
15.1(1)S
|
This command was introduced.
|
Examples
The following is sample output from the show mpls traffic-eng auto-tunnel backup command.
Router# show mpls traffic-eng auto-tunnel backup
Tunnel Count: 3 (up:2, down: 1)
Tunnel ID Range: 65436-65535
Delete unused tunnels after: 50 Seconds
Table 125 describes the significant fields shown in the display.
Table 126 show mpls traffic-eng auto-tunnel backup Field Descriptions
Field
|
Description
|
State
|
State of the dynamically created tunnel. Valid values are enabled or disabled.
|
Tunnel Count
|
Number of dynamically created backup tunnels created.
|
Tunnel ID Range
|
Tunnel ID range used when creating dynamically created backup tunnels.
|
Create Nhop only
|
Whether the feature was configured to enable the dynamic creation of NHOP backup tunnels (and not NNHOP). Valid values are yes or no.
|
SRLG
|
Type of Shared Risk Link Group. Valid values are forced, preferred, or not configured.
|
Delete unused tunnels after
|
Number of seconds before an unused dynamically created tunnel is torn down.
|
Unnumbered i/f
|
The interface configured with the mpls traffic-eng autotunnel backup config unnumbered-interface command.
|
Affinity
|
The affinity and mask configured with the mpls traffic-eng autotunnel backup config affinity command.
|
Related Commands
Command
|
Description
|
mpls traffic-eng auto-tunnel backup config affinity
|
Enables you to specify link attributes on dynamically created MPLS TE backup tunnels.
|
mpls traffic-eng auto-tunnel backup config unnumbered-interface
|
Enables you to specify the interface to use as the unnumbered interface.
|
mpls traffic-eng auto-tunnel backup nhop-only
|
Specifies dynamically created NHOP backup tunnels only.
|
mpls traffic-eng auto-tunnel backup slrg
|
Specifies the use of Shared Risk Link Groups (SRLGs) as part of the dynamic backup tunnel calculation.
|
mpls traffic-eng auto-tunnel backup timers
|
Specifies the use of timers with dynamically created backup tunnels.
|
mpls traffic-eng auto-tunnel backup tunnel-num
|
Specifies tunnel interface numbers for dynamically created backup tunnels.
|
show mpls traffic-eng auto-tunnel mesh
To display the cloned mesh tunnel interfaces of each autotemplate interface and the current range of mesh tunnel interface numbers, use the show mpls traffic-eng auto-tunnel mesh command in user EXEC mode or privileged EXEC mode.
show mpls traffic-eng auto-tunnel mesh
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(27)S
|
This command was introduced.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Examples
The following is output from the show mpls traffic-eng auto-tunnel mesh command that shows the cloned mesh tunnel interfaces for autotemplate1 and shows the range of mesh tunnel interface numbers. Information for only one autotemplate is displayed because only one autotemplate was configured.
Router# show mpls traffic-eng auto-tunnel mesh
Using access-list 1 to clone the following tunnel interfaces:
Mesh tunnel interface numbers: min 64336 max 65337
Table 127 describes the significant fields shown in the display.
Table 127 show mpls traffic-eng auto-tunnel mesh Field Descriptions
Field
|
Description
|
Auto-Template1
|
Name of the autotemplate.
|
Destination
|
Destination addresses for the mesh tunnel interface cloned from access list 1.
|
Interface
|
Mesh tunnel interfaces cloned from access list 1.
|
min 64336 max 65337
|
Range of mesh tunnel interface numbers for this Auto-Template1—minimum (64336) and maximum (65337).
|
Related Commands
Command
|
Description
|
interface auto-template
|
Creates the template interface.
|
mpls traffic-eng auto-tunnel mesh tunnel-num
|
Configures the range of mesh tunnel interface numbers.
|
show mpls traffic-eng destination list
To display an Multiprotocol Label Switching (MPLS) traffic engineering (TE) point-to-multipoint (P2MP) destination list, use the show mpls traffic-eng destination list command in user EXEC or privileged EXEC configuration mode.
show mpls traffic-eng destination list [name destination-list-name | identifier
destination-list-identifier]
Syntax Description
name destination-list-name
|
(Optional) Specifies the name of a destination list.
|
identifier destination-list-identifier
|
(Optional) Specifies the number of a destination list.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(33)SRE
|
This command was introduced.
|
Usage Guidelines
This command displays the information about any destination lists configured for an MPLS TE P2MP configuration.
Examples
The following example displays information about a destination list:
Router# show mpls traffic-eng destination-list
Destination list: name p2mp-list1
ip 10.3.3.3 path-option 1 dynamic
ip 10.4.4.4 path-option 15 explicit identifier 4
ip 10.5.5.5 path-option 2 explicit name r1-r2-r4-r5
Table 128 describes the significant fields shown in the display.
Table 128 show mpls traffic-eng destination-list Field Descriptions
Field
|
Description
|
Destination list
|
The name of the destination list.
|
ip
|
The IP address of the path's destination.
|
path-option
|
Information about the dynamic or explicit path.
|
Related Commands
Command
|
Description
|
mpls traffic-eng destination-list
|
Creates a destination list for MPLS Point-to-Multipoint Traffic Engineering.
|
show mpls traffic-eng fast-reroute database
To display the contents of the Multiprotocol Label Switching (MPLS) traffic engineering (TE) Fast Reroute (FRR) database, use the show mpls traffic-eng fast-reroute database command in user EXEC or privileged EXEC mode.
Cisco IOS Release 15.0(1)M and Later
show mpls traffic-eng fast-reroute database [interface type number |
labels low-label [-high-label]] [backup-interface {tunnel tunnel-number | unresolved}] [role
{head | middle}] [state {active | ready | requested}] [detail] [vrf name]
Cisco IOS Releases 12.0S and 12.2S
show mpls traffic-eng fast-reroute database [destination-prefix slot slot-number | interface type
number | labels low-label [-high-label]] [backup-interface {tunnel tunnel-number |
unresolved}] [role {head | middle}] [state {active | ready | requested}] [detail] [vrf name]
Syntax Description
destination-prefix
|
(Optional) IP address of the destination.
|
slot
|
Specifies the MPLS Forwarding Infrastructure (MFI) slot.
|
slot-number
|
Slot number of the destination.
|
labels
|
(Optional) Shows only database entries that possess in-labels (local labels) assigned by this router. You specify either a starting value or a range of values.
|
low-label
|
(Optional) Starting label value or lowest value in the range.
|
-high-label
|
(Optional) Highest label value in the range.
|
interface type number
|
(Optional) Specifies the interface type and number to display the database entries related to the primary outgoing interface.
|
backup-interface
|
(Optional) Shows only database entries related to the backup outgoing interface.
|
tunnel tunnel-number
|
(Optional) Specifies the tunnel interface name and number.
|
unresolved
|
(Optional) Specifies the unresolved backup interface.
|
role
|
(Optional) Shows entries associated either with the tunnel head or tunnel midpoint.
|
head
|
Entry associated with tunnel head.
|
middle
|
Entry associated with tunnel midpoint.
|
state
|
(Optional) Displays entries that match one of four possible states: active, ready, partial, or complete.
|
active
|
Specifies the label switched paths (LSP) with an active FRR state.
|
ready
|
Specifies the LSPs with a ready FRR state.
|
requested
|
Specifies the LSPs with a requested FRR state.
|
detail
|
(Optional) Shows long-form information: Label Forwarding Information Base (LFIB)-FRR total number of clusters, groups, and items in addition to the short-form information of prefix, label and state.
|
vrf name
|
(Optional) Shows entries for a Virtual Private Network (VPN) routing/forwarding instance.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(10)ST
|
This command was introduced.
|
12.2(18)S
|
This command was integrated into Cisco IOS Release 12.2(18)S.
|
12.2(18)SXD
|
This command was modified. It was implemented on the Catalyst 6000 series with the SUP720 processor.
|
12.2(28)SB
|
This command was modified. It was implemented on the Cisco 10000(PRE-2) router.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
12.2(33)SRE
|
This command was modified. The output was updated to display MPLS TE point-to-multipoint (P2MP) information.
|
Examples
Sample Output for Cisco IOS Releases 12.0S and 12.2S
The following is sample output from the show mpls traffic-eng fast-reroute database command at a tunnel head link:
Router# show mpls traffic-eng fast-reroute database 10.0.0.0
Tunnel head fast reroute information:
Prefix Tunnel In-label Out intf/label FRR intf/label Status
10.0.0.0/16 Tu111 Tun hd PO0/0:Untagged Tu4000:16 ready
10.0.0.0/16 Tu449 Tun hd PO0/0:Untagged Tu4000:736 ready
10.0.0.0/16 Tu314 Tun hd PO0/0:Untagged Tu4000:757 ready
10.0.0.0/16 Tu313 Tun hd PO0/0:Untagged Tu4000:756 ready
Table 129 describes the fields shown in the display.
Table 129 show mpls traffic-eng fast-reroute database Field Descriptions
Field
|
Description
|
Prefix
|
Address to which packets with this label are going.
|
Tunnel
|
Tunnel's identifying number.
|
In-label
|
Label advertised to other routers to signify a particular prefix. The value "Tun hd" occurs when no such label has been advertised.
|
Out intf/label
|
Out interface—short name of the physical interface through which traffic goes to the protected link.
Out label:
• At a tunnel head, this is the label advertised by the tunnel destination device. The value "Untagged" occurs when no such label has been advertised.
• At tunnel midpoints, this is the label selected by the next hop device. The "Pop Tag" value occurs when the next hop is the tunnel's final hop.
|
FRR intf/label
|
Fast Reroute interface—the backup tunnel interface.
Fast Reroute label:
• At a tunnel head, this is the label selected by the tunnel tail to indicate the destination network. The value "Untagged" occurs when no such label has been advertised.
• At tunnel midpoints, this has the same value as the Out Label.
|
Status
|
State of the rewrite: partial, ready, complete, or active. (These terms are defined above in the "Syntax Description" section).
|
The following is sample output from the show mpls traffic-eng fast-reroute database command with the detail keyword included at a tunnel head link:
Router# show mpls traffic-eng fast-reroute database 10.0.0.0. detail
LFIB FRR Database Summary:
Link 10:PO5/0 (Down, 1 group)
Group 51:PO5/0->Tu4000 (Up, 779 members)
Prefix 10.0.0.0/16, Tu313, active
Input label Tun hd, Output label PO0/0:773, FRR label Tu4000:773
Prefix 10.0.0.0/16, Tu392, active
Input label Tun hd, Output label PO0/0:775, FRR label Tu4000:775
Prefix 10.0.0.0/16, Tu111, active
Input label Tun hd, Output label PO0/0:16, FRR label Tu4000:16
Prefix 10.0.0.0/16, Tu394, active
Input label Tun hd, Output label PO0/0:774, FRR label Tu4000:774
Table 130 describes the significant fields when the detail keyword is used.
Table 130 show mpls traffic-eng fast-reroute database with detail Keyword Field Descriptions
Field
|
Description
|
Total Clusters
|
A cluster is the physical interface upon which Fast Reroute link protection has been enabled.
|
Total Groups
|
A group is a database record that associates the link-protected physical interface with a backup tunnel. A cluster (physical interface) therefore can have one or more groups.
For example, the cluster Ethernet4/0/1 is protected by backup Tunnel1 and backup Tunnel2, and so has two groups.
|
Total Items
|
An item is a database record that associates a rewrite with a group. A group therefore can have one or more items.
|
Link 10:PO5/0 (Down, 1 group)
|
This field describes a cluster (physical interface):
• 10 is the interface's unique IOS-assigned ID number.
• The colon (:) is followed by the interface's short name.
• Parentheses contain the operating state of the interface (Up or Down) and the number of groups associated with it.
|
Group 51:PO5/0->Tu4000 (Up, 779 members)
|
This field describes a group:
• 51 is the ID number of the backup interface.
• The colon (:) is followed by the group's physical interface short name.
• The hyphen and angle bracket (->) is followed by the backup tunnel interface short name.
• Parentheses contain the operating state of the tunnel interface (Up or Down) and the number of items—also called "members"— associated with it.
|
The following is sample output from the show mpls traffic-eng fast-reroute database command with the labels keyword specified at a midpoint link:
Router# show mpls traffic-eng fast-reroute database labels 250-255
Tunnel head fast reroute information:
Prefix Tunnel In-label Outintf/label FRR intf/label Status
LSP midpoint frr information:
LSP identifier In-label Out intf/label FRR intf/label Status
10.110.0.10 229 [7334] 255 PO0/0:694 Tu4000:694 active
10.110.0.10 228 [7332] 254 PO0/0:693 Tu4000:693 active
10.110.0.10 227 [7331] 253 PO0/0:692 Tu4000:692 active
10.110.0.10 226 [7334] 252 PO0/0:691 Tu4000:691 active
10.110.0.10 225 [7333] 251 PO0/0:690 Tu4000:690 active
10.110.0.10 224 [7329] 250 PO0/0:689 Tu4000:689 active
MPLS Traffic Engineering Point-to-Multipoint Fast Reroute Information
The following example shows MPLS TE P2MP information as part of the command output.
Router> show mpls traffic-eng fast-reroute database
P2P Headend FRR information:
Protected tunnel In-label Out intf/label FRR intf/label Status
--------------------------- -------- -------------- -------------- ------
Tunnel1 Tun hd Et0/1:20 Tu777:20 ready
P2P LSP midpoint frr information:
LSP identifier In-label Out intf/label FRR intf/label Status
--------------------------- -------- -------------- -------------- ------
P2MP Sub-LSP FRR information:
src_lspid[subid]->dst_tunid In-label Out intf/label FRR intf/label Status
--------------------------- -------- -------------- -------------- ------
10.1.1..201_1[1]->10.1.1..203_22 Tun hd Et0/0:20 Tu666:20 ready
10.1.1..201_1[2]->10.1.1..206_22 Tun hd Et0/0:20 Tu666:20 ready
10.1.1..201_1[3]->10.1.1..213_22 Tun hd Et0/0:20 Tu666:20 ready
Table 131 describes the significant field shown in the display.
Table 131 show mpls traffic-eng fast-reroute database Point-to-Multipoint Field Descriptions
Field
|
Description
|
Sub-LSP identifier src_lspid[subid]->dst_tunid
|
The source and destination address of the sub-LSP being protected. The P2MP ID is appended to the source address. The tunnel ID is appended to the destination address.
|
The detail keyword provides more information about the P2MP LSPs:
Router# show mpls traffic-eng fast-reroute database detail
Number of protected interfaces: 1
Number of protected tunnels: 2
Number of backup tunnels: 1
Number of active interfaces: 0
Tun ID: 1, LSP ID: 9, Source: 10.2.0.1
Destination: 10.2.5.3, Subgroup ID: 19
Related Commands
Command
|
Description
|
show mpls traffic-eng fast-reroute log reroutes
|
Displays contents of the Fast Reroute event log.
|
show mpls traffic-eng fast-reroute log reroutes
To display the contents of the Fast Reroute event log, use the show mpls traffic-eng fast-reroute log reroutes command in user EXEC mode.
show mpls traffic-eng fast-reroute log reroutes
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
user EXEC
Command History
Release
|
Modification
|
12.0(10)ST
|
This command was introduced.
|
12.2(18)S
|
This command was integrated into Cisco IOS Release 12.2(18)S.
|
12.2(18)SXD
|
This command was implemented on the Catalyst 6000 series with the SUP720 processor.
|
12.2(28)SB
|
This command was implemented on the Cisco 10000(PRE-2) router.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
Examples
The following example shows output from the show mpls traffic-eng fast-reroute log reroutes command:
Router# show mpls traffic-eng fast-reroute log reroutes
When Interface Event Rewrites Duration CPU msecs Suspends Errors
00:27:39 PO0/0 Down 1079 30 msecs 30 0 0
00:27:35 PO0/0 Up 1079 40 msecs 40 0 0
Table 132 describes significant fields shown in the display.
Table 132 show mpls traffic-eng fast-reroute log reroutes Field Descriptions
Field
|
Description
|
When
|
Indicates how long ago the logged event occurred (before this line was displayed on your screen). Displayed as hours, minutes, seconds.
|
Interface
|
The physical or tunnel interface where the logged event occurred.
|
Event
|
The change to Up or Down by the affected interface.
|
Rewrites
|
Total number of reroutes accomplished because of this event.
|
Duration
|
Time elapsed during the rerouting process, in milliseconds.
|
CPU msecs
|
CPU time spent processing those reroutes, in milliseconds. (This is less than or equal to the Duration value).
|
Suspends
|
Number of times that reroute processing for this event was interrupted to let the CPU handle other tasks.
|
Errors
|
Number of unsuccessful reroute attempts.
|
show mpls traffic-eng forwarding-adjacency
To display traffic engineering (TE) tunnels that are advertised as links in an Interior Gateway Protocol (IGP) network, use the show mpls traffic-eng forwarding-adjacency command in user EXEC or privileged EXEC mode.
show mpls traffic-eng forwarding-adjacency [ip-address]
Syntax Description
ip-address
|
(Optional) Destination address for forwarding adjacency tunnels.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(15)S
|
This command was introduced.
|
12.0(16)ST
|
This command was integrated into Cisco IOS Release 12.0(16)ST.
|
12.2(18)S
|
This command was integrated into Cisco IOS Release 2.2(18)S.
|
12.2(18)SXD
|
This command was integrated into Cisco IOS Release 12.2(18)SXD.
|
12.2(27)SBC
|
This command was integrated into Cisco IOS Release 12.2(27)SBC.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Usage Guidelines
Use the show mpls traffic-eng forwarding-adjacency command to display information about tunnels configured with the tunnel mpls traffic-eng forwarding-adjacency command.
Examples
The following is sample output from the show mpls traffic-eng forwarding-adjacency command:
Router# show mpls traffic-eng forwarding-adjacency
destination 0168.0001.0007.00 has 1 tunnels
Tunnel7 (traffic share 100000, nexthop 192.168.1.7)
(flags:Announce Forward-Adjacency, holdtime 0)
Router# show mpls traffic-eng forwarding-adjacency 192.168.1.7
destination 0168.0001.0007.00 has 1 tunnels
Tunnel7 (traffic share 100000, nexthop 192.168.1.7)
(flags:Announce Forward-Adjacency, holdtime 0)
Related Commands
Command
|
Description
|
debug mpls traffic-eng forwarding-adjacency
|
Displays debug messages for traffic engineering forwarding adjacency events.
|
tunnel mpls traffic-eng forwarding-adjacency
|
Advertises a TE tunnel as a link in an IGP network.
|
show mpls traffic-eng forwarding path-set
To display the sublabel switched paths (sub-LSPs) that originate from the headend router, use the show mpls traffic-eng forwarding path-set command in user EXEC or privileged EXEC mode.
show mpls traffic-eng forwarding path-set [brief | detail]
Syntax Description
brief
|
(Optional) Displays information about the sub-LSPs in a table format.
|
detail
|
(Optional) Displays detailed information about the sub-LSPs.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(33)SRE
|
This command was introduced.
|
Examples
The following example displays information about the sub-LSPs in a summary format, including the number of sub-LSPs and the number of paths from the headend router.
Router> show mpls traffic-eng forwarding path-set
ID Input I/F LSPID InLabel PathCnt subLSPCnt
---- --------- ----- ------- ------- ---------
The following example shows six sub-LSPs originating at the headend router and going to different destinations. All the sub-LSPs belong to the same path set, which is a collection of paths. The path set is given a unique ID, which is shown in the PSID column of the example:
Router# show mpls traffic-eng forwarding path-set brief
src_lspid[subid]->dst_tunid InLabel Next Hop I/F PSID
--------------------------- ------- ------------- ------ ----
10.1.1.201_1[1]->10.1.1.203_22 none 10.0.0.205 Et0/0 9F000001
10.1.1.201_1[2]->10.1.1.206_22 none 10.0.0.205 Et0/0 9F000001
10.1.1.201_1[3]->10.1.1.213_22 none 10.0.0.205 Et0/0 9F000001
10.1.1.201_1[4]->10.1.1.214_22 none 10.0.1.202 Et0/1 9F000001
10.1.1.201_1[5]->10.1.1.216_22 none 10.0.1.202 Et0/1 9F000001
10.1.1.201_1[6]->10.1.1.217_22 none 10.0.1.202 Et0/1 9F000001
The show mpls traffic-eng forwarding path-set detail command shows more information about the sub-LSPs that originate from the headend router. For example:
Router# show mpls traffic-eng forwarding path-set detail
LSP: Source: 10.1.0.1, TunID: 100, LSPID: 7
Destination: 10.2.0.1, P2MP Subgroup ID: 1
FRR OutLabel : Tunnel666, 16
LSP: Source: 10.1.0.1, TunID: 100, LSPID: 7
Destination: 10.3.0.1, P2MP Subgroup ID: 2
FRR OutLabel : Tunnel666, 16
Table 133 describes the significant fields shown in the display.
Table 133 show mpls traffic-eng forwarding path-set Field Descriptions
Field
|
Description
|
ID
|
Path set ID.
|
Input I/F
|
The ID assigned to the tunnel that the sub-LSPs use.
|
LSPID
|
Sub-LSP ID.
|
InLabel
|
MPLS label in the input interface.
|
PathCnt
|
Number of paths from the headend router.
|
subLSPCnt
|
Number of sub-LSPS from the headend router.
|
Sub-LSP Identifier src_lspid[subid]->dst_tunid
|
The source and destination address of the sub-LSP being protected. The P2MP ID is appended to the source address. The tunnel ID is appended to the destination address.
|
Next Hop
|
Next-hop router.
|
I/F
|
The interface that the sub-LSPs use.
|
PSID
|
Path set ID.
|
Source
|
IP address of the headend router.
|
TunID
|
The ID assigned to the tunnel that the sub-LSPs use.
|
Destination
|
IP address of the destination router.
|
P2MP Subgroup ID
|
A consectutive number assigned to each sub-LSP.
|
Path Set ID
|
Path set ID.
|
OutLabel
|
The interface from which the label exits and the MPLS label that exits the interface.
|
FRR OutLabel
|
The tunnel from which the label exits and the MPLS label that exits the tunnel.
|
Related Commands
Command
|
Description
|
ip path-option
|
Species an explicit or dynamic path option for a particular destination address in a destination list
|
show mpls traffic-eng forwarding statistics
To display information about Multiprotocol Label Switching (MPLS) traffic engineering (TE) point-to-pultipoint (P2MP) paths and sublabel switched paths (sub-LSPs), use the show mpls traffic-eng forwarding statistics command in user EXEC or privileged EXEC mode.
show mpls traffic-eng forwarding statistics
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(33)SRE
|
This command was introduced.
|
Examples
The following example displays informtion about MPLS TE P2MP paths and sub-LSPs:
Router# show mpls traffic-eng forwarding statistics
Input Label Allocation for Path Sets: 2
Current Label Allocated: 2
Add sub-LSP to Path Set: 5
Delete sub-LSP from Path Set 0 (prune: 0, flush: 0)
Table 134 describes the significant fields shown in the display.
Table 134 show mpls traffic-eng forwarding statistics Field Descriptions
Field
|
Description
|
Path Set Creation
|
Number of path sets created.
|
Path Set Deletion
|
Number of path sets deleted.
|
Input Label Allocation for Path Sets
|
Number of input labels allocated for the path sets.
|
Input Label Free
|
Number of free input labels.
|
Current Label Allocated
|
Number of labels allocated for forwarding.
|
PSI Nodes Allocated
|
Number of path set nodes allocated.
|
PSI Nodes Freed
|
Number of path set nodes freed
|
Add sub-LSP to Path Set
|
Number of sub-LSPs in the path set.
|
Delete sub-LSP from Path Set
|
Number of sub-LSPs removed from the path set, either by pruning or flushing.
|
Update Path for FRR
|
Number of paths updated for fast reroute.
|
Failures
|
Number of path set failures
|
Related Commands
Command
|
Description
|
show mpls traffic-eng forwarding path-set
|
Display the sub-LSPs that originate from the headend router.
|
show mpls traffic-eng link-management admission-control
To show which tunnels were admitted locally and their parameters (such as, priority, bandwidth, incoming and outgoing interface, and state), use the show mpls traffic-eng link-management admission-control command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management admission-control [interface-name]
Syntax Description
interface-name
|
(Optional) Displays only tunnels that were admitted on the specified interface.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.1(3)T
|
The command output changed. The BW field now shows bandwidth in kBps, and it is followed by the status (reserved or held) of the bandwidth.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
Examples
The following is sample output from the show mpls traffic-eng link-management admission-control command:
Router # show mpls traffic-eng link-management admission-control
TUNNEL ID UP IF DOWN IF PRIORITY STATE BW (kbps)
10.106.0.6 1000_1 AT1/0.2 - 0/0 Resv Admitted 0
10.106.0.6 2000_1 Et4/0/1 - 1/1 Resv Admitted 0
10.106.0.6 1_2 Et4/0/1 Et4/0/2 1/1 Resv Admitted 3000 R
10.106.0.6 2_2 AT1/0.2 AT0/0.2 1/1 Resv Admitted 3000 R
Table 135 describes the significant fields shown in the display.
Table 135 show mpls traffic-eng link-management admission-control Field Descriptions
Field
|
Description
|
Tunnels Count
|
Total number of tunnels admitted.
|
Tunnels Selected
|
Number of tunnels to be displayed.
|
TUNNEL ID
|
Tunnel identification.
|
UP IF
|
Upstream interface that the tunnel used.
|
DOWN IF
|
Downstream interface that the tunnel used.
|
PRIORITY
|
Setup priority of the tunnel followed by the hold priority.
|
STATE
|
Admission status of the tunnel.
|
BW (kbps)
|
Bandwidth of the tunnel (in kBps). If an "R" follows the bandwidth number, the bandwidth is reserved. If an "H" follows the bandwidth number, the bandwidth is temporarily being held for a path message.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management advertisements
|
Displays local link information that MPLS traffic engineering link management is currently flooding into the global traffic engineering topology.
|
show mpls traffic-eng link-management bandwidth-allocation
|
Displays current local link information.
|
show mpls traffic-eng link-management igp-neighbors
|
Displays IGP neighbors.
|
show mpls traffic-eng link-management interfaces
|
Displays per-interface resource and configuration information.
|
show mpls traffic-eng link-management summary
|
Displays a summary of link management information.
|
show mpls traffic-eng link-management advertisements
To display local link information that Multiprotocol Label Switching (MPLS) traffic engineering link management is flooding into the global traffic engineering topology, use the show mpls traffic-eng link-management advertisements command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management advertisements
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.1(3)T
|
The command output was modified.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
The output was enhanced to show Internet Gateway Protocol (IGP) recovery status provided by the Cisco IOS Software Modularity: MPLS Layer 3 VPNs feature.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Examples
The following is sample output from the show mpls traffic-eng link-management advertisements command:
Router# show mpls traffic-eng link-management advertisements
IGP Area[1] ID:: isis level-1
IGP System ID: 0001.0000.0001.00
MPLS TE Router ID: 10.106.0.6
Link IP Address: 10.1.0.6
IGP Neighbor: ID 0001.0000.0001.02
Physical Bandwidth: 10000 kbits/sec
Max Reservable BW: 5000 kbits/sec
Reservable Bandwidth[0]: 5000 kbits/sec
Reservable Bandwidth[1]: 2000 kbits/sec
Reservable Bandwidth[2]: 2000 kbits/sec
Reservable Bandwidth[3]: 2000 kbits/sec
Reservable Bandwidth[4]: 2000 kbits/sec
Reservable Bandwidth[5]: 2000 kbits/sec
Reservable Bandwidth[6]: 2000 kbits/sec
Reservable Bandwidth[7]: 2000 kbits/sec
Attribute Flags: 0x00000000
Table 136 describes the significant fields shown in the display.
Table 136 show mpls traffic-eng link-management advertisements Field Descriptions
Field
|
Description
|
Flooding Status
|
Status of the link management flooding system.
|
Configured Areas
|
Number of the Interior Gateway Protocol (IGP) areas configured.
|
IGP Area [1] ID
|
Name of the first IGP area.
|
Flooding Protocol
|
IGP that is flooding information for this area.
|
IGP System ID
|
Identification that IGP flooding uses in this area to identify this node.
|
MPLS TE Router ID
|
MPLS traffic engineering router ID.
|
Flooded Links
|
Number of links that are flooded in this area.
|
Link ID
|
Index of the link that is being described.
|
Link IP Address
|
Local IP address of this link.
|
IGP Neighbor
|
IGP neighbor on this link.
|
Admin. Weight
|
Administrative weight associated with this link.
|
Physical Bandwidth
|
Link bandwidth capacity (in kBps).
|
Max Reservable BW
|
Amount of reservable bandwidth (in kBps) on this link.
|
Reservable Bandwidth
|
Amount of bandwidth (in kBps) that is available for reservation.
|
Attribute Flags
|
Attribute flags of the link are being flooded.
|
The following is sample output from the show mpls traffic-eng link-management advertisements command with the enhanced output, which shows the "IGP recovering" status, from the Cisco IOS Software Modularity: MPLS Layer 3 VPNs feature:
Router# show mpls traffic-eng link-management advertisements
show mpls traffic-eng link-management advertisements
Flooding Status: ready (IGP recovering)
IGP Area[1] ID:: ospf area nil
Table 137 describes the significant fields shown in the display.
Table 137 show mpls traffic-eng link-management advertisements Field Descriptions
Field
|
Description
|
Flooding Status
|
Status of the link management flooding system. The notation (IGP recovering) indicates that flooding cannot be determined because an IP routing process restart is in progress.
|
Configured Areas
|
Number of the IGP areas configured.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management bandwidth-allocation
|
Displays current local link information.
|
show mpls traffic-eng link-management igp-neighbors
|
Displays IGP neighbors.
|
show mpls traffic-eng link-management interfaces
|
Displays per-interface resource and configuration information.
|
show mpls traffic-eng link-management summary
|
Displays a summary of link management information.
|
show mpls traffic-eng link-management bandwidth-allocation
To display current local link information, use the show mpls traffic-eng link-management bandwidth-allocation command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management bandwidth-allocation [summary] [interface-type
interface-number]
Syntax Description
summary
|
(Optional) Displays summary of bandwidth allocation.
|
interface-type interface-number
|
(Optional) The specified interface that admitted tunnels.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
12.2(33)SRC
|
This command was modified. The summary interface-name interface-number keyword-argument combination was added.
|
Cisco IOS XE Release 2.6
|
This command was integrated into Cisco IOS XE Release 2.6.
|
Usage Guidelines
Advertised information might differ from the current information, depending on how flooding was configured.
Examples
Interface Example
The following is sample output from the show mpls traffic-eng link-management bandwidth-allocation command for a specified interface:
Router# show mpls traffic-eng link-management bandwidth-allocation gigabitEthernet 4/0/1
Bandwidth Hold Time: max. 15 seconds
Link ID:: Ge4/0/1 (10.1.0.6)
Physical Bandwidth: 10000 kbits/sec
Max Reservable BW: 5000 kbits/sec (reserved:0% in, 60% out)
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: reject-huge
Outbound Admission: allow-if-room
Up Thresholds: 15 30 45 60 75 80 85 90 95 96 97 98 99 100 (default)
Down Thresholds: 100 99 98 97 96 95 90 85 80 75 60 45 30 15 (default)
Downstream Bandwidth Information (kbits/sec):
KEEP PRIORITY BW HELD BW TOTAL HELD BW LOCKED BW TOTAL LOCKED
Table 138 describes the significant fields shown in the display.
Table 138 show mpls traffic-eng link-management bandwidth-allocation Field Descriptions
Field
|
Description
|
Links Count
|
Number of links configured for Multiprotocol Label Switching (MPLS) traffic engineering (TE).
|
Bandwidth Hold Time
|
Amount of time, in seconds, that bandwidth can be held.
|
Link ID
|
Interface name and IP address of the link being described.
|
Physical Bandwidth
|
Link bandwidth capacity (in kilobits per second).
|
Max Reservable BW
|
Amount of reservable bandwidth on this link.
|
BW Descriptors
|
Number of bandwidth allocations on this link.
|
MPLS TE Link State
|
Status of the link's MPLS traffic engineering-related functions.
|
Inbound Admission
|
Link admission policy for incoming tunnels.
|
Outbound Admission
|
Link admission policy for outgoing tunnels.
|
Admin. Weight
|
Link administrative weight.
|
IGP Neighbor Count
|
List of the Interior Gateway Protocol (IGP) neighbors directly reachable over this link.
|
Up Thresholds
|
Link's bandwidth thresholds for allocations.
|
Down Thresholds
|
Link's bandwidth thresholds for deallocations.
|
KEEP PRIORITY
|
Priority levels for the link's bandwidth allocations.
|
BW HELD
|
Amount of bandwidth (in kBps) temporarily held at this priority for path messages.
|
BW TOTAL HELD
|
Bandwidth held at this priority and those above it.
|
BW LOCKED
|
Amount of bandwidth reserved at this priority.
|
BW TOTAL LOCKED
|
Bandwidth locked at this priority and those above it.
|
Summary Example for Regular TE (or Russian Dolls Model [RDM] DiffServ-Aware TE) with Multiple Interfaces
The following is sample output from the show mpls traffic-eng link-management bandwidth-allocation summary command for all the configured interfaces:
Router# show mpls traffic-eng link-management bandwidth-allocation summary
interface Intf Max Intf Avail Sub Max Sub Avail
Et0/0 47000 42500 42000 40500
Table 139 describes the significant fields shown in the display.
Table 139 show mpls traffic-eng link-management bandwidth-allocation summary Field Descriptions
Field
|
Description
|
interface
|
Name of the interface.
|
Intf Max
|
Maximum amount of bandwidth, in kbps, available on the interface.
|
Intf Avail
|
Amount of bandwidth, in kbps, currently available on the interface.
|
Sub Max
|
Maximum amount of bandwidth, in kbps, available in the subpool.
|
Sub Avail
|
Amount of bandwidth, in kbps, currently available in the subpool.
|
Summary Example for Regular TE (or Russian Dolls Model [RDM] DiffServ-Aware (DS) TE) with a Single Interface
The following is sample output from the show mpls traffic-eng link-management bandwidth-allocation summary command for one configured interface:
Router# show mpls traffic-eng link-management bandwidth-allocation summary Ethernet 0/0
interface Intf Max Intf Avail Sub Max Sub Avail
Et0/0 47000 42500 42000 40500
See Table 139 for an explanation of the fields.
Summary Example with a Specified Interface for Maximum Allocation Model (MAM) DS-TE
The following is sample output from the show mpls traffic-eng link-management bandwidth-allocation summary command for all the configured interfaces:
Router# show mpls traffic-eng link-management bandwidth-allocation summary
interface Intf Max BC0 Max BC0 Avail BC1 Max BC1 Avail
Et0/0 45000 40000 37000 30000 28500
Table 140 describes the significant fields shown in the display.
Table 140 show mpls traffic-eng link-management bandwidth-allocation summary Field Descriptions
Field
|
Description
|
interface
|
Name of the interface.
|
Intf Max
|
Maximum amount of bandwidth, in kbps, available on the interface.
|
BC0 Max
|
Maximum amount of bandwidth, in kbps, available in the global pool.
|
BC0 Avail
|
Amount of bandwidth, in kbps, currently available in the global pool.
|
BC1 Max
|
Maximum amount of bandwidth, in kbps, available in the subpool.
|
BC1 Avail
|
Amount of bandwidth, in kbps, currently available in the subpool.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management advertisements
|
Displays local link information currently being flooded by MPLS traffic engineering link management into the global traffic engineering topology.
|
show mpls traffic-eng link-management igp-neighbors
|
Displays IGP neighbors.
|
show mpls traffic-eng link-management interfaces
|
Displays per-interface resource and configuration information.
|
show mpls traffic-eng link-management summary
|
Displays a summary of link management information.
|
show mpls traffic-eng link-management igp-neighbors
To display Interior Gateway Protocol (IGP) neighbors, use the show mpls traffic-eng link-management igp-neighbors command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management igp-neighbors [interface-type number | igp-id {isis
isis-address | ospf ospf-id} | ip ip-address]
Syntax Description
interface-type number
|
(Optional) Specifies the interface type and number for which the IGP neighbors are displayed.
|
igp-id
|
(Optional) Displays the IGP neighbors that are using a specified IGP identification.
|
isis isis-address
|
(Optional) Displays the specified IS-IS neighbor when you display neighbors by IGP ID.
|
ospf ospf-id
|
(Optional) Displays the specified OSPF neighbor when you display neighbors by IGP ID.
|
ip ip-address
|
(Optional) Displays the IGP neighbors that are using a specified IGP IP address.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
12.4(24)T
|
This command was modified in a release earlier than Cisco IOS Release 12.4(24)T. The interface-type and number arguments were added.
|
Examples
The following is sample output from the show mpls traffic-eng link-management igp-neighbors command:
Router# show mpls traffic-eng line-management igp-neighbors
Neighbor ID: 0000.0024.0004.02 (area: isis level-1, IP: 10.0.0.0)
Neighbor ID: 0000.0026.0001.00 (area: isis level-1, IP: 172.16.1.2)
Table 141 describes the significant fields shown in the display.
Table 141 show mpls traffic-eng link-management igp-neighbors Field Descriptions
Field
|
Description
|
Link ID
|
Link by which the neighbor is reached.
|
Neighbor ID
|
IGP identification information for the neighbor.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management advertisements
|
Displays local link information currently being flooded by MPLS traffic engineering link management into the global traffic engineering topology.
|
show mpls traffic-eng link-management bandwidth-allocation
|
Displays current local link information.
|
show mpls traffic-eng link-management interfaces
|
Displays per-interface resource and configuration information.
|
show mpls traffic-eng link-management summary
|
Displays a summary of link management information.
|
show mpls traffic-eng link-management interfaces
To display interface resource and configuration information, use the show mpls traffic-eng link-management interfaces command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management interfaces [interface-name]
Syntax Description
interface-name
|
(Optional) Displays information only for the specified interface.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.1(3)T
|
The command output was modified.
|
12.2(28)SB
|
The command output was enhanced to display the Shared Risk Link Group (SRLG) membership of links.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Usage Guidelines
Use this command to display resource and configuration information for all configured interfaces.
Examples
The following is sample output from the show mpls traffic-eng link-management interfaces command:
Router# show mpls traffic-eng link-management interfaces Et4/0/1
Link ID:: Et4/0/1 (10.1.0.6)
Physical Bandwidth: 10000 kbits/sec
Max Reservable BW: 5000 kbits/sec (reserved:0% in, 60% out)
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: reject-huge
Outbound Admission: allow-if-room
IGP Neighbor: ID 0001.0000.0001.02, IP 10.0.0.0 (Up)
Flooding Status for each configured area [1]:
IGP Area[1]: isis level-1: flooded
The following is sample output from the show mpls traffic-eng link-management interfaces command when SRLGs are configured:
Router# show mpls traffic-eng link-management interfaces pos3/1
Link ID:: PO3/1 (10.0.0.33)
Physical Bandwidth: 2488000 kbits/sec
Max Res Global BW: 20000 kbits/sec (reserved:0% in, 0% out)
Max Res Sub BW: 5000 kbits/sec (reserved:0% in, 0% out)
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: allow-all
Outbound Admission: allow-if-room
IGP Neighbor: ID 0000.0000.0004.00, IP 10.0.0.34 (Up)
Flooding Status for each configured area [1]:
IGP Area[1]: isis level-2: flooded
Table 142 describes the significant fields shown in the displays.
Table 142 show mpls traffic-eng link-management interfaces Field Descriptions
Field
|
Description
|
Links Count
|
Number of links that were enabled for use with Multiprotocol Label Switching (MPLS) traffic engineering.
|
Link ID
|
Index of the link.
|
SRLGs
|
The SRLGs to which the link belongs.
|
Physical Bandwidth
|
Link's bandwidth capacity, in kBps.
|
Max Reservable BW
|
Amount of reservable bandwidth, in kb/s, on this link.
|
Max Res Global BW
|
Amount of reservable bandwidth, in kb/s, available for the global pool.
|
Max Res Sub BW
|
Amount of reservable bandwidth, in kb/s, available for the subpool.
|
MPLS TE Link State
|
The status of the MPLS link.
|
Inbound Admission
|
Link admission policy for inbound tunnels.
|
Outbound Admission
|
Link admission policy for outbound tunnels.
|
Admin. Weight
|
Administrative weight associated with this link.
|
IGP Neighbor Count
|
Number of Interior Gateway Protocol (IGP) neighbors directly reachable over this link.
|
IGP Neighbor
|
IGP neighbor on this link.
|
Flooding Status for each configured area
|
Flooding status for the specified configured area.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management advertisements
|
Displays local link information being flooded by MPLS traffic engineering link management into the global traffic engineering topology.
|
show mpls traffic-eng link-management bandwidth-allocation
|
Displays current local link information.
|
show mpls traffic-eng link-management igp-neighbors
|
Displays IGP neighbors.
|
show mpls traffic-eng link-management summary
|
Displays a summary of link management information.
|
show mpls traffic-eng link-management summary
To display a summary of link management information, use the show mpls traffic-eng link-management summary command in user EXEC or privileged EXEC mode.
show mpls traffic-eng link-management summary [interface-name]
Syntax Description
interface-name
|
Specific interface for which information will be displayed.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.1(3)T
|
The command output was modified.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
The output was enhanced to display Internet Gateway Protocol (IGP) recovery status provided by the Cisco IOS Software Modularity: MPLS Layer 3 VPNs feature.
|
Examples
The following is sample output from the show mpls traffic-eng link-management summary command:
Router# show mpls traffic-eng link-management summary
IGP Area ID:: isis level-1
Flooding Status: data flooded
Periodic Flooding: enabled (every 180 seconds)
IGP System ID: 0001.0000.0001.00
MPLS TE Router ID: 10.106.0.6
Link ID:: Et4/0/1 (10.1.0.6)
Physical Bandwidth: 10000 kbits/sec
Max Reservable BW: 5000 kbits/sec (reserved:0% in, 60% out)
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: reject-huge
Outbound Admission: allow-if-room
Link ID:: AT0/0.2 (10.42.0.6)
Physical Bandwidth: 155520 kbits/sec
Max Reservable BW: 5000 kbits/sec (reserved:0% in, 0% out)
MPLS TE Link State: MPLS TE on, RSVP on
Inbound Admission: allow-all
Outbound Admission: allow-if-room
Table 143 describes the significant fields shown in the display.
Table 143 show mpls traffic-eng link-management summary Field Descriptions
Field
|
Description
|
Links Count
|
Number of links configured for Multiprotocol Label Switching (MPLS) traffic engineering.
|
Flooding System
|
Enable status of the MPLS traffic engineering flooding system.
|
IGP Area ID
|
Name of the IGP area being described.
|
Flooding Protocol
|
IGP being used to flood information for this area.
|
Flooding Status
|
Status of flooding for this area.
|
Periodic Flooding
|
Status of periodic flooding for this area.
|
Flooded Links
|
Number of links that were flooded.
|
IGP System ID
|
IGP for this node associated with this area.
|
MPLS TE Router ID
|
MPLS traffic engineering router ID for this node.
|
IGP Neighbors
|
Number of reachable IGP neighbors associated with this area.
|
Link ID
|
Interface name and IP address of the link being described.
|
Physical Bandwidth
|
Link bandwidth capacity (in kBps).
|
Max Reservable BW
|
Amount of reservable bandwidth (in kBps) on this link.
|
MPLS TE Link State
|
Status of the link's MPLS traffic engineering-related functions.
|
Inbound Admission
|
Link admission policy for incoming tunnels.
|
Outbound Admission
|
Link admission policy for outgoing tunnels.
|
Admin. Weight
|
Link administrative weight.
|
IGP Neighbor Count
|
List of the IGP neighbors directly reachable over this link.
|
The following is sample output from the show mpls traffic-eng link-management summary command with the enhanced output, which shows the "IGP recovering" status, from the Cisco IOS Software Modularity: MPLS Layer 3 VPNs feature:
Router# show mpls traffic-eng link-management summary
Flooding System: enabled (IGP recovering)
IGP Area ID:: ospf area nil
Flooding Status: data flooded
Periodic Flooding: enabled (every 180 seconds)
Table 144 describes the significant fields shown in the display.
Table 144 show mpls traffic-eng link-management summary Field Descriptions
Field
|
Description
|
Links Count
|
Number of links configured for MPLS traffic engineering.
|
Flooding System
|
Status of the MPLS traffic engineering flooding system.
The notation (IGP recovering) indicates that status cannot be determined because an IP routing process restart is in progress.
|
IGP Area ID
|
Name of the IGP area being described.
|
Flooding Protocol
|
IGP being used to flood information for this area.
|
Flooding Status
|
Status of flooding for this area.
|
Periodic Flooding
|
Status of periodic flooding for this area.
|
Flooded Links
|
Number of links that were flooded.
|
Related Commands
Command
|
Description
|
show mpls traffic-eng link-management advertisements
|
Displays local link information currently being flooded by MPLS traffic engineering link management into the global traffic engineering topology.
|
show mpls traffic-eng link-management bandwidth-allocation
|
Displays current local link information.
|
show mpls traffic-eng link-management igp-neighbors
|
Displays IGP neighbors.
|
show mpls traffic-eng link-management interfaces
|
Displays per-interface resource and configuration information.
|
show mpls traffic-eng lsp attributes
To display global label switched path (LSP) attribute lists, use the show mpls traffic-eng lsp attributes command in user EXEC or privileged EXEC mode.
show mpls traffic-eng lsp attributes [name string] [internal]
Syntax Description
name
|
(Optional) Identifies a specific LSP attribute list.
|
string
|
Describes the string argument.
|
internal
|
(Optional) Displays LSP atrribute list internal information.
|
Command Default
If no keywords or arguments are specified, all LSP attribute lists are displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(26)S
|
This command was introduced.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Cisco IOS XE Release 2.1
|
This command was integrated into Cisco IOS XE Release 2.1.
|
Usage Guidelines
Use this command to display information about all LSP attribute lists or a specific LSP attribute list.
Examples
The following example shows output from the show mpls traffic-eng lsp attributes command:
Router# show mpls traffic-eng lsp attributes
affinity 0xFF mask 0xFFFFFFFF
protection fast-reroute bw-protect
Table 145 describes the significant fields shown in the display.
Table 145 show mpls traffic-eng lsp attributes Field Descriptions
Field
|
Description
|
LIST
|
Identifies the LSP attribute list.
|
affinity
|
Indicates the LSP attribute that specifies attribute flags for LSP links. Values are 0 or 1.
|
mask
|
Indicates which attribute values should be checked.
|
auto-bw collect-bw
|
Indicates automatic bandwidth configuration.
|
protection fast re-route bw-protect
|
Indicates that the failure protection is enabled.
|
lockdown
|
Indicates that the reoptimization for the LSP is disabled.
|
priority
|
Indicates the LSP attribute that specifies LSP priority.
|
record-route
|
Indicates the record of the route used by the LSP.
|
bandwidth
|
Indicates the LSP attribute that specifies LSP bandwidth.
|
Related Commands
Command
|
Description
|
mpls traffic-eng lsp attributes
|
Creates or modifies an LSP attribute list.
|
show mpls traffic-eng process-restart iprouting
To display the status of IP routing and Multiprotocol Label Switching (MPLS) traffic engineering synchronization after an IP routing process restart, use the show mpls traffic-eng process-restart iprouting command in user EXEC or privileged EXEC mode.
show mpls traffic-eng process-restart iprouting
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.2(33)SXH
|
This command was introduced.
|
Usage Guidelines
This command displays information about the synchronization between the IP routing process and MPLS TE that you can provide to your technical support representative when you are reporting a problem.
All counters are set to zero when the system process initializes and are not reset no matter how often the IP routing process restarts.
The following is sample output from the show mpls traffic-eng process-restart iprouting command when an IP routing process has restarted normally:
Router# show mpls traffic-eng process-restart iprouting
IP Routing Restart Statistics:
State Entered Count Timestamp Timestamp Timestamp
NORM 3 05/10/06-13:07:10 05/10/06-13:10:45 05/10/06-13:11:5
AWAIT-CFG 2 05/10/06-13:10:32 05/10/06-13:11:45
CFG 2 05/10/06-13:10:32 05/10/06-13:11:45
NCMPL-FLSH 2 05/10/06-13:10:32 05/10/06-13:11:45
NCMPL-FLSHD 2 05/10/06-13:10:32 05/10/06-13:11:45
Stuck State Count Timestamp Timestamp Timestamp
No Stuck states encountered
Counter Count Timestamp Timestamp Timestamp
Reg Succeed 40 05/10/06-13:11:51 05/10/06-13:11:45 05/10/06-13:11:45
Incarnation 5 05/10/06-13:11:45 05/10/06-13:11:45 05/10/06-13:10:37
Flushing 2 05/10/06-13:10:32 05/10/06-13:11:45
Table 146 describes the normal output of the significant fields shown in the display. You should contact your technical support representative if your display has values other than those described in the table.
Table 146 show mpls traffic-eng process-restart iprouting Field Descriptions
Field
|
Description
|
Current State
|
This indicates the restart status. NORM indicates that routing convergence has occurred and that TE and the Internet Gateway Protocols (IGPs) have synchronized.
|
Flushing State
|
This indicates the flushing state. It should indicate IDLE.
|
Stuck State
|
This indicates the stuck state. The Count column should indicate that no stuck state has been encountered.
|
Reg Fail
|
This indicates a registry failure. The Count column should indicate 0.
|
Related Commands
Command
|
Description
|
debug mpls traffic-eng process-restart
|
Displays information about process restarts for reporting to your technical support representative.
|
show mpls traffic-eng topology
To display the Multiprotocol Label Switching (MPLS) traffic engineering global topology as currently known at the node, use the show mpls traffic-eng topology command in user EXEC or privileged EXEC mode.
show mpls traffic-eng topology [area area-id | level-1 | level-2] [ip-address [brief | internal] |
igp-id {isis nsapaddr | ospf ip-address [network | router]} [brief] | srlg]
Syntax Description
area
|
(Optional) Restricts output to an Open Shortest Path First (OSPF) area.
|
area-id
|
The OSPF area ID. The range is from 0 to 4294967295.
|
level-1
|
(Optional) Restricts output to a System-to-Intermediate System (IS-IS) level-1.
|
level-2
|
(Optional) Restricts output to an IS-IS level-2.
|
ip-address
|
(Optional) The node by the IP address (router identifier to interface address).
|
brief
|
(Optional) Provides a less detailed version of the topology.
|
internal
|
(Optional) Specifies to use the internal format.
|
igp-id
|
(Optional) Specifies the node by Interior Gateway Protocol (IGP) router identifier.
|
isis nsapaddr
|
Specifies the node by router identification if using Intermediate IS-IS.
|
ospf ip-address
|
Specifies the node by router identifier if using OSPF.
|
network
|
(Optional) Specifies the node type as network.
|
router
|
(Optional) Specifies the node type as router.
|
srlg
|
(Optional) Displays Shared Risk Link Groups (SRLG) membership for each link in a topology.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.0(11)ST
|
This command was modified. The single "Reservable" column was replaced by two columns: one each for "global pool" and for "subpool."
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T.
|
12.2(28)SB
|
This command was modified. The area, level-1, and level-2 keywords were added.
|
12.2(33)SRA
|
This command was modified and integrated into Cisco IOS Release 12.2(33)SRA. The srlg keyword was added.
|
12.2SX
|
This command was integrated into Cisco IOS Release 12.2SX. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
Examples
The following example shows output from the show mpls traffic-eng topology command:
Router# show mpls traffic-eng topology
My_System_id: 0000.0000.0001.00 (isis 1 level-2)
My_System_id: 10.10.10.10 (ospf 100 area 0)
Signalling error holddown: 10 sec Global Link Generation 56
IGP Id: 0000.0000.0001.00, MPLS TE Id: 10.10.10.10 Router Node (isis 1 level-2)
Link[0]:Point-to-Point, Nbr IGP Id:0000.0000.0002.00, Nbr Node Id:6, gen:56
Frag Id:0, Intf Address:10.2.2.1, Intf Id:0
Nbr Intf Address:10.2.2.2, Nbr Intf Id:0
TE Metric:10, IGP Metric:10, Attribute Flags:0x0
Switching Capability:, Encoding:
Physical BW:155520 (kbps), Max Reservable BW:1000 (kbps)
BC0:600 (kbps) BC1:400 (kbps)
Total Allocated Reservable
--------------- -----------
Link[1]:Point-to-Point, Nbr IGP Id:0000.0000.0002.00, Nbr Node Id:6, gen:56
Frag Id:0, Intf Address:10.1.1.1, Intf Id:0
Nbr Intf Address:10.1.1.2, Nbr Intf Id:0
TE Metric:10, IGP Metric:10, Attribute Flags:0x0
Switching Capability:, Encoding:
Physical BW:155520 (kbps), Max Reservable BW:1000 (kbps)
BC0:600 (kbps) BC1:400 (kbps)
Total Allocated Reservable
--------------- -----------
Table 147 describes significant fields shown in the display.
Table 147 show mpls traffic-eng topology Field Descriptions
Field
|
Description
|
My_System_id
|
Unique identifier of the IGP.
|
My_BC_Model_Type: MAM
|
Bandwidth constraints model of the local node: either Maximum Allocation Model (MAM) or Russian Dolls Model (RDM).
|
Signalling error holddown:
|
Link hold-down timer configured to handle path error events to exclude link from topology.
|
IGP Id
|
Identification of the advertising router.
|
MPLS TE Id
|
Unique MPLS traffic engineering node identifier.
|
Intf Id:
|
Interface identifier.
|
Router Node
|
Type of node.
|
Nbr IGP Id
|
Neighbor IGP router identifier.
|
Intf Address
|
The interface address of the link.
|
Nbr Intf Address:
|
IP address of the neighbor interface.
|
BC Model ID:
|
Bandwidth Constraints Model ID: RDM or MAM.
|
gen
|
Generation number of the link-state packet (LSP). This internal number is incremented when any new LSP is received.
|
Frag Id
|
IGP link-state advertisement (LSA) fragment identifier.
|
TE Metric
|
TE cost of the link.
|
IGP Metric
|
IGP cost of the link.
|
Attribute Flags
|
The requirements on the attributes of the links that the traffic crosses.
|
Physical BW
|
Physical line rate.
|
Max Reservable BW
|
Maximum amount of bandwidth, in kilobits per second (kb/s), that can be reserved on a link.
|
Total Allocated
|
Amount of bandwidth, in kb/s, allocated at that priority.
|
Reservable
|
Amount of available bandwidth, in kb/s, reservable for that TE-Class for two pools: BC0 (formerly called "global") and BC1 (formerly called "sub").
|
Related Commands
Command
|
Description
|
show mpls traffic-eng tunnels
|
Displays information about tunnels.
|
show mpls traffic-eng topology path
To show the properties of the best available path to a specified destination that satisfies certain constraints, use the show mpls traffic-eng topology path command in user EXEC or privileged EXEC mode.
show mpls traffic-eng topology path {tunnel-interface [destination address]
| destination address} [bandwidth value] [priority value [value]]
[affinity value [mask mask]]
Syntax Description
tunnel-interface
|
Name of an MPLS traffic engineering interface (for example, Tunnel1) from which default constraints should be copied.
|
destination address
|
(Optional) IP address specifying the path's destination.
|
bandwidth value
|
(Optional) Bandwidth constraint. The amount of available bandwidth that a suitable path requires. This overrides the bandwidth constraint obtained from the specified tunnel interface. You can specify any positive number.
|
priority value [value]
|
(Optional) Priority constraints. The setup and hold priorities used to acquire bandwidth along the path. If specified, this overrides the priority constraints obtained from the tunnel interface. Valid values are from 0 to 7.
|
affinity value
|
(Optional) Affinity constraints. The link attributes for which the path has an affinity. If specified, this overrides the affinity constraints obtained from the tunnel interface.
|
mask mask
|
(Optional) Affinity constraints. The mask associated with the affinity specification.
|
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.1(3)T
|
This command was introduced.
|
12.0(10)ST
|
This command was integrated into Cisco IOS Release 12.0(10)ST.
|
12.0(22)S
|
This command was integrated into Cisco IOS Release 12.0(22)S.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
Usage Guidelines
The specified constraints override any constraints obtained from a reference tunnel.
Examples
The following is sample output from the show mpls traffic-eng topology path command:
Router # show mpls traffic-eng topology path Tunnel1 bandwidth 1000
Priorities:1 (setup), 1 (hold)
Affinity:0x0 (value), 0xFFFF (mask)
Min Bandwidth Along Path:2000 (kbps)
Max Bandwidth Along Path:5000 (kbps)
Hop 0:10.1.0.6 :affinity 00000000, bandwidth 2000 (kbps)
Hop 1:10.1.0.10 :affinity 00000000, bandwidth 5000 (kbps)
Hop 2:10.43.0.10 :affinity 00000000, bandwidth 2000 (kbps)
Table 148 describes the significant fields shown in the display.
Table 148 show mpls traffic-eng topology path Field Descriptions
Field
|
Description
|
Destination
|
IP address of the path's destination.
|
Bandwidth
|
Amount of available bandwidth that a suitable path requires.
|
Priorities
|
Setup and hold priorities used to acquire bandwidth.
|
Affinity
|
Link attributes for which the path has an affinity.
|
Min Bandwidth Along Path
|
Minimum amount of bandwidth configured for a path.
|
Max Bandwidth Along Path
|
Maximum amount of bandwidth configured for a path.
|
Hop
|
Information about each link in the path.
|
show mpls traffic-eng tunnels
To display information about traffic engineering (TE) tunnels, use the show mpls traffic-eng tunnels command in user EXEC or privileged EXEC mode.
show mpls traffic-eng tunnels [[attributes list-name] [destination address] [down] [interface
type number] [name name] [name-regexp reg-exp] [property {auto-tunnel {backup | mesh |
primary} | backup-tunnel | fast-reroute}] [role {all | head | middle | remote | tail}]
[source-id {ipaddress [tunnel-id]}] [suboptimal constraints {current | max | none}]
[statistics] [summary] [up]] [accounting | backup | brief | protection]
Syntax Description
attributes list-name
|
(Optional) Restricts the display to tunnels that use a matching attributes list.
|
destination address
|
(Optional) Restricts the display to tunnels destined to a specified IP address.
|
down
|
(Optional) Displays tunnels that are not active.
|
interface
|
(Optional) Displays information for a specified interface.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
number
|
Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.
|
name name
|
(Optional) Displays the tunnel with the specified string. The tunnel string is derived from the interface description, if specified; otherwise, it is the interface name. The tunnel string is included in the signaling message so that it is available at all hops.
|
name-regexp regexp
|
(Optional) Displays tunnels whose descriptions match the specified regular expression.
|
property
|
(Optional) Displays tunnels with the specified property.
|
auto-tunnel
|
Displays information about autotunnels.
|
backup
|
Displays information about the Fast Reroute (FRR) protection provided by each tunnel selected by other options specified with this command. The information includes the physical interface protected by the tunnel, the number of TE label switched packets (LSPs) (that is, tunnels) protected, and the bandwidth protected.
|
mesh
|
Displays information about auto-tunnel mesh tunnel interfaces.
|
primary
|
Displays information about auto-tunnel primary tunnel interfaces.
|
backup-tunnel
|
Displays information about the FRR protection provided by each tunnel selected by other options specified with this command. The information includes the physical interface protected by the tunnel, the number of TE LSPs protected, and the bandwidth protected.
|
fast-reroute
|
Selects FRR-protected MPLS TE tunnels originating, transmitting, or terminating on this router.
|
role
|
Restricts the display to tunnels with the indicated role (all, head, middle, tail, or remote).
|
all
|
Displays all tunnels.
|
head
|
Displays tunnels with their head at this router.
|
middle
|
Displays tunnels with a midpoint at this router.
|
remote
|
Displays tunnels with their head at some other router; this is a combination of middle and tail keywords.
|
tail
|
Displays tunnels with a tail at this router.
|
source-id
|
(Optional) Restricts the display to tunnels with a matching source IP address or tunnel number.
|
ipaddress
|
Source IP address.
|
tunnel-id
|
Tunnel number. The range is from 0 to 65535.
|
suboptimal
|
(Optional) Displays information about tunnels using a suboptimal path.
|
constraints
|
Specifies constraints for finding the best comparison path.
|
current
|
Displays tunnels whose path metric is greater than the current shortest path, constrained by the tunnel's configured options. Selected tunnels would have a shorter path if they were reoptimized immediately.
|
max
|
Displays information for the specified tunneling interface.
|
none
|
Displays tunnels whose path metric is greater than the shortest unconstrained path. Selected tunnels have a longer path than the Interior Gateway Protocol's (IGP) shortest path.
|
statistics
|
(Optional) Displays event counters for one or more tunnels.
|
summary
|
(Optional) Displays event counters accumulated for all tunnels.
|
up
|
(Optional) Displays tunnels if the tunnel interface is up. Tunnel midpoints and tails are typically up or not present.
|
accounting
|
(Optional) Displays accounting information (the rate of the traffic flow) for tunnels.
|
brief
|
(Optional) Specifies a format with one line per tunnel.
|
protection
|
(Optional) Displays information about the protection provided by each tunnel selected by other options specified with this command. The information includes the protection (if any) provided to the tunnel by this router, the protection configured for the tunnel, and the bandwidth protected.
|
Command Default
General information about each MPLS TE tunnel known to the router is displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.1(3)T
|
Input and output interface information was added to the new brief form of the output. The suboptimal and interface keywords were added to the nonbrief format. The nonbrief, nonsummary formats contain the history of the LSP selection.
|
12.0(10)ST
|
This command was integrated into Cisco IOS Release 12.0(10)ST.
|
12.0(22)S
|
The property and protection keywords were added. The command is supported on Cisco 10000 series routers.
|
12.2(18)S
|
The following keywords were added: accounting, attributes, name-regexp, and property auto-tunnel. The property backup keyword was changed to property backup-tunnel.
|
12.2(18)SXD1
|
This command was integrated into Cisco IOS Release 12.2(18)SXD1.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
12.2(33)SRE
|
This command was modified. The detail and dest-mode keywords were added. The output was updated to display MPLS TE point-to-multipoint (P2MP) information.
The command output was enhanced to include the configuration and status when a path option list is configured for backup path options. The output also shows information about tunnels configured with autoroute announce.
|
15.0(1)S
|
This command was modified. The command output was enhanced to include information about P2MP LSPs and sub-LSPs.
|
12.2(50)SY
|
This command was integrated into Cisco IOS Release 12.2(50)SY.
|
Usage Guidelines
To select the tunnels for which information is displayed, use the auto-tunnel, backup-tunnel, attributes, destination, interface, name, name-regexp, property, role, source-id, suboptimal constraints, up, and down keywords singly or combined.
To select the type of information displayed about the selected tunnels, use the accounting, backup, protection, statistics, and summary keywords.
The auto-tunnel, backup-tunnel, and property keywords display the same information, except that the property keyword restricts the display to autotunnels, backup tunnels, or tunnels that are FRR-protected.
The name-regexp keyword displays output for each tunnel whose name contains a specified string. For example, if there are tunnels named iou-100-t1, iou-100-t2, and iou-100-t100, the show mpls traffic-eng tunnels name-regexp iou-100 command displays output for the three tunnels whose name contains the string iou-100.
If you specify the name keyword, the command output is displayed only if the command name is an exact match, for example, iou-100-t1.
The nonbrief and nonsummary formats of the output contain the history of the LSP selection.
"Reroute Pending" State Changes in Cisco IOS Release 12.2(33)SRE
In releases earlier than Cisco IOS Release 12.2(33)SRE, MPLS TE P2P tunnels display "reroute pending" during reoptimization until the "delayed clean" status of the old path is complete. During the "delayed clean" process, the command output displays the following status:
Router# show mpls traffic-eng tunnels tunnel 534
Name: Router_t534 (Tunnel534) Destination: 10.30.30.8
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit PRIMARY_TO_8 (Basis for Setup, path weight 30)
!!! path option 10 delayed clean in progress
!!! Change in required resources detected: reroute pending
Currently Signalled Parameters:
Bandwidth: 300 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
In Cisco IOS Release 12.2(33)SRE and later releases, P2P and P2MP MPLS TE tunnels display "reroute pending" during reoptimization until the new path is used for forwarding. The "reroute pending" status is not displayed during the delayed clean operation. There is no change to data forwarding or tunnel creation. You might see the "reroute pending" status for a shorter time. In the following example, the "reroute pending" message appears, but the "delayed clean" message does not.
Router# show mpls traffic-eng tunnels tunnel 534
Name: Router_t534 (Tunnel534) Destination: 10.30.30.8
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit PRIMARY_TO_8 (Basis for Setup, path weight 30)
Change in required resources detected: reroute pending
Currently Signalled Parameters:
Bandwidth: 300 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
Examples
The following is sample output from the show mpls traffic-eng tunnels brief command. It displays brief information about every MPLS TE tunnel known to the router.
Router# show mpls traffic-eng tunnels brief
LSP Tunnels Process: running
Periodic reoptimization: every 3600 seconds, next in 1706 seconds
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
Router_t1 10.112.0.12 - PO4/0/1 up/up
Router_t2 10.112.0.12 - unknown up/down
Router_t3 10.112.0.12 - unknown admin-down
Router_t1000 10.110.0.10 - unknown up/down
Router_t2000 10.110.0.10 - PO4/0/1 up/up
Displayed 5 (of 5) heads, 0 (of 0) midpoints, 0 (of 0) tails
Table 149 describes the significant fields shown in the display.
Table 149 show mpls traffic-eng tunnels Field Descriptions
Field
|
Description
|
LSP Tunnels Process
|
Status of the LSP tunnels process.
|
RSVP Process
|
Status of the Resource Reservation Protocol (RSVP) process.
|
Forwarding
|
Status of forwarding (enabled or disabled).
|
Periodic reoptimization
|
Schedule for periodic reoptimization (in seconds).
|
TUNNEL NAME
|
Name of the interface that is configured at the tunnel head.
|
DESTINATION
|
Identifier of the tailend router.
|
UP IF
|
Upstream interface that the tunnel used.
|
DOWN IF
|
Downstream interface that the tunnel used.
|
STATE/PROT
|
For tunnel heads, the value is admin-down, up, or down. For nonheads, the value is signaled.
|
The following is sample output from the show mpls traffic-eng tunnels property fast-reroute brief command. It displays brief information about all MPLS TE tunnels acting as FRR backup tunnels (property backup-tunnel) for interfaces on the router.
Router# show mpls traffic-eng tunnels property fast-reroute brief
LSP Tunnels Process: running
Periodic reoptimization: every 3600 seconds, next in 2231 seconds
Periodic FRR Promotion: every 300 seconds, next in 131 seconds
Periodic auto-bw collection: disabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
Router_t2000 10.110.0.10 - PO4/0/1 up/up
Router_t2 10.112.0.12 - unknown up/down
Router_t3 10.112.0.12 - unknown admin-down
Displayed 3 (of 9) heads, 0 (of 1) midpoints, 0 (of 0) tails
The following is sample output from the show mpls traffic-eng tunnels backup command. This command selects every MPLS TE tunnel known to the router and displays information about the FRR protection that each selected tunnel provides for interfaces on this router; the command does not generate output for tunnels that do not provide FRR protection of interfaces on this router.
Router# show mpls traffic-eng tunnels backup
LSP Head, Tunnel578, Admin: up, Oper: up
Src 10.55.55.55, Dest 10.88.88.88, Instance 1
Fast Reroute Backup Provided:
Protected i/fs: PO1/0, PO1/1, PO3/3
Backup BW: any pool unlimited; inuse: 100 kbps
LSP Head, Tunnel5710, Admin: admin-down, Oper: down
Src 10.55.55.55, Dest 192.168.7.7, Instance 0
Fast Reroute Backup Provided:
Backup BW: any pool unlimited; inuse: 0 kbps
LSP Head, Tunnel5711, Admin: up, Oper: up
Src 10.55.55.55, Dest 10.7.7.7, Instance 1
Fast Reroute Backup Provided:
Backup BW: any pool unlimited; inuse: 6010 kbps
The following is sample output from the show mpls traffic-eng tunnels property fast-reroute protection command. This command selects every MPLS TE tunnel known to the router that was signaled as a FRR-protected LSP (property fast-reroute) and displays information about the protection this router provides for each selected tunnel.
Router# show mpls traffic-eng tunnels property fast-reroute protection
LSP Head, Tunnel1, Admin: up, Oper: up
Src 10.55.55.55, Dest 10.88.88.88, Instance 25
Fast Reroute Protection: Requested
Backup Tu5711 to LSP nhop
Tu5711: out i/f: PO1/1, label: implicit-null
Original: out i/f: PO1/0, label: 12304, nhop: 10.1.1.7
With FRR: out i/f: Tu5711, label: 12304
LSP bw: 6000 kbps, Backup level: any unlimited, type: any pool
LSP Head, Tunnel2, Admin: up, Oper: up
Src 10.55.55.55, Dest 10.88.88.88, Instance 2
Fast Reroute Protection: Requested
Tu578: out i/f: PO1/0, label: 12306
Original: out i/f: PO3/3, label: implicit-null, nhop: 10.3.3.8
With FRR: out i/f: Tu578, label: implicit-null
LSP bw: 100 kbps, Backup level: any unlimited, type: any pool
LSP Midpoint, signalled, connection up
Src 10.9.9.9, Dest 10.88.88.88, Instance 2347
Fast Reroute Protection: Requested
Original: in i/f: PO1/2, label: 12304, phop: 10.205.0.9
Backup Tu5711 to LSP nhop
Tu5711: out i/f: PO1/1, label: implicit-null
Original: out i/f: PO1/0, label: 12305, nhop: 10.1.1.7
With FRR: out i/f: Tu5711, label: 12305
LSP bw: 10 kbps, Backup level: any unlimited, type: any pool
The following is sample output from the show mpls traffic-eng tunnels tunnel command. This command displays information about just a single tunnel.
Router# show mpls traffic-eng tunnels tunnel 1
Name: swat76k1_t1 (Tunnel1) Destination: 10.0.0.4
Admin: admin-down Oper: down Path: not valid Signalling: Down
path option 1, type explicit gi7/4-R4
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 bw-based
Shortest Unconstrained Path Info:
Explicit Route: 10.1.0.1 10.1.0.2 172.0.0.1 192.0.0.4
Time since created: 13 days, 52 minutes
Number of LSP IDs (Tun_Instances) used: 0 swat76k1#
swat76k1#sh mpls traf tun property ?
auto-tunnel auto-tunnel created tunnels
backup-tunnel Tunnels used as fast reroute
fast-reroute Tunnels protected by fast reroute
The following is sample output from the show mpls traffic-eng tunnels accounting command. This command displays the rate of the traffic flow for the tunnels.
Router# show mpls traffic-eng tunnels accounting
Tunnel1 (Destination 10.103.103.103; Name iou-100_t1)
5 minute output rate 0 kbits/sec, 0 packets/sec
Tunnel2 (Destination 10.103.103.103; Name iou-100_t2)
5 minute output rate 0 kbits/sec, 0 packets/sec Tunnel100 (Destination 10.101.101.101;
Name iou-100_t100)
5 minute output rate 0 kbits/sec, 0 packets/sec Totals for 3 Tunnels
5 minute output rate 0 kbits/sec, 0 packets/sec
When the MPLS TE P2MP feature is configured, the show mpls traffic-eng tunnels command categorizes the output as follows:
•
P2P tunnels/LSPs
•
P2MP tunnels
•
P2MP sub-LSPs
The following sample output of the show mpls traffic-eng tunnels brief command displays information about the P2MP tunnel and the sub-LSP:
Router# show mpls traffic-eng tunnels brief
LSP Tunnels Process: running
Passive LSP Listener: running
Periodic reoptimization: every 60 seconds, next in 5 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: disabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
p2p-LSP 10.2.0.1 - Se2/0 up/up
Displayed 2 (of 2) heads, 0 (of 0) midpoints, 0 (of 0) tails
INTERFACE STATE/PROT UP/CFG TUNID LSPID
Displayed 2 (of 2) P2MP heads
SOURCE TUNID LSPID DESTINATION SUBID ST UP IF DOWN IF
10.1.0.1 2 1 10.2.0.1 1 up head Se2/0
10.1.0.1 2 1 10.3.0.199 2 up head Et2/0
10.1.0.1 2 1 19.4.0.1 2 up head s2/0
10.1.0.1 2 2 1 9.4.0.1 2 up head s2/0
10.1.0.1 5 2 10.5.0.1 7 up head e2/0
100.100.100.100 1 3 200.200.200.200 1 up ge2/0 s2/0
100.100.100.100 1 3 10.1.0.1 1 up e2/0 tail
Displayed 7 P2MP sub-LSPs:
5 (of 5) heads, 1 (of 1) midpoints, 1 (of 1) tails
The following is sample output from the show mpls traffic-eng tunnels command for a tunnel named t1. The output displays the following:
•
An adjustment threshold of 5 percent
•
An overflow limit of 4
•
An overflow threshold of 25 percent
•
An overflow threshold exceeded by 1
Router# show mpls traffic-eng tunnels name t1
Name:tagsw4500-9_t1 (Tunnel1) Destination:10.0.0.4
Admin:up Oper:up Path:valid Signalling:connected
path option 1, type explicit pbr_south (Basis for Setup, path weight 30)
path option 2, type dynamic
Bandwidth:13 kbps (Global) Priority:7 7 Affinity:0x0/0xFFFF
AutoRoute: disabled LockDown:disabled Loadshare:13 bw-based
auto-bw:(300/265) 53 Bandwidth Requested: 13
Overflow Limit: 4 Overflow Threshold: 25%
Overflow Threshold Crossed: 1
Sample Missed: 1 Samples Collected: 1
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Src 10.0.0.1, Dst 10.0.0.4, Tun_Id 2, Tun_Instance 2
Explicit Route: 10.105.0.2 104.105.0.1 10.0.0.4
Tspec: ave rate=13 kbits, burst=1000 bytes, peak rate=13 kbits
Tspec: ave rate=13 kbits, burst=1000 bytes, peak rate=13 kbits
Fspec: ave rate=13 kbits, burst=1000 bytes, peak rate=13 kbits
Shortest Unconstrained Path Info:
Explicit Route: 10.105.0.2 104.105.0.1 10.0.0.4
Time since created: 7 days, 4 hours, 42 minutes
Time since path change: 54 seconds
Number of LSP IDs (Tun_Instances) used: 2
SSO recovered <full|partial> (2 subLSP recovered, 0 failed)
Removal Trigger: signalling shutdown
The following sample output from the show mpls traffic-eng tunnels tunnel command for Cisco IOS Release 12.2(33)SRE shows path protection information. This command displays information about a single tunnel.
Router# show mpls traffic-eng tunnels tunnel 1
Name: iou-100_t2 (Tunnel2) Destination: 10.10.0.2
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit primary1 (Basis for Setup, path weight 10)
Path Protection: 0 Common Link(s), 0 Common Node(s)
path protect option 10, type list name secondary-list
Inuse path-option 10, type explicit secondary1 (Basis for Protect, path weight 20)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute announce: enabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Ethernet7/0, implicit-null
RSVP Signalling Info:
Src 100.100.100.100, Dst 10.10.0.2, Tun_Id 2, Tun_Instance 188
RSVP Path Info:
My Address: 10.1.0.1
Explicit Route: 10.1.0.2 10.10.0.2
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 10 (TE)
Explicit Route: 10.1.0.1 10.1.0.2 10.10.0.2
History:
Time since created: 7 days, 4 hours, 42 minutes
Time since path change: 54 seconds
Number of LSP IDs (Tun_Instances) used: 2
SSO recovered <full|partial> (2 subLSP recovered, 0 failed)
Removal Trigger: signalling shutdown
The following sample output from the show mpls traffic-eng tunnels command for
Cisco IOS Release 12.2(33)SRE shows autoroute destination information:
Router# show mpls traffic-eng tunnel tunnel 109
Name: PE-7_t109 (Tunnel109) Destination: 10.0.0.9
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit to_109 (Basis for Setup, path weight 64)
path option 20, type explicit to_109_alt
Bandwidth: 0 kbps (Global Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
Autoroute announce: enabled LockDown: disabled Loadshare: 0 bx-based
auto-bw: disabled
AutoRoute destination: enabled
Table 150 describes the significant fields shown in the display.
Table 150 show mpls traffic-eng tunnels Field Descriptions
Field
|
Description
|
LSP Tunnels Process
|
Status of the LSP tunnels process.
|
RSVP Process
|
Status of the RSVP process.
|
Forwarding
|
Status of forwarding (enabled or disabled).
|
Periodic reoptimization
|
Schedule for periodic reoptimization (in seconds).
|
TUNNEL NAME
|
Name of the interface that is configured at the tunnel head.
|
DESTINATION
|
Identifier of the tailend router.
|
UP IF
|
Upstream interface that the tunnel used.
|
DOWN IF
|
Downstream interface that the tunnel used.
|
STATE/PROT
|
For tunnel heads, admin-down, up, or down. For nonheads, signaled.
|
Adjustment threshold
|
Configured threshold. This field is displayed only if a threshold is explicitly configured.
|
Overflow Limit Overflow Threshold
|
These fields are displayed only if an overflow limit was specified in the tunnel mpls traffic-eng auto-bw command. The tunnel resizes before the end of the sampling interval if the output rate exceeds the current bandwidth by the percentage specified in the overflow threshold, or if the output rate exceeds the number of times specified in the overflow limit.
|
Overflow Threshold Crossed
|
Number of times the output rate exceeded the overflow threshold in consecutive collection intervals. This value is reset at the beginning of the automatic bandwidth sampling interval.
|
Number of Auto-bw Adjustment resize requests
|
Number of times the tunnel was resized because an output rate exceeded the adjustment threshold. This field is displayed only if the number is greater than zero and if automatic bandwidth is enabled on the tunnel. This counter is reset each time automatic bandwidth is enabled on the tunnel. You can clear this counter at any time by entering the clear mpls traffic-eng auto-bw timer command.
|
Time since last Auto-bw Adjustment resize request
|
The amount of time (in minutes and seconds) since the last bandwidth adjustment.
|
Number of Auto-bw Overflow resize requests
|
The number of times (in seconds) the tunnel was resized because an overflow limit was exceeded. This field is displayed only if the number is greater than zero and if an overflow limit is enabled on the tunnel. This counter is reset each time automatic bandwidth is enabled on the tunnel. You can clear this counter at any time by entering the clear mpls traffic-eng auto-bw timer command.
|
Time since last Auto-bw Overflow resize request
|
The amount of time (in seconds) since the tunnel was resized because an overflow limit was exceeded.
|
Related Commands
Command
|
Description
|
mpls traffic-eng reoptimize timers frequency
|
Controls the frequency with which tunnels with established LSPs are checked for better LSPs.
|
mpls traffic-eng tunnels (configuration)
|
Enables MPLS traffic engineering tunnel signaling on a device.
|
mpls traffic-eng tunnels (interface)
|
Enables MPLS traffic engineering tunnel signaling on an interface.
|
show mpls traffic-eng tunnels statistics
To display event counters for one or more Multiprotocol Label Switching (MPLS) traffic engineering tunnels, use the show mpls traffic-eng tunnels statistics command in user EXEC and privileged EXEC mode.
show mpls traffic-eng tunnels [tunnel tunnel-name] statistics [summary]
Syntax Description
tunnel tunnel-name
|
(Optional) Displays event counters accumulated for the specified tunnel.
|
summary
|
(Optional) Displays event counters accumulated for all tunnels.
|
Defaults
If you enter the command without any keywords, the command displays the event counters for every MPLS traffic engineering tunnel interface configured on the router.
Command Modes
User EXEC (>)
Privileged EXEC mode (#)
Command History
Release
|
Modification
|
12.0(14)ST
|
This command was introduced.
|
12.2(11)S
|
This command was integrated into Cisco IOS Release 12.2(11)S.
|
12.0(22)S
|
This command was integrated into Cisco IOS Release 12.0(22)S.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
12.2(33)SRE
|
This command was modified. The output was updated to display MPLS TE point-to-multipoint (P2MP) information.
|
Usage Guidelines
A label switching router (LSR) maintains counters for each MPLS traffic engineering tunnel headend that counts significant events for the tunnel, such as state transitions for the tunnel, changes to the tunnel path, and various signaling failures. You can use the show mpls traffic-eng tunnels statistics command to display these counters for a single tunnel, for every tunnel, or for all tunnels (accumulated values). Displaying the counters is often useful for troubleshooting tunnel problems.
Examples
The following are examples of output from the show mpls traffic-eng tunnels statistics command:
Router# show mpls traffic-eng tunnels tunnel tunnel1001 statistics
Tunnel1001 (Destination 10.8.8.8; Name Router_t1001)
Path: 25 no path, 1 path no longer valid, 0 missing ip exp path
State: 3 transitions, 0 admin down, 1 oper down
Opens: 2 succeeded, 0 timed out, 0 bad path spec
Errors: 0 no b/w, 0 no route, 0 admin
0 bad exp route, 0 rec route loop, 0 other
Router# show mpls traffic-eng tunnels statistics
Tunnel1001 (Destination 10.8.8.8; Name Router_t1001)
Path: 25 no path, 1 path no longer valid, 0 missing ip exp path
State: 3 transitions, 0 admin down, 1 oper down
Opens: 2 succeeded, 0 timed out, 0 bad path spec
Errors: 0 no b/w, 0 no route, 0 admin
0 bad exp route, 0 rec route loop, 0 other
.
.
.
Tunnel7050 (Destination 10.8.8.8; Name Router_t7050)
Path: 19 no path, 1 path no longer valid, 0 missing ip exp path
State: 3 transitions, 0 admin down, 1 oper down
Opens: 2 succeeded, 0 timed out, 0 bad path spec
Errors: 0 no b/w, 0 no route, 0 admin
0 bad exp route, 0 rec route loop, 0 other
Router# show mpls traffic-eng tunnels statistics summary
Path: 2304 no path, 73 path no longer valid, 0 missing ip exp path
State: 300 transitions, 0 admin down, 100 oper down
Opens: 200 succeeded, 0 timed out, 0 bad path spec
Errors: 0 no b/w, 18 no route, 0 admin
0 bad exp route, 0 rec route loop, 0 other
The following show mpls traffic-eng tunnels statistics command displays status information about P2MP path and LSPs for Tunnel 100:
Router# show mpls traffic-eng tunnels statistics
Tunnel100 (Name p2mp-1_t100)
Path: 0 no path, 0 path no longer valid, 0 missing ip exp path
97 path changes, 306 path lookups
0 protection pathoption_list errors
0 invalid inuse popt in pathoption list
0 loose path reoptimizations, triggered by PathErrors
State: 1 transitions, 0 admin down, 0 oper down
Opens: 1 succeeded, 0 timed out, 0 bad path spec
LSP Activations: 97 succeeded
Last Failure: No path that satisfy tunnel constraints
5: No path that satisfy tunnel constraints
Errors: 0 no b/w, 288 no route, 0 admin, 0 remerge detected
0 bad exp route, 0 rec route loop, 0 frr activated
Table 151 describes the significant fields shown in the display.
Table 151 show mpls traffic-eng tunnels statistics Field Descriptions
Field
|
Description
|
Tunnel 1001
|
Name of the tunnel interface.
|
Destination
|
IP address of the tunnel tailend.
|
Name
|
Internal name for the tunnel, composed of the router name and the tunnel interface number.
|
Path
|
Heading for counters for tunnel path events are as follows:
• no path—Number of unsuccessful attempts to calculate a path for the tunnel.
• path no longer valid—Number of times a previously valid path for the tunnel became invalid.
• missing ip exp path—Number of times that attempts to use "obtain a path for the tunnel" failed because no path was configured (and there was no dynamic path option for the tunnel).
• path changes—Number of times the tunnel path changed.
|
State
|
Heading for counters for tunnel state transitions.
|
Opens
|
Heading for counters for tunnel open attempt events.
|
Errors
|
Heading for various tunnel signaling errors, such as no bandwidth, no route, admin (preemption), a bad explicit route, and a loop in the explicit route.
|
Related Commands
Command
|
Description
|
clear mpls traffic-eng tunnel counters
|
Clears the counters for all MPLS traffic engineering tunnels.
|
show mpls traffic-eng tunnels summary
To display summary information about tunnels, use the show mpls traffic-eng tunnels summary command in user EXEC or privileged EXEC mode.
show mpls traffic-eng tunnels summary
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
Release
|
Modification
|
12.0(5)S
|
This command was introduced.
|
12.0(10)ST
|
This command was integrated into Cisco IOS Release 12.0(10)ST.
|
12.0(22)S
|
This command output was updated to display periodic Fast Reroute information. The command is supported on the Cisco 10000 series ESRs.
|
12.2(18)SXD1
|
This command was integrated into Cisco IOS Release 12.2(18)SXD1.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
The command output was modified to display the number of tunnels that were attempted and successful in being recovered following a failover.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
12.2(33)SRE
|
This command was modified. The output was updated to display Multiprotocol Label Switching (MPLS) Traffic Engineering (TE) point-to-multipoint (P2MP) information.
|
15.0(1)S
|
This command was modified. The command output was updated to display stateful switchover (SSO) recovery information for MPLS TE P2MP tunnels.
|
Usage Guidelines
Use the show mpls traffic-eng tunnels summary command to display the number of tunnel headends that were attempted and successful at being recovered following SSO.
Examples
The following is sample output from the show mpls traffic-eng tunnels summary command:
Router# show mpls traffic-eng tunnels summary
LSP Tunnels Process: running
Passive LSP Listener: running
Periodic reoptimization: every 3600 seconds, next in 1420 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 234 seconds
Head: 1 interfaces, 1 active signalling attempts, 1 established
1 activations, 0 deactivations
1 SSO recovery attempts, 1 SSO recovered
Head: 1 interfaces, 2 active signalling attempts, 2 established
2 sub-LSP activations, 0 sub-LSP deactivations
1 LSP successful activations, 0 LSP deactivations
1 SSO recovery attempts, LSP Recovered: 1 full, 0 partial, 0 fail
Table 152 describes the significant fields shown in the display.
Table 152 show mpls traffic-eng tunnels summary Field Descriptions
Field
|
Description
|
LSP Tunnels Process
|
Multiprotocol Label Switching (MPLS) traffic engineering has or has not been enabled.
|
Passive LSP Listener
|
The device listens for LSPs and can terminate them, if desired.
|
RSVP Process
|
Resource Reservation Protocol (RSVP) has or has not been enabled. (This feature is enabled as a consequence of MPLS traffic engineering being enabled.)
|
Forwarding
|
Indicates whether appropriate forwarding is enabled. (Appropriate forwarding on a router is Cisco Express Forwarding switching.)
|
Head
|
Summary information about tunnel heads at this device. Information includes:
• interfaces—Number of MPLS traffic engineering tunnel interfaces.
• active signalling attempts—Number of LSPs currently successfully signaled or being signaled.
• established—Number of LSPs currently signaled.
• activations—Number of signaling attempts initiated.
• deactivations—Number of signaling attempts terminated.
• SSO recovery attempts—Number of MPLS traffic engineering tunnel headend LSPs that were attempted to be recovered following an SSO event.
• SSO recovered—Number of MPLS traffic engineering tunnel headend LSPs that were successfully recovered following an SSO event.
|
Midpoints
|
Number of midpoints at this device.
|
Tails
|
Number of tails at this device.
|
Periodic reoptimization
|
Frequency of periodic reoptimization and time (in seconds) until the next periodic reoptimization.
|
Periodic FRR Promotion
|
Frequency that scanning occurs to determine if link-state packets (LSPs) should be promoted to better backup tunnels, and time (in seconds) until the next scanning.
|
Periodic auto-bw collection
|
Frequency of automatic bandwidth collection and time left (in seconds) until the next collection.
|
Related Commands
Command
|
Description
|
mpls traffic-eng reoptimize timers frequency
|
Controls the frequency with which tunnels with established LSPs are checked for better LSPs.
|
mpls traffic-eng tunnels (configuration)
|
Enables MPLS traffic engineering tunnel signaling on a device.
|
mpls traffic-eng tunnels (interface)
|
Enables MPLS traffic engineering tunnel signaling on an interface.
|
show mpls ttfib
To display information about the Multiprotocol Label Switching (MPLS) TTFIB table, use the show mpls ttfib command in EXEC mode.
show mpls ttfib [detail [hardware] | vrf instance [detail]]
Syntax Description
detail
|
(Optional) Displays detailed information.
|
hardware
|
(Optional) Displays detailed hardware information.
|
vrf instance
|
(Optional) Displays entries for a specified Virtual Private Network (VPN) routing and forwarding instance (VRF).
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.2(17b)SXA
|
Support for this command was introduced on the Supervisor Engine 720.
|
12.2(17d)SXB
|
Support for this command on the Supervisor Engine 2 was extended to Release 12.2(17d)SXB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
Note
The show mpls ttfib command is not supported on Cisco 7600 Series Routers starting from Cisco IOS Release 12.2(33)SRB onwards.
Examples
This example shows how to display information about the MPLS TTFIB table:
Local Outgoing Packets Tag LTL Dest. Destination Outgoing
Tag Tag or VC Switched Index Vlanid Mac Address Interface
4116 21 0 0xE0 1020 0000.0400.0000 PO4/1*
34 0 0x132 1019 00d0.040d.380a GE5/3
45 0 0xE3 4031 0000.0430.0000 PO4/4
4117 16 0 0x132 1019 00d0.040d.380a GE5/3*
17 0 0xE0 1020 0000.0400.0000 PO4/1
18 0 0xE3 4031 0000.0430.0000 PO4/4
4118 21 0 0xE0 1020 0000.0400.0000 PO4/1*
56 0 0xE3 4031 0000.0430.0000 PO4/4
4119 35 0 0xE3 4031 0000.0430.0000 PO4/4*
47 0 0xE0 1020 0000.0400.0000 PO4/1
show pw-udp vc
To display information about pseudowire User Datagram Protocol (UDP) virtual circuits (VCs), use the show pw-udp vc command in user EXEC or privileged EXEC mode.
show pw-udp vc [vcid id [max-vc]] [destination address] [detail | ssm id]
Syntax Description
vcid id
|
(Optional) Specifies the minimum VC ID. Valid values are from 1-4294967295.
|
max-vc
|
(Optional) Maximum VC ID. Valid values are from 1-4294967295.
|
destination address
|
(Optional) Specifies the destination hostname or IP address of the VC.
|
detail
|
(Optional) Displays detailed information about the UDP VCs.
|
ssm id
|
(Optional) Displays the Source Specific Multicast (SSM) information.
|
Command Default
If no arguments or keywords are specified, information about all pseudowire UDP VCs is displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
15.1(2)S
|
This command was introduced.
|
Examples
The following is sample output for the show pw-udp vc command:
Router# show pw-udp vc 100 200 detail
Local intf Local circuit VC ID Status
----------------- -------------------------- ---------- ---------------
CE4/2/0:0 CESoPSN Basic 100 established
LAddr: 10.1.1.151 LPort: 50100
RAddr: 10.1.1.153 RPort: 50100
transit packet totals: receive 770614, send 770613
transit byte totals: receive 151040344, send 50089845
transit packet drops: receive 0, send 0, seq error 0
CE4/2/1:0 CESoPSN Basic 200 established
LAddr: 10.1.1.151 LPort: 50200
RAddr: 10.1.1.153 RPort: 50200
transit packet totals: receive 770614, send 770613
transit byte totals: receive 151040344, send 50089845
transit packet drops: receive 0, send 0, seq error 0
Table 153 describes the significant fields shown in the display.
Table 153 show pw-udp vc Field Descriptions
Field
|
Description
|
Local intf
|
Name of the access circuit (AC) interface.
|
Local circuit
|
Interface type. For example, CESoPSN Basic.
|
VC ID
|
Virtual circuit ID.
|
Status
|
State of the pseudowire VC with the following possible values:
• Provisioned-Psuedowire has been provisioned but the data plane is not up.
• Checkpoint wait-Psuedowire has been provisioned but still waiting for the checkpoint information from the active RP(need this information to proceed to the activating state). This state is applicable only on the standby RP.
• Activating-Data plane has been activated, but not yet turned active.
• Established-Data plane has been established and ready to forward traffic.
|
Related Commands
Command
|
Description
|
encapsulation (pseudowire)
|
Specifies an encapsulation type for tunneling Layer 2 traffic over a pseudowire.
|
show running interface auto-template
To display configuration information for a tunnel's interface, use the show running interface auto-template command in privileged EXEC mode.
show running interface auto-template num
Syntax Description
num
|
Number of the tunnel interface for which you want to display information.
|
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(27)S
|
This command was introduced.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Usage Guidelines
The space before the num argument is optional.
Examples
The following is output from the show running interface auto-template command:
Router# show running interface auto-template 1
tunnel destination access-list 1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 1 dynamic
Table 154 describes the significant fields shown in the display.
Table 154 show running interface auto-template Field Descriptions
Field
|
Description
|
ip unnumbered Loopback0
|
Indicates the type and number of another interface on which the router has an assigned IP address. It cannot be another unnumbered interface.
|
no ip directed-broadcast
|
Indicates that no IP broadcast addresses are used for the autotunnel interface.
|
no keepalive
|
Indicates that no keepalives are set for the autotunnel interface.
|
tunnel destination access-list 1
|
Indicates that access list 1 is the access list that the template interface will use for obtaining the autotunnel interface destination address.
|
tunnel mode mpls traffic-eng
|
Indicates that the mode of the autotunnel is set to Multiprotocol Label Switching (MPLS) for traffic engineering.
|
tunnel mpls traffic-eng autoroute announce
|
Indicates that the Interior Gateway Protocol (IGP) should use the tunnel (if the tunnel is up) in its enhanced shortest path first (SPF) calculation.
|
tunnel mpls traffic-eng path-option 1 dynamic
|
Indicates that a path option (path-option1) for the label switch router (LSR) for the MPLS traffic engineering (TE) mesh tunnel is configured dynamically.
|
Related Commands
Command
|
Description
|
interface auto-template
|
Creates the template interface.
|
tunnel destination access-list
|
Specifies the access list that the template interface will use for obtaining the mesh tunnel interface destination address.
|
show running-config vrf
To display the subset of the running configuration of a router that is linked to a specific Virtual Private Network (VPN) routing and forwarding (VRF) instance or to all VRFs configured on the router, use the show running-config vrf command in user EXEC or privileged EXEC mode.
show running-config vrf [vrf-name]
Syntax Description
vrf-name
|
(Optional) Name of the VRF configuration that you want to display.
|
Command Default
If you do not specify a vrf-name argument, the running configurations of all VRFs on the router are displayed.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(28)SB
|
This command was introduced.
|
12.2(33)SRB
|
This command was integrated into Cisco IOS Release 12.2(33)SRB.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Usage Guidelines
Use the show running-config vrf command to display a specific VRF configuration or to display all VRF configurations on the router. To display the configuration of a specific VRF, enter the name of the VRF as an argument to the command.
This command displays the following elements of the VRF configuration:
•
The VRF submode configuration
•
The routing protocol and static routing configurations associated with the VRF
•
The configuration of the interfaces in the VRF, which includes the configuration of any owning controller and physical interface for a subinterface
Examples
The following is sample output from the show running-config vrf command. It includes a base VRF configuration for VRF vpn3 and Border Gateway Protocol (BGP) and Open Shortest Path First (OSPF) configurations associated with VRF vpn3.
Router# show running-config vrf vpn3
Building configuration...
Current configuration : 604 bytes
route-target export 100:3
route-target import 100:3
ip address 10.43.43.43 255.255.255.255
ip address 172.17.0.1 255.0.0.0
address-family ipv4 vrf vpn3
redistribute ospf 101 match external 1 external 2
area 1 sham-link 10.43.43.43 10.23.23.23 cost 10
network 172.17.0.0 0.255.255.255 area 1
Table 155 describes the significant fields shown in the display.
Table 155 show running-config vrf Field Descriptions
Field
|
Description
|
Current configuration: 604 bytes
|
Number of bytes (604) in the VRF vpn3 configuration.
|
ip vrf vpn3
|
Name of the VRF (vpn3) for which the configuration is displayed.
|
rd 100:3
|
Identifies the route distinguisher (100:3) for VRF vpn3.
|
route-target export 100:3 route-target import 100:3
|
Specifies the route-target extended community for VRF vpn3.
• Routes tagged with route-target export 100:3 are exported from VRF vpn3.
• Routes tagged with the route-target import 100:3 are imported into VRF vpn3.
|
interface Loopback1
|
Virtual interface associated with VRF vpn3.
|
ip vrf forwarding vpn3
|
Associates VRF vpn3 with the named interface.
|
ip address 10.43.43.43 255.255.255.255
|
IP address of the loopback interface.
|
interface Ethernet6/0
|
Interface associated with VRF vpn3.
|
ip address 172.17.0.1 255.0.0.0
|
IP address of the Ethernet interface.
|
router bgp 100
|
Sets up a BGP routing process for the router with autonomous system number 100.
|
address-family ipv4 vrf vpn3
|
Sets up a routing session for VRF vpn3 using standard IP Version 4 address prefixes.
|
redistribute connected
|
Redistributes routes automatically established by IP on an interface into the BGP routing domain.
|
redistribute ospf 101 match external 1 external 2
|
Redistribute routes from the OSPF 101 routing domain into the BGP routing domain.
|
router ospf 101 vrf vpn3
|
Set up an OSPF routing process and associates VRF vpn3 with OSPF VRF processes.
|
area 1 sham-link 10.43.43.43 10.23.23.23 cost 10
|
Configure a sham-link interface on a provider edge (PE) router in a Multiprotocol Label Switching (MPLS) VPN backbone.
• 1 is the ID number of the OSPF area assigned to the sham-link.
• 10.43.43.43 is the IP address of the source PE router.
• 10.23.23.23 is the IP address of the destination PE router.
• 10 is the OSPF cost to send IP packets over the sham-link interface.
|
network 172.17.0.0 0.255.255.255 area 1
|
Defines the interfaces on which OSPF runs and defines the area ID for those interfaces.
|
Related Commands
Command
|
Description
|
ip vrf
|
Configures a VRF routing table.
|
show ip interface
|
Displays the usability status of interfaces configured for IP.
|
show ip vrf
|
Displays the set of defined VRFs and associated interfaces.
|
show running-config interface
|
Displays the configuration for a specific interface.
|
show tech-support mpls
To generate a report of all Multiprotocol Label Switching (MPLS)-related information, use the show tech-support mpls command in privileged EXEC mode.
show tech-support mpls [vrf vrf-name]
Syntax Description
vrf vrf-name
|
(Optional) Displays MPLS information about the specified VPN routing and forwarding (VRF) instance.
|
Command Modes
Privileged EXEC
Command History
Release
|
Modification
|
12.2(25)S
|
This command was introduced.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB and implemented on the Cisco 10000 series routers.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
Usage Guidelines
This command is useful when you contact technical support personnel with questions regarding MPLS. The show tech-support mpls command generates a series of reports. The show tech-support mpls command is equivalent to issuing the following commands:
MPLS Forwarding Information Commands
show adjacency detail
show cef drop show cef events
show cef not-cef-switched
show cef state
show interface accounting | exclude sab
show interfaces statistic | exclude sabl
show ip cef adjacency discard
show ip cef adjacency drop
show ip cef adjacency glean
show ip cef adjacency null
show ip cef adjacency punt
show ip cef detail internal
show ip cef inconsistency
show ip cef summary
show ip cef unresolved internal
show ip interfaces
show ip route
show ip traffic
show mpls forwarding-table detail
show mpls interfaces all
show mpls interfaces all internal
show mpls label range
show mpls static binding
MPLS Forwarding: Cell Mode (LC-ATM) Commands
Note
These commands are not supported on Cisco 10000 series routers.
show atm vc
show controller vsi descriptor
show controller vsi session
show controller vsi status
show XTagATM cross-connect
show XTagATM cross-connect traffic
show XTagATM vc
MPLS Forwarding: Quality of Service (QoS) Commands
Note
These commands are not supported on Cisco 10000 series routers.
show interfaces fair-queue
show interfaces mpls-exp
show interfaces precedence
MPLS Label Distribution Protocol (LDP) Commands
show mpls atm-ldp bindings
show mpls atm-ldp bindwait
show mpls atm-ldp capability
show mpls atm-ldp summary <===== Not supported on Cisco 10000 series routers
show mpls ip binding detail
show mpls ldp backoff
show mpls ldp discovery all detail
show mpls ldp neighbor all
show mpls ldp neighbor detail
show mpls ldp parameters
MPLS LDP: Stateful Switchover/Nonstop Forwarding (SSO/NSF) Support and Graceful Restart Commands
show mpls checkpoint label-binding
show mpls ldp checkpoint
show mpls ldp graceful-restart
show mpls ldp neighbor graceful-restart
MPLS Traffic Engineering Commands
show ip ospf database opaque-area
show ip ospf database opaque-link
show ip ospf mpls traffic-eng fragment
show ip ospf mpls traffic-eng link
show ip rsvp fast-reroute detail
show ip rsvp installed
show ip rsvp interface
show ip rsvp neighbor
show ip rsvp reservation
show ip rsvp sender
show isis mpls traffic-eng adjacency-log
show isis mpls traffic-eng advertisements
show isis mpls traffic-eng tunnel
show mpls traffic-end link-management interfaces
show mpls traffic-eng autoroute
show mpls traffic-eng fast-reroute database detail
show mpls traffic-eng fast-reroute log reroutes
show mpls traffic-eng forwarding adjacency
show mpls traffic-eng link-management admission-control
show mpls traffic-eng link-management advertisements
show mpls traffic-eng link-management bandwidth-allocation
show mpls traffic-eng link-management summary
show mpls traffic-eng topology
show mpls traffic-eng tunnels
show mpls traffic-eng tunnels brief
show mpls traffic-eng tunnels statics summary
MPLS VPN Commands
show ip bgp labels
show ip bgp neighbors
show ip bgp vpnv4 all
show ip bgp vpnv4 all labels
show ip bgp vpnv4 all summary
show ip vrf detail
show ip vrf interfaces
show ip vrf select
Any Transport over MPLS (AToM) Commands
show mpls l2transport binding
show mpls l2transport hw-capability
show mpls l2transport summary
show mpls l2transport vc detail
MPLS VPN VRF-Specific Commands
show ip bgp vpnv4 vpn-name dampening flap-statistics
show ip bgp vpnv4 vpn-name labels
show ip bgp vpnv4 vpn-name peer-group
show ip bgp vpnv4 vpn-name summary
show ip bgp vpnv4 vrf vpn-name neighbors
show ip vrf detail vpn-name
show ip vrf interfaces vpn-name
show ip vrf select vpn-name
MPLS VPN VRF-Specific Forwarding Commands
show ip cef vrf vpn-name adjacency discard
show ip cef vrf vpn-name adjacency drop
show ip cef vrf vpn-name adjacency glean
show ip cef vrf vpn-name adjacency null
show ip cef vrf vpn-name adjacency punt
show ip cef vrf vpn-name inconsistency
show ip cef vrf vpn-name internal
show ip cef vrf vpn-name summary
show ip route vrf vpn-name
show ip vrf interfaces vpn-name
show mpls forwarding-table vrf vpn-name
show mpls interface vrfvpn-name detail
MPLS LDP VRF-Specific Commands
show mpls ip binding vrf vpn-name atm detail
show mpls ip binding vrf vpn-name detail
show mpls ip binding vrf vpn-name local
show mpls ip binding vrf vpn-name summary
show mpls ldp discovery vrf vpn-name detail
show mpls ldp neighbor vrf vpn-name detail
MPLS LDP VRF Graceful Restart-Specific Commands
show mpls ldp neighbor vrf vpn-name graceful-restart
These commands are documented in individual feature modules or Cisco IOS Release 12.2 command references. Refer to the individual commands for information about the output these commands generate.
Examples
The following example displays an abbreviated version of the show tech-support mpls command output:
Router# show tech-support mpls
------------------ show version ------------------
Cisco IOS Software, 7300 Software (C7300-P-M), Version 12.2(27)SBC, RELEASE SOF)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Sat 10-Sep-05 17:44 by ssearch
------------------ show running-config ------------------
Building configuration...
Current configuration : 1827 bytes
------------------ show mpls ldp graceful-restart ------------------
LDP Graceful Restart is disabled
Neighbor Liveness Timer: 120 seconds
Max Recovery Time: 120 seconds
Forwarding State Holding Time: 600 seconds
Related Commands
Command
|
Description
|
show tech-support
|
Displays the equivalent of the show buffers, show controllers, show interfaces, show process, show process memory, show running-config, show stacks, and show version commands.
|
show vfi
To display information related to a virtual forwarding instance (VFI), use the show vfi command in privileged EXEC mode.
show vfi [checkpoint [summary] | mac static address | memory [detail] | name vfi-name
[checkpoint | mac static address] | neighbor ip-addr vcid vcid mac static address]
Syntax Description
checkpoint
|
(Optional) Displays VFI checkpoint information.
|
summary
|
(Optional) Displays a summary of VFI checkpoint information.
|
mac static address
|
(Optional) Displays static MAC addresses in a bridge domain.
|
memory
|
(Optional) Displays VFI memory usage.
|
detail
|
(Optional) Displays details of VFI memory usage.
|
name
|
(Optional) Displays information for the specified VFI.
|
vfi-name
|
(Optional) Name of a specific VFI.
|
neighbor
|
(Optional) Displays VFI neighbor information.
|
ip-addr
|
(Optional) IP address of the neighbor (remote peer).
|
vcid
|
(Optional) Displays the virtual circuit (VC) ID for a peer.
|
vcid
|
(Optional) Integer from 1 to 4294967295 that identifies the VC.
|
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(33)SRA
|
This command was introduced.
|
12.2(33)SRC
|
This command was modified. The name keyword was added.
|
12.2(33)SRE
|
This command was modified. The following keywords and arguments were added: address, checkpoint, detail, mac, memory, neighbor ip-addr, static, summary, and vcid vcid.
|
12.2(50)SY
|
This command was integrated into Cisco IOS Release 12.2(50)SY.
|
Usage Guidelines
Use this command to verify VFI configurations and for troubleshooting.
Examples
The following example shows status for a VFI named VPLS-2. The VC ID in the output represents the VPN ID; the VC is identified by the combination of the destination address and the VC ID.
Router# show vfi name VPLS-2
VFI name: VPLS-2, state: up
Local attachment circuits:
Neighbors connected via pseudowires:
Peer Address VC ID Split-horizon
Table 156 describes the significant fields shown in the display.
Table 156 show vfi name Field Descriptions
Field
|
Description
|
VFI name
|
The name assigned to the VFI.
|
state
|
Status of the VFI (up or down).
|
Local attachment circuits
|
Interface or VLAN assigned to the VFI.
|
Peer Address
|
The IP address of the peer router.
|
VC ID
|
The VC ID assigned to the pseudowire.
|
Split-horizon
|
Indicates whether split horizon is enabled (Y) or disabled (N).
|
The following is sample output from the show vfi command. For the Virtual Private LAN Service (VPLS) autodiscovery feature, the command output includes autodiscovery information, as shown in the following example.
Note
VPLS autodiscovery is not supported in Cisco IOS Release 12.2(50)SY.
Legend: RT= Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: VPLS1, state: up, type: multipoint
VPN ID: 10, VPLS-ID: 9:10
RD: 9:10, RT: 10.10.10.10:150
Local attachment circuits:
Neighbors connected via pseudowires:
Peer Address VC ID Discovered Router ID S
VFI name: VPLS2 state: up, type: multipoint
VPN ID: 11, VPLS-ID: 10.9.9.9:2345
RD: 10:11, RT: 10.4.4.4:151
Local attachment circuits:
Neighbors connected via pseudowires:
Peer Address VC ID Discovered Router ID S
Table 157 describes the significant fields in the output related to VPLS autodiscovery.
Table 157 show vfi Field Descriptions for VPLS Autodiscovery
Field
|
Description
|
VPLS-ID
|
The identifier of the VPLS domain. VPLS autodiscovery automatically generates a VPLS ID using the Border Gateway Protocol (BGP) autonomous system number and the configured VFI VPN ID.
|
RD
|
The route distinguisher (RD) to distribute endpoint information. VPLS autodiscovery automatically generates an RD using the BGP autonomous system number and the configured VFI VPN ID.
|
RT
|
The route target (RT). VPLS autodiscovery automatically generates a route target using the lower 6 bytes of the RD and VPLS ID.
|
Discovered Router ID
|
A unique identifier assigned to the PE router. VPLS autodiscovery automatically generates the router ID using the Multiprotocol Label Switching (MPLS) global router ID.
|
The following is sample output from the show vfi command for a specified VFI named H-VPLS-A-VFI. Because the optional name keyword is entered, the checkpoint information for the specific VFI is displayed.
Router# show vfi name H-VPLS-A-VFI checkpoint
ISSU Client id: 2092, Session id: 65543, Compatible with peer
Checkpoint failures: 0 3 21
Recovered at switchover: 0 0 0
VFI name: H-VPLS-A-VFI, state: up, type: multipoint
VPN ID: 12, Internal ID 1 C
Local attachment circuits:
Neighbors connected via pseudowires:
10.0.0.12 12 4096 / 12292 C
10.0.0.15 12 8193 / 16389 C
10.0.0.14 12 12290 / 20486 C
Table 158 describes the significant fields shown in the display.
Table 158 show vfi name checkpoint Field Descriptions
Field
|
Description
|
Checkpointing
|
Specifies whether checkpointing is allowed on this VFI.
|
ISSU Client id
|
The ID number assigned to the In-service Software Upgrade (ISSU) client.
|
Session id
|
The current VFI session ID number.
|
VFI
|
Status of the VFI.
|
VFI AC
|
Status of the Attachment Circuit (AC).
|
VFI PW
|
Status of the pseudowire for this VFI.
|
Checkpoint failures
|
The number of checkpoint failures on this interface.
|
Recovered at switchover
|
The number of checkpoint failures recovered on this interface at switchover.
|
Recovery failures
|
The number of checkpoint failures recovered on this interface.
|
VFI name
|
The name assigned to the VFI.
|
state
|
Status of the VFI (up or down).
|
type
|
VFI type.
|
VPN ID
|
The ID number of the VPN.
|
Local attachment circuits
|
The interface or VLAN assigned to the VFI.
|
Peer ID
|
The IP address of the peer router.
|
VC ID
|
The VC ID assigned to the pseudowire.
|
The following is sample output from the show vfi command using the memory and detail keywords.
Router# show vfi memory detail
VFI memory In-use Asked-For/Allocated Count Size Cfg/Max
----------------------------------------------------------------------------
VFI structs In-use Asked-For/Allocated Count Size Cfg/Max
----------------------------------------------------------------------------
vfi_context_t : -- --/-- -- 52 --/--
vfi_circuit_retry : -- --/-- -- 24 --/--
Total allocated: 0.000 Mb, 0 Kb, 0 bytes
Table 159 describes the significant fields shown in the display.
.
Table 159 show vfi memory detail Field Descriptions
Field
|
Description
|
VFI memory
|
The amount of memory available for use.
|
In-use
|
The amount of memory actively used.
|
Asked-For/Allocated
|
The amount of memory originally requested/amount of memory allocated.
|
Count
|
The number of pieces of this named memory that exist.
|
Size
|
The memory size allocated by the system for this chunk.
|
Config/Max
|
The number of chunklets per chunk.
|
VFI structs
|
The data structures being used.
|
Total allocated
|
Total allocated memory.
|
Related Commands
Command
|
Description
|
show checkpoint
|
Displays information about the Checkpoint Facility (CF) subsystem on a Cisco CMTS.
|
show xconnect
|
Displays information about xconnect attachment circuits and pseudowires.
|
show vrf
To display the defined Virtual Private Network (VPN) routing and forwarding (VRF) instances, use the show vrf command in user EXEC or privileged EXEC mode.
show vrf [ipv4 | ipv6] [interface | brief | detail | id | select | lock] [vrf-name]
Syntax Description
ipv4
|
(Optional) Displays IPv4 address-family type VRF instances.
|
ipv6
|
(Optional) Displays IPv6 address-family type VRF instances.
|
interface
|
(Optional) Displays the interface associated with the specified VRF instances.
|
brief
|
(Optional) Displays brief information about the specified VRF instances.
|
detail
|
(Optional) Displays detailed information about the specified VRF instances.
|
id
|
(Optional) Displays VPN-ID information for the specified VRF instances.
|
select
|
(Optional) Displays selection information for the specified VRF instances.
|
lock
|
(Optional) Displays VPN lock information for the specified VRF instances.
|
vrf-name
|
(Optional) Name assigned to a VRF.
|
Command Default
If you do not specify any arguments or keywords, the command displays concise information about all configured VRFs.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.2(33)SRB
|
This command was introduced.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
12.4(20)T
|
This command was integrated into Cisco IOS Release 12.4(20)T.
|
Cisco IOS XE Release 2.1
|
This command was integrated into Cisco IOS XE Release 2.1.
|
12.2(33)SRE
|
This command was modified. When backup paths have been created either through the Prefix Independent Convergence or Best External feature, the output of the show vrf detail command displays the following line:
Prefix protection with additional path enabled
|
Usage Guidelines
Use the show vrf command to display information about specified VRF instances or all VRF instances. Specify no arguments or keywords to display information on all VRF instances.
Examples
The following is the sample output from the show vrf command that displays brief information about all configured VRF instances:
Name Default RD Protocols Interfaces
Table 160 describes the significant fields shown in the display.
Table 160 show vrf Field Descriptions
Field
|
Description
|
Name
|
Name of the VRF instance.
|
Default RD
|
The default route distinguisher (RD) for the specified VRF instances.
|
Protocols
|
The address-family protocol type for the specified VRF instance.
|
Interfaces
|
The network interface associated with the VRF instance.
|
The following example displays output from the show vrf command with the detail keyword. The information shown is for a VRF named cisco1.
VRF cisco1; default RD 100:1; default VPNID <not set>
Address family ipv4 (Table ID = 0x1):
Connected addresses are not in global routing table
Export VPN route-target communities
Import VPN route-target communities
VRF label distribution protocol: not configured
Address family ipv6 (Table ID = 0xE000001):
Connected addresses are not in global routing table
Export VPN route-target communities
Import VPN route-target communities
VRF label distribution protocol: not configured
Table 161 describes the significant fields shown in the display.
Table 161 show vrf detail Field Descriptions
Field
|
Description
|
default RD 100:1
|
The RD given to this VRF.
|
Interfaces:
|
Interfaces to which the VRF is attached.
|
Export VPN route-target communities
RT:100:1
|
Route-target VPN extended communities to be exported.
|
Import VPN route-target communities
RT:100:1
|
Route-target VPN extended communities to be imported.
|
The following example displays output from the show vrf detail command when backup paths have been created either through the Prefix Independent Convergence or Best External feature. The output of the show vrf detail command displays the following line:
Prefix protection with additional path enabled
VRF vpn1 (VRF Id = 1); default RD 1:1; default VPNID <not set>
Address family ipv4 (Table ID = 1 (0x1)):
Export VPN route-target communities
Import VPN route-target communities
VRF label distribution protocol: not configured
VRF label allocation mode: per-prefix
Prefix protection with additional path enabled
Address family ipv6 not active.
The following is the sample output from the show vrf lock command that displays VPN lock information:
VRF Name: Mgmt-intf; VRF id = 4085 (0xFF5)
Lock user: RTMGR, lock user ID: 2, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+45A9F04 :108
Lock user: CEF, lock user ID: 4, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+45A9F04 :10C
Lock user: VRFMGR, lock user ID: 1, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+21EAD18 :10C
VRF Name: vpn1; VRF id = 1 (0x1)
Lock user: RTMGR, lock user ID: 2, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+45A9F04 :10C
Lock user: CEF, lock user ID: 4, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+45A9F04 :100
Lock user: VRFMGR, lock user ID: 1, lock count per user: 1
Trace backs: :10000000+44DAEB4 :10000000+21E83AC :10000000+21EAD18 :10C
Related Commands
Command
|
Description
|
vrf definition
|
Configures a VRF routing table instance and enters VRF configuration mode.
|
vrf forwarding
|
Associates a VRF instance with an interface or subinterface.
|
show xconnect
To display information about xconnect attachment circuits and pseudowires, use the show xconnect command in user EXEC or privileged EXEC mode.
show xconnect {{all | interface type number} [detail] | peer ip-address {all | vcid vcid-value}
[detail] | pwmib [peer ip-address vcid-value]}
Cisco IOS SR and S Trains
show xconnect {{all | interface type number | memory | rib} [detail] [checkpoint] | peer
ip-address {all | vcid vcid-value} [detail] | pwmib [peer ip-address vcid-value]}
Cisco uBR10012 Router and Cisco uBR7200 Series Universal Broadband Routers
show xconnect {all | peer ip-address {all | vcid vcid-value} | pwmib [peer ip-address vcid-value]}
[detail]
Syntax Description
all
|
Displays information about all xconnect attachment circuits and pseudowires.
|
interface
|
Displays information about xconnect attachment circuits and pseudowires on the specified interface.
|
type
|
Interface type. For more information, use the question mark (?) online help function. Valid values for the type argument are as follows:
• atm number—Displays xconnect information for a specific ATM interface or subinterface.
• atm number vp vpi-value—Displays virtual path (VP) xconnect information for a specific ATM virtual path identifier (VPI). This command will not display information about virtual circuit (VC) xconnects using the specified VPI.
• atm number vc vpi-value/vci-value—Displays VC xconnect information for a specific ATM VPI and virtual circuit identifier (VCI) combination.
• ethernet number—Displays port-mode xconnect information for a specific Ethernet interface or subinterface.
• fastethernet number—Displays port-mode xconnect information for a specific Fast Ethernet interface or subinterface.
• serial number—Displays xconnect information for a specific serial interface.
• serial number dlci-number—Displays xconnect information for a specific Frame Relay data-link connection identifier (DLCI).
|
number
|
Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.
|
detail
|
(Optional) Displays detailed information about the specified xconnect attachment circuits and pseudowires.
|
checkpoint
|
(Optional) Displays the autodiscovered pseudowire information that is checkpointed to the standby route processor (RP).
|
peer
|
Displays information about xconnect attachment circuits and pseudowires associated with the specified peer.
|
ip-address
|
IP address of the peer.
|
all
|
Displays all xconnect information associated with the specified peer IP address.
|
vcid
|
Displays xconnect information associated with the specified peer IP address and the specified VC ID.
|
vcid-value
|
VC ID value.
|
pwmib
|
Displays information about the pseudowire Management Information Base (MIB).
|
memory
|
Displays information about the xconnect memory usage.
|
rib
|
Displays information about the pseudowire routing information base (RIB).
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(31)S
|
This command was introduced.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.4(11)T
|
This command was integrated into Cisco IOS Release 12.4(11)T.
|
12.2(33)SRB
|
This command was modified. The rib keyword was added.
|
12.2(33)SXI
|
This command was integrated into Cisco IOS Release 12.2(33)SXI.
|
Cisco IOS XE Release 2.1
|
This command was integrated into Cisco IOS XE Release 2.1.
|
12.4(24)T
|
This command was modified in a release earlier than Cisco IOS Release 12.4(24)T. The pwmib keyword was added.
|
12.2(33)SRC
|
This command was modified in a release earlier than Cisco IOS Release 12.2(33)SRC. The memory keyword was added.
|
12.2(33)SCC
|
This command was integrated into Cisco IOS Release 12.2(33)SCC.
|
15.1(1)S
|
This command was integrated into Cisco IOS Release 15.1(1)S. The output of the show xconnect rib command and the show xconnect rib detail command was modified to support dynamic pseudowire switching on Autonomous System Boundary Routers (ASRBs). The checkpoint keyword was added.
|
12.2(33)SCF
|
This command was modified. The output was changed to capture the backup pseudowire information.
|
Usage Guidelines
The show xconnect command can be used to display, sort, and filter basic information about all xconnect attachment circuits and pseudowires.
You can use the show xconnect command output to help determine the appropriate steps required to troubleshoot an xconnect configuration problem. More specific information about a particular type of xconnect can be displayed using the commands listed in the "Related Commands" table.
Examples
The following example shows the show xconnect all command output in the brief (default) display format:
Router# show xconnect all
Legend: XC ST=Xconnect State, S1=Segment1 State, S2=Segment2 State
UP=Up, DN=Down, AD=Admin Down, IA=Inactive, SB=Standby, RV=Recovering, NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Et0/0(Ethernet) UP mpls 10.55.55.2:1000 UP
UP ac Se7/0(PPP) UP mpls 10.55.55.2:2175 UP
UP pri ac Se6/0:230(FR DLCI) UP mpls 10.55.55.2:2230 UP
IA sec ac Se6/0:230(FR DLCI) UP mpls 10.55.55.3:2231 DN
UP ac Se4/0(HDLC) UP mpls 10.55.55.2:4000 UP
UP ac Se6/0:500(FR DLCI) UP l2tp 10.55.55.2:5000 UP
UP ac Et1/0.1:200(Eth VLAN) UP mpls 10.55.55.2:5200 UP
UP pri ac Se6/0:225(FR DLCI) UP mpls 10.55.55.2:5225 UP
IA sec ac Se6/0:225(FR DLCI) UP mpls 10.55.55.3:5226 DN
IA pri ac Et1/0.2:100(Eth VLAN) UP ac Et2/0.2:100(Eth VLAN) UP
UP sec ac Et1/0.2:100(Eth VLAN) UP mpls 10.55.55.3:1101 UP
UP ac Se6/0:150(FR DLCI) UP ac Se8/0:150(FR DLCI) UP
The following example shows the show xconnect all command output in the detailed display format:
Router# show xconnect all detail
Legend: XC ST=Xconnect State, S1=Segment1 State, S2=Segment2 State
UP=Up, DN=Down, AD=Admin Down, IA=Inactive, SB=Standby, RV=Recovering, NH=No HardwareXC
ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Et0/0(Ethernet) UP mpls 10.55.55.2:1000 UP
Interworking: ip Local VC label 16
UP ac Se7/0(PPP) UP mpls 10.55.55.2:2175 UP
Interworking: ip Local VC label 22
UP pri ac Se6/0:230(FR DLCI) UP mpls 10.55.55.2:2230 UP
Interworking: ip Local VC label 21
IA sec ac Se6/0:230(FR DLCI) UP mpls 10.55.55.3:2231 DN
Interworking: ip Local VC label unassigned
SB ac Se4/0:100(FR DLCI) UP mpls 10.55.55.2:4000 SB
Interworking: none Local VC label 18
UP ac Se6/0:500(FR DLCI) UP l2tp 10.55.55.2:5000 UP
Interworking: none Session ID: 34183
UP ac Et1/0.1:200(Eth VLAN) UP mpls 10.55.55.2:5200 UP
Interworking: ip Local VC label 17
UP pri ac Se6/0:225(FR DLCI) UP mpls 10.55.55.2:5225 UP
Interworking: none Local VC label 19
IA sec ac Se6/0:225(FR DLCI) UP mpls 10.55.55.3:5226 DN
Interworking: none Local VC label unassigned
IA pri ac Et1/0.2:100(Eth VLAN) UP ac Et2/0.2:100(Eth VLAN) UP
Interworking: none Interworking: none
UP sec ac Et1/0.2:100(Eth VLAN) UP mpls 10.55.55.3:1101 UP
Interworking: none Local VC label 23
UP ac Se6/0:150(FR DLCI) UP ac Se8/0:150(FR DLCI) UP
Interworking: none Interworking: none
Sample Output for All Xconnect Attachment Circuits and Pseudowires on a Cisco uBR10012 Router in the Brief Display Format
The following is sample output from the show xconnect command in the brief (default) display format for all xconnect attachment circuits and pseudowires on a Cisco uBR10012 router:
Router# show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Bu254:2001(DOCSIS) UP mpls 10.76.1.1:2001 UP
UP ac Bu254:2002(DOCSIS) UP mpls 10.76.1.1:2002 UP
UP ac Bu254:2004(DOCSIS) UP mpls 10.76.1.1:2004 UP
DN ac Bu254:22(DOCSIS) UP mpls 101.1.0.2:22 DN
Sample Output for All Xconnect Attachment Circuits and Pseudowires on a Cisco uBR10012 Router in the Brief Display Format in Cisco IOS Release 12.2(33)SCF
The following is sample output from the show xconnect command in the brief (default) display format for all xconnect attachment circuits and pseudowires on a Cisco uBR10012 router in Cisco IOS Release 12.2(33)SCF:
Router# show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
DN ac Bu254:55(DOCSIS) DN mpls 10.2.3.4:55 DN
UP ac Bu254:1000(DOCSIS) UP mpls 10.2.3.4:1000 UP
UP ac Bu254:400(DOCSIS) UP mpls 10.76.2.1:400 UP
DN ac Bu254:600(DOCSIS) DN mpls 10.76.2.1:600 DN
UP ac Bu254:1800(DOCSIS) UP mpls 10.76.2.1:1800 UP
DN ac Bu254:45454(DOCSIS) DN mpls 10.76.2.1:45454 DN
Sample Output for All Xconnect Attachment Circuits and Pseudowires on a Cisco uBR10012 Router in the Detailed Display Format
The following is sample output from the show xconnect command in the detailed display format for all xconnect attachment circuits and pseudowires on a Cisco uBR10012 router:
Router# show xconnect all detail
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
UP ac Bu254:2001(DOCSIS) UP mpls 10.76.1.1:2001 UP
Interworking: ethernet Local VC label 40
UP ac Bu254:2002(DOCSIS) UP mpls 10.76.1.1:2002 UP
Interworking: ethernet Local VC label 41
UP ac Bu254:2004(DOCSIS) UP mpls 10.76.1.1:2004 UP
Interworking: ethernet Local VC label 42
DN ac Bu254:22(DOCSIS) UP mpls 101.1.0.2:22 DN
Interworking: ethernet Local VC label 39
Remote VC label unassigned
Sample Output for All Xconnect Attachment Circuits and Pseudowires on a Cisco uBR10012 Router in the Detailed Display Format in Cisco IOS Release 12.2(33)SCF
The following is sample output from the show xconnect command in the detailed display format for all xconnect attachment circuits and pseudowires on a Cisco uBR10012 router in Cisco IOS Release 12.2(33)SCF:
Router# show xconnect all detail
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
DN ac Bu254:55(DOCSIS) DN mpls 10.2.3.4:55 DN
Interworking: ethernet Local VC label unassigned
Remote VC label unassigned
UP ac Bu254:1000(DOCSIS) UP mpls 10.2.3.4:1000 UP
Interworking: ethernet Local VC label 33
UP ac Bu254:400(DOCSIS) UP mpls 10.76.2.1:400 UP
Interworking: ethernet Local VC label 35
DN ac Bu254:600(DOCSIS) DN mpls 10.76.2.1:600 DN
Interworking: ethernet Local VC label unassigned
UP ac Bu254:1800(DOCSIS) UP mpls 10.76.2.1:1800 UP
Interworking: ethernet Local VC label 24
DN ac Bu254:45454(DOCSIS) DN mpls 10.76.2.1:45454 DN
Interworking: ethernet Local VC label unassigned
Table 162 describes the significant fields shown in the display.
Table 162 show xconnect all Field Descriptions
Field
|
Description
|
XC ST
|
State of the xconnect attachment circuit or pseudowire. Valid states are:
• DN—The xconnect attachment circuit or pseudowire is down. Either segment 1, segment 2, or both segments are down.
• IA—The xconnect attachment circuit or pseudowire is inactive. This state is valid only when pseudowire redundancy is configured.
• NH—One or both segments of this xconnect no longer have the required hardware resources available to the system.
• UP—The xconnect attachment circuit or pseudowire is up. Both segment 1 and segment 2 must be up for the xconnect to be up.
|
Segment1
or
Segment2
|
Information about the type of xconnect, the interface type, and the IP address the segment is using. Types of xconnects are as follows:
• ac—Attachment circuit
• l2tp—Layer 2 Tunnel Protocol
• mpls—Multiprotocol Label Switching
• pri ac—Primary attachment circuit
• sec ac—Secondary attachment circuit
|
S1
or
S2
|
State of the segment. Valid states are:
• AD—The segment is administratively down.
• DN—The segment is down.
• HS—The segment is in hot standby mode.
• RV—The segment is recovering from a graceful restart.
• SB—The segment is in a standby state.
• UP—The segment is up.
|
The additional fields displayed in the detailed output are self-explanatory.
VPLS Autodiscovery Feature Example
For the VPLS Autodiscovery feature, issuing the show xconnect command with the rib keyword provides RIB details, as shown in the following example:
Router# show xconnect rib
Local Router ID: 10.9.9.9
Legend: O=Origin, P=Provisioned, TID=Target ID, B=BGP, Y=Yes, N=No
O P VPLS/VPWS-ID TID Next-Hop Route-Target
-+-+---------------------+------------+---------------+---------------------
B Y 10:123 192.0.2.0 192.0.2.5 10:123
B N 10:123 192.0.2.1 192.0.2.6 10:123
B Y 10.100.100.100:1234 192.0.2.3 192.0.2.7 10.111.111.111:12345
B Y 192.0.3.1:1234 192.0.2.4 10.1.1.1 10.111.111.111:12345
Table 163 describes the significant fields shown in the display.
Table 163 show xconnect rib Field Descriptions
Field
|
Description
|
Local Router ID
|
A unique router identifier. VPLS Autodiscovery automatically generates a router ID using the MPLS global router ID.
|
O
|
The origin of the route.
|
P
|
Whether the pseudowire has been provisioned using a learned route.
|
VPLS/WPWS-ID
|
The Virtual Private LAN Service (VPLS) domain. VPLS Autodiscovery automatically generates a VPLS ID using the Border Gateway Protocol (BGP) autonomous system number and the configured VFI VPN ID.
|
TID
|
The target ID. The IP address of the destination router.
|
Next-Hop
|
The IP address of the next hop router.
|
Route-Target
|
The route target (RT). VPLS Autodiscovery automatically generates a route target using the lower 6 bytes of the route distinguisher (RD) and VPN ID.
|
For VPLS Autodiscovery, issuing the show xconnect command with the rib and detail keywords
provides more information about the routing information base, as shown in the following example:
Router# show xconnect rib detail
Local Router ID: 10.9.9.9
VPLS-ID 10:123, TID 10.7.7.7
VPLS-ID 10:123, TID 10.7.7.8
VPLS-ID 10.100.100.100:1234, TID 0.0.0.2
Next-Hop: 10.2.2.2, 10.3.3.3, 10.4.4.4
Route-Target: 10.111.111.111:12345, 10.8.8.8:345
VPLS-ID 10.100.100.100:1234, TID 10.13.1.1
Route-Target: 10.111.111.111:12345
Table 164 describes the significant fields shown in the display.
Table 164 show xconnect rib detail Field Descriptions
Field
|
Description
|
Hello-Source
|
The source IP address used when Label Distribution Protocol (LDP) hello messages are sent to the LDP peer for the autodiscovered pseudowire.
|
Incoming RD
|
The route distinguisher for the autodiscovered pseudowire.
|
Forwarder
|
The VFI to which the autodiscovered pseudowire is attached.
|
L2VPN VPLS Inter-AS Option B Examples
The following is sample output from the show xconnect rib command when used in an L2VPN VPLS Inter-AS Option B configuration:
Router# show xconnect rib
Local Router ID: 10.9.9.9
+- Origin of entry (i=iBGP/e=eBGP)
| +- Provisioned (Yes/No)?
| | +- Stale entry (Yes/No)?
O P S VPLS-ID Target ID Next-Hop Route-Target
-+-+-+------+---------------+---------------+---------------+-------------
i Y N 1:1 10.11.11.11 10.11.11.11 1:1
i Y N 1:1 10.12.12.12 10.12.12.12 1:1
Table 165 describes the significant fields shown in the display.
Table 165 show xconnect rib Field Descriptions
Field
|
Description
|
Local Router ID
|
A unique router identifier. VPLS Autodiscovery automatically generates a router ID using the MPLS global router ID.
|
Origin of entry
|
The origin of the entry. The origin can be "i" for internal BGP or "e" for external BGP.
|
Provisioned
|
Whether the pseudowire has been provisioned using a learned route; Yes or No.
|
Stale entry
|
Stale entry; Yes or No.
|
VPLS-ID
|
The Virtual Private LAN Service (VPLS) domain. VPLS Autodiscovery automatically generates a VPLS ID using the Border Gateway Protocol (BGP) autonomous system number and the configured VFI VPN ID.
|
Target ID
|
The target ID. The IP address of the destination router.
|
Next-Hop
|
The IP address of the next hop router.
|
Route-Target
|
The route target (RT). VPLS Autodiscovery automatically generates a route target using the lower 6 bytes of the route distinguisher (RD) and VPN ID.
|
The following is sample output from the show xconnect rib detail command when used in an ASBR configuration. On an ASBR, the show xconnect rib detail command displays the Layer 2 VPN BGP network layer reachability information (NLRI) received from the BGP peers. The display also shows the signaling messages received from the targeted Label Distribution Protocol (LDP) sessions for a given target attachment individual identifier (TAII).
Router# show xconnect rib detail
Local Router ID: 10.1.1.3
VPLS-ID: 1:1, Target ID: 10.1.1.1
SAII: 10.0.0.1, LDP Peer Id: 10.255.255.255, VC Id: 1001 ***
SAII: 10.1.0.1, LDP Peer Id: 10.255.255.255, VC Id: 1002 ***
After the passive TPE router receives the BGP information (and before the passive TPE router receives the LDP label), the peer information will be displayed in the output of the show xconnect rib command. The peer information will not be displayed in the show mpls l2transport vc command because the VFI AToM xconnect has not yet been provisioned.
Therefore, for passive TPEs, the entry "Passive : Yes" is added to the output from the show xconnect rib detail command. In addition, the entry "Provisioned: Yes" is displayed after the neighbor xconnect is successfully created (without any retry attempts).
In the sample output, the two lines beginning with "SAII" show that this ASBR is stitching two provider PE routers (10.0.0.1 and 10.1.0.1) to the TAII 10.1.1.1.
Table 166 describes the significant fields shown in the display.
Table 166 show xconnect rib detail (for the ASBR) Field Descriptions
Field
|
Description
|
VPLS-ID
|
The VPLS identifier.
|
Target ID
|
The target ID. The IP address of the destination router.
|
Next-Hop
|
The IP address of the next hop router.
|
Hello-Source
|
The source IP address used when LDP hello messages are sent to the LDP peer for the autodiscovered pseudowire.
|
Route-Target
|
The route target (RT). VPLS Autodiscovery automatically generates a route target using the lower 6 bytes of the route distinguisher (RD) and VPN ID.
|
Incoming RD
|
The route distinguisher for the autodiscovered pseudowire.
|
Forwarder
|
The VFI to which the autodiscovered pseudowire is attached.
|
Origin
|
The origin of the entry.
|
Provisioned
|
Indicates whether the neighbor xconnect was successfully created (without any retry attempts).
|
SAII
|
Source attachment individual identifier.
|
The following is sample output from the show xconnect rib checkpoint command. Autodiscovered pseudowire information is checkpointed to the standby Route Processor (RP). The show xconnect rib checkpoint command displays that pseudowire information.
Router# show xconnect rib checkpoint
ISSU Client id: 2102, Session id: 82, Compatible with peer
Add entries send fail : 0
Delete entries send ok : 0
Delete entries send fail: 0
+- Checkpointed to standby (Y/N)?
| +- Origin of entry (i=iBGP/e=eBGP)
C O VPLS-ID Target ID Next-Hop Route-Target
-+-+---------------------+---------------+---------------+----------------
N e 1:1 10.1.1.2 10.1.1.2 2:2
N e 1:1 10.1.1.1 10.1.1.3 2:2
Table 167 describes the significant fields shown in the display.
Table 167 show xconnect rib checkpoint Field Descriptions
Field
|
Description
|
Checkpointing
|
Indicates whether checkpointing is allowed.
|
Checkpointing epoch
|
Checkpointing epoch number.
|
Checkpointed to standby
|
Indicates whether the autodiscovered pseudowire information is checkpointed to standby RP.
|
Origin of entry
|
The origin of the entry; "i" for internal BGP or "e" for external BGP.
|
VPLS-ID
|
The VPLS identifier.
|
Target ID
|
The target ID. The IP address of the destination router
|
Next-Hop
|
The IP address of the next hop router.
|
Route-Target
|
The route target (RT). VPLS Autodiscovery automatically generates a route target using the lower 6 bytes of the RD and VPN ID.
|
Related Commands
Command
|
Description
|
show atm pvc
|
Displays all ATM PVCs and traffic information.
|
show atm vc
|
Displays all ATM PVCs and SVCs and traffic information.
|
show atm vp
|
Displays the statistics for all VPs on an interface or for a specific VP.
|
show connect
|
Displays configuration information about drop-and-insert connections that have been configured on a router.
|
show frame-relay pvc
|
Displays statistics about PVCs for Frame Relay interfaces.
|
show interfaces
|
Displays statistics for all interfaces configured on the router or access server.
|
show l2tun session
|
Displays the current state of Layer 2 sessions and protocol information about L2TP control channels.
|
show mpls l2transport binding
|
Displays VC label binding information.
|
show mpls l2transport vc
|
Displays information about AToM VCs that have been enabled to route Layer 2 packets on a router.
|
show xtagatm cos-bandwidth-allocation
Note
Effective with Cisco IOS Release 12.4(20)T, the show xtagatm cos-bandwidth-allocation command is not available in Cisco IOS software.
To display information about quality of service (QoS) bandwidth allocation on extended Multiprotocol Label Switching (MPLS) ATM (XTagATM) interfaces, use the show xtagatm cos-bandwidth-allocation command in user EXEC or privileged EXEC mode.
show xtagatm cos-bandwidth-allocation [xtagatm interface-number]
Syntax Description
xtagatm
|
(Optional) Specifies the XTagATM interface number.
|
interface-number
|
Number of the XTagATM interface. Range: 0 to 2147483647.
|
Defaults
Available 50 percent, control 50 percent.
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)T
|
This command was introduced.
|
12.4(20)T
|
This command was removed.
|
Usage Guidelines
Use this command to display QoS bandwidth allocation information for the following QoS traffic categories:
•
Available
•
Standard
•
Premium
•
Control
Examples
The following example shows output from this command:
Router# show xtagatm cos-bandwidth-allocation xtagatm 123
Table 168 describes the significant fields shown in the display.
Table 168 show xtagatm cos-bandwidth-allocation Field Descriptions
Field
|
Description
|
CoS
|
Class of service for transmitted packets.
|
Bandwidth Allocation
|
Percentage bandwidth allocated to each QoS traffic category.
|
show xtagatm cross-connect
Note
Effective with Cisco IOS Release 12.4(20)T, the show xtagatm cross-connect command is not available in Cisco IOS software.
To display information about the Label Switch Controller (LSC) view of the cross-connect table on the remotely controlled ATM switch, use the show xtagatm cross-connect command in user EXEC or privileged EXEC mode.
show xtagatm cross-connect [traffic] [interface interface [vpi vci] | descriptor descriptor
[vpi vci]]
Syntax Description
traffic
|
(Optional) Displays receive and transmit cell counts for each connection.
|
interface interface
|
(Optional) Displays only connections with an endpoint of the specified interface.
|
vpi vci
|
(Optional) Displays only detailed information on the endpoint with the specified virtual path identifier (VPI)/virtual channel identifier (VCI) on the specified interface.
|
descriptor descriptor
|
(Optional) Displays only connections with an endpoint on the interface with the specified physical descriptor.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.0(5)T
|
This command was introduced.
|
12.4(20)T
|
This command was removed.
|
Examples
Each connection is listed twice in the output from the show xtagatm cross-connect command, because it shows each interface that is linked by the connection.
The following is sample output from the show xtagatm cross-connect command:
Router# show xtagatm cross-connect
Phys Desc VPI/VCI Type X-Phys Desc X-VPI/VCI State
10.1.0 1/37 -> 10.3.0 1/35 UP
10.1.0 1/34 -> 10.3.0 1/33 UP
10.1.0 1/33 <-> 10.2.0 0/32 UP
10.1.0 1/32 <-> 10.3.0 0/32 UP
10.1.0 1/35 <- 10.3.0 1/34 UP
10.2.0 1/57 -> 10.3.0 1/49 UP
10.2.0 1/53 -> 10.3.0 1/47 UP
10.2.0 1/48 <- 10.1.0 1/50 UP
10.2.0 0/32 <-> 10.1.0 1/33 UP
10.3.0 1/34 -> 10.1.0 1/35 UP
10.3.0 1/49 <- 10.2.0 1/57 UP
10.3.0 1/47 <- 10.2.0 1/53 UP
10.3.0 1/37 <- 10.1.0 1/38 UP
10.3.0 1/35 <- 10.1.0 1/37 UP
10.3.0 1/33 <- 10.1.0 1/34 UP
10.3.0 0/32 <-> 10.1.0 1/32 UP
Table 169 describes the significant fields shown in the display.
Table 169 show xtagatm cross-connect Field Descriptions
Field
|
Description
|
Phys desc
|
Physical descriptor. A switch-supplied string identifying the interface on which the endpoint exists.
|
VPI/VCI
|
Virtual path identifier and virtual channel identifier for this endpoint.
|
Type
|
The type can be one of the following:
A right arrow (->) indicates an ingress endpoint, where traffic is received into the switch.
A left arrow (<-) indicates an egress endpoint, where traffic is transmitted from the interface.
A bidirectional arrow (<->) indicates that traffic is both transmitted and received at this endpoint.
|
X-Phys Desc
|
Physical descriptor for the interface of the other endpoint belonging to the cross-connect.
|
X-VPI/VCI
|
Virtual path identifier and virtual channel identifier of the other endpoint belonging to the cross-connect.
|
State
|
Indicates the status of the cross-connect to which this endpoint belongs. The state is typically UP; other values, all of which are transient, include the following:
• DOWN
• ABOUT_TO_DOWN
• ABOUT_TO_CONNECT
• CONNECTING
• ABOUT_TO_RECONNECT
• RECONNECTING
• ABOUT_TO_RESYNC
• RESYNCING
• NEED_RESYNC_RETRY
• ABOUT_TO_RESYNC_RETRY RETRYING_RESYNC
• ABOUT_TO_DISCONNECT
• DISCONNECTING
|
The following is sample output from the show xtagatm cross-connect command for a single endpoint:
Router# show xtagatm cross-connect descriptor 10.1.0 1 42
Intf type: switch control port
X-Intf type: extended tag ATM
Cast-type: point-to-point
Rx service type: Tag COS 0
Tx service type: Tag COS 0
Table 170 describes the significant fields shown in the display.
Table 170 show xtagatm cross-connect descriptor Field Descriptions
Field
|
Description
|
Phys desc
|
Physical descriptor. A switch-supplied string identifying the interface on which the endpoint exists.
|
Interface
|
The (Cisco IOS) interface name.
|
Intf type
|
Interface type. Can be either extended Multiprotocol Label Switched (MPLS) ATM (XTagATM) or a switch control port.
|
VPI/VCI
|
Virtual path identifier and virtual channel identifier for this endpoint.
|
X-Phys desc
|
Physical descriptor for the interface of the other endpoint belonging to the cross-connect.
|
X-Interface
|
The (Cisco IOS) name for the interface of the other endpoint belonging to the cross-connect.
|
X-Intf type
|
Interface type for the interface of the other endpoint belonging to the cross-connect.
|
X-VPI/VCI
|
Virtual path identifier and virtual channel identifier of the other endpoint belonging to the cross-connect.
|
Conn-state
|
Indicates the status of the cross-connect to which this endpoint belongs. The cross-connect state is typically UP; other values, all of which are transient, include the following:
• DOWN ABOUT_TO_DOWN ABOUT_TO_CONNECT
• CONNECTING
• ABOUT_TO_RECONNECT
• RECONNECTING
• ABOUT_TO_RESYNC
• RESYNCING
• NEED_RESYNC_RETRY
• ABOUT_TO_RESYNC_RETRY
• RETRYING_RESYNC
• ABOUT_TO_DISCONNECT
• DISCONNECTING
|
Conn-type
|
Input—Indicates an ingress endpoint where traffic is only expected to be received into the switch.
Output—Indicates an egress endpoint, where traffic is only expected to be sent from the interface.
Input/output—Indicates that traffic is expected to be both send and received at this endpoint.
|
Cast-type
|
Indicates whether the cross-connect is multicast.
|
Rx service type
|
Quality of service type for the receive, or ingress, direction. This is MPLS QoS <n>, (MPLS Quality of Service <n>), where n is in the range from 0 to 7 for input and input/output endpoints; this will be N/A for output endpoints. (In the first release, this is either 0 or 7.)
|
Rx cell rate
|
(Guaranteed) cell rate in the receive, or ingress, direction.
|
Rx peak cell rate
|
Peak cell rate in the receive, or ingress, direction, in cells per second. This is n/a for an output endpoint.
|
Tx service type
|
Quality of service type for the transmit, or egress, direction. This is MPLS QoS <n>, (MPLS Class of Service <n>), where n is in the range from 0 to 7 for output and input/output endpoints; this will be N/A for input endpoints.
|
Tx cell rate
|
(Guaranteed) cell rate in the transmit, or egress, direction.
|
Tx peak cell rate
|
Peak cell rate in the transmit, or egress, direction, in cells per second. This is N/A for an input endpoint.
|
show xtagatm vc
Note
Effective with Cisco IOS Release 12.4(20)T, the show xtagatm vc command is not available in Cisco IOS software.
To display information about terminating virtual circuits (VCs) on extended Multiprotocol Label Switching (MPLS) ATM (XTagATM) interfaces, use the show xtagatm vc command in user EXEC or privileged EXEC mode.
show xtagatm vc [vcd [interface]]
Syntax Description
vcd
|
(Optional) Virtual circuit descriptor (virtual circuit number). If you specify the vcd argument, information displays about all VCs with that virtual circuit descriptor (VCD). If you do not specify the vcd argument, a summary description of all VCs on all XTagATM interfaces displays.
|
interface
|
(Optional) Interface number. If you specify the interface and the vcd arguments, information displays about the specified VC on the specified interface.
|
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release
|
Modifications
|
12.0(5)T
|
This command was introduced.
|
12.4(20)T
|
This command was removed.
|
Usage Guidelines
The columns marked VCD, VPI, and VCI display information for the corresponding private VC on the control interface. The private VC connects the XTagATM VC to the external switch. It is termed private because its VPI and VCI are only used for communication between the MPLS LSC and the switch, and it is different from the VPI and VCI seen on the XTagATM interface and the corresponding switch port.
Examples
Each connection is listed twice in the sample output from the show xtagatm vc command under each interface that is linked by the connection. Connections are marked as input (unidirectional traffic flow, into the interface), output (unidirectional traffic flow, away from the interface), or in/out (bidirectional).
The following is sample output from the show xtagatm vc command:
AAL / Control Interface
Interface VCD VPI VCI Type Encapsulation VCD VPI VCI Status
XTagATM0 1 0 32 PVC AAL5-SNAP 2 0 33 ACTIVE
XTagATM0 2 1 33 TVC AAL5-MUX 4 0 37 ACTIVE
XTagATM0 3 1 34 TVC AAL5-MUX 6 0 39 ACTIVE
Table 171 describes the significant fields shown in the display.
Table 171 show xtagatm vc Field Descriptions
Field
|
Description
|
VCD
|
Virtual circuit descriptor (virtual circuit number).
|
VPI
|
Virtual path identifier.
|
VCI
|
Virtual circuit identifier.
|
Control Interf. VCD
|
VCD for the corresponding private VC on the control interface.
|
Control Interf. VPI
|
VPI for the corresponding private VC on the control interface.
|
Control Interf. VCI
|
VCI for the corresponding private VC on the control interface.
|
Encapsulation
|
Displays the type of connection on the interface.
|
Status
|
Displays the current state of the specified ATM interface.
|
Related Commands
Command
|
Description
|
show atm vc
|
Displays information about private ATM VCs.
|
show xtagatm cross-connect
|
Displays information about remotely connected ATM switches.
|
snmp mib mpls vpn
To configure Simple Network Management Protocol (SNMP) controls for Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) notification thresholds, use the snmp mib mpls vpn command in global configuration mode. To disable SNMP controls for MPLS VPN thresholds, use the no form of this command.
snmp mib mpls vpn {illegal-label number | max-threshold seconds}
no snmp mib mpls vpn {illegal-label | max-threshold}
Syntax Description
illegal-label
|
Controls MPLS VPN illegal label threshold exceeded notifications.
|
number
|
Number of illegal labels allowed before SNMP sends an illegal label threshold notification. The valid range is from 1 to 4,294,967,295. The default is 0.
|
max-threshold
|
Controls MPLS VPN maximum threshold exceeded notifications.
|
seconds
|
Time in seconds before SNMP resends maximum threshold notifications. The valid range is from 0 to 4,294,967,295. The default is 0.
|
Command Default
SNMP controls are not configured for MPLS VPN routing and forwarding (VRF) tables.
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.2(33)SRC
|
This command was introduced.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
Usage Guidelines
Use this command to configure the number of illegal labels allowed for routes in the MPLS VRF before SNMP sends an illegal label threshold notification, or to configure the time elapsed before SNMP resends a maximum threshold notification.
Use the snmp mib mpls vpn illegal-label command to indicate how many illegal MPLS VPN labels you want to allow before you receive a notification. Once this number is exceeded, SNMP sends an illegal-label notification to a network management system (NMS), if you have one configured; otherwise, the router issues a syslog error message. If you do not configure this command, SNMP sends an illegal label notification on the first occurrence of an illegal label.
Use the snmp mib mpls vpn max-threshold command if you want to receive maximum threshold notifications periodically when attempts are made to add routes to the VRF after the maximum threshold is exceeded. If you do not configure this command, SNMP sends a single maximum threshold notification at the time that the maximum threshold is exceeded. Notifications are sent to an NMS if you configured one; otherwise, the router issues a syslog error message. Another notification is not sent until the number of routes goes below the maximum threshold and then exceeds the threshold again.
Examples
The following example shows how to configure an illegal label threshold of 50 labels:
smnp mib mpls vpn illegal-label 50
The following example shows how to configure the time interval of 600 seconds for resending maximum threshold notifications:
smnp mib mpls vpn max-threshold 600
Related Commands
Command
|
Description
|
ip vrf
|
Specifies a name for a VRF routing table and enters VRF configuration mode (for IPv4 VRF only).
|
maximum routes
|
Limits the maximum number of routes in a VRF to prevent a PE router from importing too many routes.
|
vrf definition
|
Configures a VRF routing table instance and enters VRF configuration mode.
|
snmp-server community
To set up the community access string to permit access to the Simple Network Management Protocol (SNMP), use the snmp-server community command in global configuration mode. To remove the specified community string, use the no form of this command.
snmp-server community string [view view-name] [ro | rw] [ipv6 nacl] [access-list-number |
extended-access-list-number | access-list-name]
no snmp-server community string
Syntax Description
string
|
Community string that consists of 1 to 32 alphanumeric characters and functions much like a password, permitting access to SNMP. Blank spaces are not permitted in the community string.
Note The @ symbol is used for delimiting the context information. Avoid using the @ symbol as part of the SNMP community string when configuring this command.
|
view
|
(Optional) Specifies a previously defined view. The view defines the objects available to the SNMP community.
|
view-name
|
(Optional) Name of a previously defined view.
|
ro
|
(Optional) Specifies read-only access. Authorized management stations can retrieve only MIB objects.
|
rw
|
(Optional) Specifies read-write access. Authorized management stations can both retrieve and modify MIB objects.
|
ipv6
|
(Optional) Specifies an IPv6 named access list.
|
nacl
|
(Optional) IPv6 named access list.
|
access-list-number
|
(Optional) Integer from 1 to 99 that specifies a standard access list of IP addresses or a string (not to exceed 64 characters) that is the name of a standard access list of IP addresses allowed access to the SNMP agent.
Alternatively, an integer from 1300 to 1999 that specifies a list of IP addresses in the expanded range of standard access list numbers that are allowed to use the community string to gain access to the SNMP agent.
|
Command Default
An SNMP community string permits read-only access to all objects.
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
10.0
|
This command was introduced.
|
12.0(14)ST
|
This command was integrated into Cisco IOS Release 12.0(14)ST.
|
12.0(17)S
|
This command was integrated into Cisco IOS Release 12.0(17)S.
|
12.2(14)S
|
This command was integrated into Cisco IOS Release 12.2(14)S.
|
12.3(2)T
|
The access list values were enhanced to support the expanded range of standard access list values and to support named standard access lists.
|
12.0(27)S
|
The ipv6 nacl keyword and argument pair was added to support assignment of IPv6 named access lists. This keyword and argument pair is not supported in Cisco IOS 12.2S releases.
|
12.3(14)T
|
The ipv6 nacl keyword and argument pair was integrated into Cisco IOS Release 12.3(14)T to support assignment of IPv6 named access lists. This keyword and argument pair is not supported in Cisco IOS 12.2S releases.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.4(11)T
|
This command was integrated into Cisco IOS Release 12.4(11)T.
|
12.2(31)SB2
|
This command was integrated into Cisco IOS Release 12.2(31)SB2.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
Cisco IOS XE Release 2.1
|
This command was introduced on Cisco ASR 1000 Aggregation Series Routers.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
12.2(33)SRE
|
This command was modified. The automatic insertion of the snmp-server community command into the configuration, along with the community string specified in the snmp-server host command, is changed. The snmp-server community command has to be manually configured.
|
15.1(0)M
|
This command was modified. The automatic insertion of the snmp-server community command into the configuration, along with the community string specified in the snmp-server host command, is changed. The snmp-server community command has to be manually configured.
|
Usage Guidelines
The no snmp-server command disables all versions of SNMP (SNMPv1, SNMPv2C, SNMPv3).
The first snmp-server command that you enter enables all versions of SNMP.
To configure SNMP community strings for the MPLS LDP MIB, use the snmp-server community command on the host network management station (NMS).
Note
In Cisco IOS Release 12.0(3) to 12.2(33)SRD, if a community string was not defined using the snmp-server community command prior to using the snmp-server host command, the default form of the snmp-server community command was automatically inserted into the configuration. The password (community string) used for this automatic configuration of the snmp-server community was same as specified in the snmp-server host command. However, in Cisco IOS Release 12.2(33)SRE and later releases, you have to manually configure the snmp-server community command.
The snmp-server community command can be used to specify only an IPv6 named access list, only an IPv4 access list, or both. For you to configure both IPv4 and IPv6 access lists, the IPv6 access list must appear first in the command statement.
Note
The @ symbol is used as a delimiter between the community string and the context in which it is used. For example, specific VLAN information in BRIDGE-MIB may be polled using community@VLAN_ID (for example, public@100) where 100 is the VLAN number. Avoid using the @ symbol as part of the SNMP community string when configuring this command.
Examples
The following example shows how to set the read/write community string to newstring:
Router(config)# snmp-server community newstring rw
The following example shows how to allow read-only access for all objects to members of the standard named access list lmnop that specify the comaccess community string. No other SNMP managers have access to any objects.
Router(config)# snmp-server community comaccess ro lmnop
The following example shows how to assign the string comaccess to SNMP, allow read-only access, and specify that IP access list 4 can use the community string:
Router(config)# snmp-server community comaccess ro 4
The following example shows how to assign the string manager to SNMP and allow read-write access to the objects in the restricted view:
Router(config)# snmp-server community manager view restricted rw
The following example shows how to remove the community comaccess:
Router(config)# no snmp-server community comaccess
The following example shows how to disable all versions of SNMP:
Router(config)# no snmp-server
The following example shows how to configure an IPv6 access list named list1 and links an SNMP community string with this access list:
Router(config)# ipv6 access-list list1
Router(config-ipv6-acl)# permit ipv6 any any
Router(config-ipv6-acl)# exit
Router(config)# snmp-server community comaccess rw ipv6 list1
Related Commands
Command
|
Description
|
access-list
|
Configures the access list mechanism for filtering frames by protocol type or vendor code.
|
show snmp community
|
Displays SNMP community access strings.
|
snmp-server enable traps
|
Enables the router to send SNMP notification messages to a designated network management workstation.
|
snmp-server host
|
Specifies the targeted recipient of an SNMP notification operation.
|
snmp-server view
|
Creates or updates a view entry.
|
snmp-server enable traps (MPLS)
To enable a label switch router (LSR) to send Simple Network Management Protocol (SNMP) notifications or informs to an SNMP host, use the snmp-server enable traps command in global configuration mode. To disable notifications or informs, use the no form of this command.
snmp-server enable traps [notification-type] [notification-option]
no snmp-server enable traps [notification-type] [notification-option]
Syntax Description
notification-type
|
(Optional) Specifies the particular type of SNMP notification(s) to be enabled on the LSR. If a notification type is not specified, all SNMP notifications applicable to the LSR are enabled and sent to the SNMP host. Any one or all of the following keywords can be specified in any combination as the notification-type (family name) in the snmp-server enable traps command:
• bgp—Sends Border Gateway Protocol (BGP) state change notifications.
• config—Sends configuration notifications.
• entity—Sends entity MIB modification notifications.
• envmon—Sends Cisco enterprise-specific environmental monitor notifications whenever certain environmental thresholds are exceeded. Notification-option arguments (below) can be specified in combination with this keyword.
• frame-relay—Sends Frame Relay notifications.
• hsrp—Sends Hot Standby Routing Protocol (HSRP) notifications.
• isdn—Sends ISDN notifications. Notification-option arguments (see examples below) can be specified in combination with this keyword.
• repeater—Sends Ethernet repeater (hub) notifications. Notification-option arguments (see examples below) can be specified in combination with this keyword.
• rsvp—Sends Resource Reservation Protocol (RSVP) notifications.
• rtr—Sends Service Assurance Agent/Response Time Reporter (RTR) notifications.
• snmp [authentication]—Sends RFC 1157 SNMP notifications. Using the authentication keyword produces the same effect as not using it. Both the snmp-server enable traps snmp and the snmp-server enable traps snmp authentication forms of this command globally enable the following SNMP notifications (or, if you are using the no form of the command, disables such notifications): authenticationFailure, linkUp, linkDown, and warmstart.
• syslog—Sends system error message (syslog) notifications. You can specify the level of messages to be sent using the logging history level command.
|
notification-type (continued)
|
• mpls ldp—Sends notifications about status changes in LDP sessions. Note that this keyword is specified as mpls ldp. This syntax, which the CLI interprets as a two-word construct, has been implemented in this manner to maintain consistency with other MPLS commands. Notification-option arguments (below) can be specified in combination with this keyword.
• mpls traffic-eng—Sends notifications about status changes in MPLS label distribution tunnels. This keyword is specified as mpls traffic-eng. This syntax, which the CLI interprets as a two-word construct, has been implemented in this manner to maintain consistency with other MPLS commands. Notification-option arguments (below) can be specified in combination with this keyword.
|
notification-option
|
(Optional) Defines the particular options associated with the specified notification-type that are to be enabled on the LSR.
• envmon [voltage | shutdown | supply | fan | temperature]
When you specify the envmon keyword, you can enable any one or all of the following environmental notifications in any combination: voltage, shutdown, supply, fan, or temperature. If you do not specify an argument with the envmon keyword, all types of system environmental notifications are enabled on the LSR.
• isdn [call-information | isdn u-interface]
When you specify the isdn keyword, you can use either the call-information argument (to enable an SNMP ISDN call information option for the ISDN MIB subsystem) or the isdn u-interface argument (to enable an SNMP ISDN U interface option for the ISDN U Interfaces MIB subsystem), or both. If you do not specify an argument with the isdn keyword, both types of isdn notifications are enabled on the LSR.
• repeater [health | reset]
When you specify the repeater keyword, you can use either the health argument or the reset argument, or both (to enable the IETF Repeater Hub MIB [RFC 1516] notification). If you do not specify an argument with the repeater keyword, both types of notifications are enabled on the LSR.
• mpls ldp [session-up | session-down | pv-limit | threshold]
When you specify the mpls ldp keyword, you can use any one or all of the following arguments in any combination to indicate status changes in LDP sessions: session-up, session-down, pv-limit, or threshold. If you do not specify an argument with the mpls ldp keyword, all four types of LDP session notifications are enabled on the LSR.
• mpls traffic-eng [up | down | reroute]
When you specify the mpls traffic-eng keyword, you can use any one or all of the following arguments in any combination to enable the sending of notifications regarding status changes in MPLS label distribution tunnels: up, down, or reroute. If you do not specify an argument with the mpls traffic-eng keyword, all three types of tunnel notifications are enabled on the LSR.
|
Defaults
If you issue this command on an LSR without specifying any notification-type keywords, the default behavior of the LSR is to enable all notification types controlled by the command (some notification types cannot be controlled by means of this command).
Command Modes
Global configuration
Command History
Release
|
Modification
|
11.1
|
This command was introduced.
|
11.3
|
The snmp-server enable traps snmp authentication form of this command was introduced to replace the snmp-server trap-authentication command.
|
12.0(17)ST
|
The mpls traffic-eng keyword was added to define a class or family of specific SNMP notifications for use with the notification-type and notification-option parameters of the snmp-server enable traps command.
|
12.0(21)ST
|
The mpls ldp keyword was added to define a class or family of specific SNMP notifications for use with the notification-type and notification-option parameters of the snmp-server enable traps command.
|
12.0(22)S
|
This command was integrated into Cisco IOS Release 12.0(22)S.
|
12.2(18)S
|
This command was integrated into Cisco IOS Release 12.2(18)S.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.4(11)T
|
This command was integrated into Cisco IOS Release 12.4(11)T.
|
12.2(31)SB2
|
This command was integrated into Cisco IOS Release 12.2(31)SB2.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
Usage Guidelines
To configure an LSR to send SNMP LDP notifications, you must issue at least one snmp-server enable traps command on the router.
To configure an LSR to send either notifications (traps) or informs to a designated network management station (NMS), you must issue the snmp-server host command on that device, using the keyword (traps or informs) that suits your purposes.
If you issue the snmp-server enable traps command without keywords, all SNMP notification types are enabled on the LSR. If you issue this command with specific keywords, only the notification types associated with those particular keywords are enabled on the LSR.
The snmp-server enable traps command is used in conjunction with the snmp-server host command. You use the latter command to specify the NMS host (or hosts) targeted as the recipient(s) of the SNMP notifications generated by SNMP-enabled LSRs in the network. To enable an LSR to send such notifications, you must issue at least one snmp-server host command on the LSR.
Examples
In the following example, the router is enabled to send all notifications to the host specified as myhost.cisco.com. The community string is defined as public.
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com public
In the following example, the router is enabled to send Frame Relay and environmental monitor notifications to the host specified as myhost.cisco.com. The community string is defined as public:
Router(config)# snmp-server enable traps frame-relay
Router(config)# snmp-server enable traps envmon temperature
Router(config)# snmp-server host myhost.cisco.com public
In the following example, notifications are not sent to any host. BGP notifications are enabled for all hosts, but the only notifications enabled to be sent to a host are ISDN notifications (which are not enabled in this example).
Router(config)# snmp-server enable traps bgp
Router(config)# snmp-server host host1 public isdn
In the following example, the router is enabled to send all inform requests to the host specified as myhost.cisco.com. The community string is defined as public.
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com informs version 2c public
In the following example, HSRP MIB notifications are sent to the host specified as myhost.cisco.com. The community string is defined as public.
Router(config)# snmp-server enable hsrp
Router(config)# snmp-server host myhost.cisco.com traps version 2c public hsrp
Related Commands
Command
|
Description
|
snmp-server host
|
Specifies the intended recipient of an SNMP notification (that is, the designated NMS workstation in the network).
|
snmp-server enable traps mpls ldp
To enable the sending of Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Simple Network Management Protocol (SNMP) notifications, use the snmp-server enable traps mpls ldp command in global configuration mode. To disable the sending of MPLS LDP notifications, use the no form of this command.
snmp-server enable traps mpls ldp [pv-limit] [session-down] [session-up] [threshold]
no snmp-server enable traps mpls ldp [pv-limit] [session-down] [session-up] [threshold]
Syntax Description
pv-limit
|
(Optional) Enables or disables path-vector (PV) limit notifications (mplsLdpPathVectorLimitMismatch).
|
session-down
|
(Optional) Enables or disables LDP session down notifications (mplsLdpSessionDown).
|
session-up
|
(Optional) Enables or disables LDP session up notifications (mplsLdpSessionUp).
|
threshold
|
(Optional) Enables or disables PV Limit notifications (mplsLdpFailedInitSessionThresholdExceeded).
|
Command Default
The sending of SNMP notifications is disabled. If you do not specify an optional keyword, all four types of LDP notifications are enabled on the label switching router (LSR).
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.0(21)ST
|
This command was introduced.
|
12.2(13)T
|
This command was integrated into Cisco IOS Release 12.2(13)T.
|
12.0(30)S
|
This command was integrated into Cisco IOS Release 12.0(30)S.
|
12.2(27)SBC
|
This command was integrated into Cisco IOS Release 12.2(27)SBC.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
Usage Guidelines
The MPLS LDP pv-limit (mplsLdpPathVectorLimitMismatch) notification provides a warning message that can be sent to the network management station (NMS) when two routers engaged in LDP operations have a dissimilar path-vector limits.
The value of the path-vector limit can range from 0 to 255; a value of 0 indicates that loop detection is off. Any value other than 0 up to 255 indicates that loop detection is on and specifies the maximum number of hops through which an LDP message can pass before a loop condition in the network is sensed.
The MPLS LDP threshold (mplsLdpFailedInitSessionThresholdExceeded) notification object provides a warning message that can be sent to an NMS when a local LSR and an adjacent LDP peer attempt to set up an LDP session between them, but fail to do so after a specified number of attempts. The default number of attempts is 8. This default value is implemented in Cisco IOS software and cannot be changed using either the command line interface (CLI) or an SNMP agent.
In general, Cisco routers support the same features across multiple platforms. Therefore, the most likely incompatibility to occur between Cisco LSRs is a mismatch of their respective ATM VPI/VCI label ranges. For example, if you specify a range of valid labels for an LSR that does not overlap the range of its adjacent LDP peer, the routers will try eight times to create an LDP session between themselves before the mplsLdpFailedInitSessionThresholdExceeded notification is generated.
The LSRs whose label ranges do not overlap continue their attempt to create an LDP session between themselves after the eight retry threshold is exceeded. In such cases, the LDP threshold exceeded notification alerts the network administrator to the existence of a condition in the network that may warrant attention.
RFC 3036, LDP Specification, details the incompatibilities that can exist between Cisco routers or other vendor LSRs in an MPLS network. Among these incompatibilities, for example, are the following:
•
Nonoverlapping ATM VPI/VCI ranges (as noted) or nonoverlapping Frame Relay data-link connection identifier (DLCI) ranges between LSRs attempting to set up an LDP session
•
Unsupported label distribution method
•
Dissimilar protocol data unit (PDU) sizes
•
Dissimilar LDP feature support
The snmp-server enable traps mpls ldp command is used with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications. To send SNMP notifications, you must configure at least one snmp-server host command.
If the pv-limit keyword is used, a message is generated when the router establishes an LDP session with its adjacent peer LSR, but the two LSRs have dissimilar path-vector limits.
If the session-down keyword is used, a session-down message is generated when an LDP session between the router and its adjacent LDP peer is terminated.
If the session-up keyword is used, a message is generated when the router establishes an LDP session with another LDP entity (an adjacent LDP peer in the network).
If the threshold keyword is used, a message is generated after eight failed attempts to establish an LDP session between the router and an LDP peer. The failures can be caused by any type of incompatibility between the devices.
All four keywords can be used in the same command in any combination.
Note
An mplsLdpEntityFailedInitSessionThreshold trap is supported only on an LC-ATM.
Examples
In the following example, LDP-specific informs are enabled and will be sent to the host myhost.cisco.com through use of community string defined as public:
Router(config)# snmp-server enable traps mpls ldp
Router(config)# snmp-server host myhost.cisco.com informs version 2c public mpls-ldp
Related Commands
Command
|
Description
|
snmp-server host
|
Specifies whether you want the SNMP notifications sent as traps or informs, the version of SNMP to use, the security level of the notifications (for SNMPv3), and the recipient (host) of the notifications.
|
snmp-server enable traps mpls rfc ldp
To enable the sending of Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) Simple Network Management Protocol (SNMP) notifications defined in RFC 3815, use the snmp-server enable traps mpls rfc ldp command in global configuration mode. To disable the sending of MPLS LDP notifications, use the no form of this command.
snmp-server enable traps mpls rfc ldp [pv-limit | session-down | session-up | threshold]
no snmp-server enable traps mpls rfc ldp [pv-limit | session-down | session-up | threshold]
Syntax Description
pv-limit
|
(Optional) Enables or disables MPLS RFC LDP path-vector (PV) limit mismatch notifications (mplsLdpPathVectorLimitMismatch).
|
session-down
|
(Optional) Enables or disables MPLS RFC LDP session down notifications (mplsLdpSessionDown).
|
session-up
|
(Optional) Enables or disables MPLS RFC LDP session up notifications (mplsLdpSessionUp).
|
threshold
|
(Optional) Enables or disables MPLS RFC LDP threshold exceeded notifications (mplsLdpInitSessionThresholdExceeded).
|
Command Default
The sending of SNMP notifications is disabled by default.
If you do not specify an optional keyword, all four types of MPLS RFC LDP notifications are enabled on the label switch router (LSR).
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.2(33)SRB
|
This command was introduced.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
Usage Guidelines
Use this command to enable the LDP notifications supported in Definitions of Managed Objects for the Multiprotocol Label Switching (MPLS), Label Distribution Protocol (LDP), RFC 3815.
The MPLS LDP pv-limit (mplsLdpPathVectorLimitMismatch) notification provides a warning message that can be sent to the network management station (NMS) when two routers engaged in LDP operations have a dissimilar path vector limits. We recommend that all LDP-enabled routers in the network be configured with the same path vector limits.
The value of the path vector limit can range from 0 to 255; a value of 0 indicates that loop detection is off; any value other than 0 up to 255 indicates that loop detection is on and, in addition, specifies the maximum number of hops through which an LDP message can pass before a loop condition in the network is sensed.
The MPLS LDP threshold (mplsLdpFailedInitSessionThresholdExceeded) notification object provides a warning message that can be sent to an NMS when a local LSR and an adjacent LDP peer attempt to set up an LDP session between them, but fail to do so after a specified number of attempts. The default number of attempts is eight. This default value is implemented in Cisco IOS software and cannot be changed using either the command-line interface (CLI) or an SNMP agent.
In general, Cisco routers support the same features across multiple platforms. Therefore, the most likely incompatibility to occur between Cisco LSRs is a mismatch of their respective ATM Virtual Path Identifier (VPI) and Virtual Channel Identifier (VCI) label ranges.
For example, if you specify a range of valid labels for an LSR that does not overlap the range of its adjacent LDP peer, the routers will try eight times to create an LDP session between themselves before the mplsLdpFailedInitSessionThresholdExceeded notification is generated.
The LSRs whose label ranges do not overlap continue their attempt to create an LDP session between themselves after the eight retry threshold is exceeded. In such cases, the LDP threshold exceeded notification alerts the network administrator to the existence of a condition in the network that may warrant attention.
RFC 3036, LDP Specification, details the incompatibilities that can exist between Cisco routers or between Cisco routers and other vendor LSRs in an MPLS network. Among these incompatibilities, for example, are the following:
•
Nonoverlapping ATM VPI and VCI ranges (as noted) or nonoverlapping Frame Relay Data Link Connection Identifier (DLCI) ranges between LSRs attempting to configure an LDP session
•
Unsupported label distribution method
•
Dissimilar protocol data unit (PDU) sizes
•
Dissimilar LDP feature support
The snmp-server enable traps mpls rfc ldp command is used with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP notifications. To send SNMP notifications, you must configure at least one snmp-server host command.
If the pv-limit keyword is used, a message is generated when the router establishes an LDP session with its adjacent peer LSR, but the two LSRs have dissimilar path vector limits.
If the session-down keyword is used, a session-down message is generated when an LDP session between the router and its adjacent LDP peer is terminated.
If the session-up keyword is used, a message is generated when the router establishes an LDP session with another LDP entity (an adjacent LDP peer in the network).
If the threshold keyword is used, a message is generated after eight failed attempts to establish an LDP session between the router and an LDP peer. The failures can be caused by any type of incompatibility between the devices.
Examples
In the following example, LDP-specific informs are enabled and will be sent to the host myhost.cisco.com through use of community string defined as public:
Router(config)# snmp-server enable traps mpls rfc ldp
Router(config)# snmp-server host myhost.cisco.com informs version 2c public mpls-ldp
Related Commands
Command
|
Description
|
snmp-server host
|
Specifies whether you want the SNMP notifications sent as traps or informs, the version of SNMP to use, the security level of the notifications (for SNMPv3), and the recipient (host) of the notifications.
|
snmp-server enable traps mpls rfc vpn
To enable the sending of Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Simple Network Management Protocol (SNMP) notifications defined in RFC 4382, use the snmp-server enable traps mpls rfc vpn command in global configuration mode. To disable the sending of MPLS VPN notifications, use the no form of this command
snmp-server enable traps mpls rfc vpn [illegal-label] [max-thresh-cleared] [max-threshold]
[mid threshold] [vrf-down] [vrf-up]
no snmp-server enable traps mpls rfc vpn [illegal-label] [max-thresh-cleared] [max-threshold]
[mid threshold] [vrf-down] [vrf-up]
Syntax Description
illegal-label
|
(Optional) Enables or disables an MPLS RFC VPN notification for any illegal labels received on a VPN routing and forwarding (VRF) instance interface.
|
max-thresh-cleared
|
(Optional) Enables or disables an MPLS RFC VPN notification when the number of routes attempts to exceed the maximum limit and then drops below the maximum number of routes.
|
max-threshold
|
(Optional) Enables or disables an MPLS RFC VPN notification when a route creation attempt was unsuccessful because the maximum route limit was reached.
|
mid-threshold
|
(Optional) Enables or disables an MPLS RFC VPN warning when the number of routes created has exceeded the warning threshold.
|
vrf-down
|
(Optional) Enables or disables an MPLS RFC VPN notification when the last interface associated with a VRF transitions to the down state.
|
vrf-up
|
(Optional) Enables or disables an MPLS RFC VPN notification when the first interface associated with a VRF transitions to the up state when previously all interfaces were in the down state.
|
Command Default
The sending of SNMP notifications is disabled by default.
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.2(33)SRC
|
This command was introduced.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
Usage Guidelines
If this command is used without any of the optional keywords, all MPLS RFC VPN notification types are enabled.
The illegal-label keyword enables a notification for illegal labels received on a VRF interface. Labels are illegal if they are outside the legal range, do not have a Label Forwarding Information Base (LFIB) entry, or do not match table IDs for the label.
When the max-thresh-cleared keyword is used and you attempt to create a route on a VRF that already contains the maximum number of routes, the mplsL3VpnVrfNumVrfRouteMaxThreshExceeded notification is sent (if enabled). When you remove routes from the VRF so that the number of routes falls below the set limit, the mplsL3VpnNumVrfRouteMaxThreshCleared notification is sent. You can clear all routes from the VRF by using the clear ip route vrf command.
The max-threshold keyword enables a notification that a route creation attempt was unsuccessful because the maximum route limit was reached. Another notification is not sent until the number of routes falls below the maximum threshold and reaches the maximum threshold again. The max-threshold value is determined by the maximum routes command in VRF configuration mode. If both IPv4 and IPv6 address-family configurations are present in the VRF, the threshold is an aggregate of the maximum threshold values. An mplsL3VpnVrfNumVrfRouteMaxThreshExceeded notification is not sent until the second address family reaches its maximum route threshold. Routes are not added to the address family that has already reached its maximum route threshold.

Note
If you configure a single address-family VRF with a maximum and middle threshold, and later add the other address-family configuration to your VRF without configuring a maximum threshold, you no longer receive a maximum threshold notification for the original address family when the threshold is reach, but routes would no longer be added to the routing table for this address family.
The warning that the mid-threshold keyword enables is sent only at the time the warning threshold is exceeded. If both IPv4 and IPv6 address-family configurations are present in the VRF, the threshold is an aggregate of the middle or warning threshold values. An mplsL3VpnVrfRouteMidThreshExceeded notification is not sent until the second address family reaches its warning threshold.
The values for the mid-threshold and max-threshold keywords are set using the maximum routes limit {warn-threshold | warning-only} VRF command in configuration mode.
The maximum routes command gives you two options in the VRF address family configuration mode:
•
maximum routes limit warning-only—generates a warning message when you attempt to exceed the limit. The specified limit is not enforced.
If you use the maximum routes limit warning-only command with the snmp-server enable traps mpls rfc vpn command, a mid-threshold SNMP notification is generated when the limit value is reached or exceeded. No max-threshold SNMP notification is generated.
•
maximum routes limit warn-threshold—generates a warning message when the warn-threshold is reached. The specified limit is enforced.
If you use the maximum routes limit warn-threshold command with the snmp-server enable traps mpls rfc vpn command, a mid-threshold SNMP notification is generated when the warn-threshold value is reached. A max-threshold notification is generated when the limit value is reached.
Note
When both IPv4 and IPv6 address-family configurations exist, the MPLS-L3-VPN-STD-MIB displays the aggregate value of the maximum route settings (not to exceed the max int32 value). If the maximum route limit is configured for one address family and not for the other address family, the aggregate value is max int32 (4,294,967,295).
The notification types described are defined in the following MIB objects of the MPLS-L3-VPN-STD-MIB:
•
mplsL3VpnVrfUp
•
mplsL3VpnVrfDown
•
mplsL3VpnVrfRouteMidThreshExceeded
•
mplsL3VpnVrfNumVrfRouteMaxThreshExceeded
•
mplsL3VpnNumVrfSecIllglLblThrshExcd
•
mplsL3VpnNumVrfRouteMaxThreshCleared
Examples
In the following example, MPLS RFC VPN trap notifications are sent to the host specified as 172.31.156.34 using the community string named public if a VRF transitions from an up or down state:
Router(config)# snmp-server host 172.31.156.34 traps public mpls-vpn
Router(config)# snmp-server enable traps mpls rfc vpn vrf-down vrf-up
Related Commands
Command
|
Description
|
clear ip route vrf
|
Removes routes from the VRF routing table.
|
maximum routes
|
Limits the maximum number of routes in a VRF to prevent a PE router from importing too many routes.
|
snmp-server host
|
Specifies the recipient of SNMP notifications.
|
snmp-server enable traps mpls traffic-eng
To enable Multiprotocol Label Switching (MPLS) traffic engineering tunnel state-change Simple Network Management Protocol (SNMP) notifications, use the snmp-server enable traps mpls traffic-eng command in global configuration mode. To disable MPLS traffic engineering tunnel state-change SNMP notifications, use the no form of this command.
snmp-server enable traps mpls traffic-eng [up | down | reroute]
no snmp-server enable traps mpls traffic-eng [up | down | reroute]
Syntax Description
up
|
(Optional) Enables only mplsTunnelUp notifications { mplsTeNotifyPrefix 1 }.
|
down
|
(Optional) Enables only mplsTunnelDown notifications { mplsTeNotifyPrefix 2}.
|
reroute
|
(Optional) Enables or disables only mplsTunnelRerouted notifications {mplsTeNotifyPrefix 3}.
|
Command Default
SNMP notifications are disabled.
When this command is used without keywords, all available trap types (up, down, reroute) are enabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(17)S
|
This command was introduced.
|
12.0(17)ST
|
This command was integrated into Cisco IOS Release 12.0(17)ST.
|
12.2(8)T
|
This command was integrated into Cisco IOS Release 12.2(8)T.
|
Usage Guidelines
SNMP notifications can be sent as traps or inform requests. This command enables both traps and inform requests.
This command enables or disables MPLS traffic engineering tunnel notifications. MPLS tunnel state-change notifications, when enabled, will be sent when the connection moves from an "up" to "down" state, when a connection moves from a "down" to "up" state, or when a connection is rerouted. If you do not specify a keyword in conjunction with this command, all three types of MPLS traffic engineering tunnel notifications are sent.
When the up keyword is used, mplsTunnelUp notifications are sent to a network management system (NMS) when an MPLS traffic engineering tunnel is configured and the tunnel transitions from an operationally "down" state to an "up" state.
When the down keyword is used, mplsTunnelDown notifications are generated and sent to the NMS when an MPLS traffic engineering tunnel transitions from an operationally "up" state to a "down" state.
When the reroute keyword is used, mplsTunnelRerouted notifications are sent to the NMS under the following conditions:
•
The signaling path of an existing MPLS traffic engineering tunnel fails and a new path option is signaled and placed into effect (that is, the tunnel is rerouted).
•
The signaling path of an existing MPLS traffic engineering tunnel is fully operational, but a better path option can be signaled and placed into effect (that is, the tunnel can be reoptimized). This reoptimization can be triggered by:
–
A timer
–
The issuance of an mpls traffic-eng reoptimize command
–
A configuration change that requires the resignaling of a tunnel
The mplsTunnelReoptimized notification is not generated when an MPLS traffic engineering tunnel is reoptimized. However, an mplsTunnelReroute notification is generated. Thus, at the NMS, you cannot distinguish between a tunnel reoptimization and a tunnel reroute event.
The snmp-server enable traps mpls traffic-eng command is used with the snmp-server host command. Use the snmp-server host command to specify which hosts receive SNMP notifications. To send SNMP notifications, you must configure at least one snmp-server host command.
Examples
The following example shows how to enable the router to send MPLS notifications to the host at the address myhost.cisco.com using the community string defined as public:
Router(config)# snmp-server enable traps mpls traffic-eng
Router(config)# snmp-server host myhost.cisco.com informs version 2c public
Related Commands
Command
|
Description
|
snmp-server host
|
Specifies the recipient of an SNMP notification operation.
|
snmp-server trap-source
|
Specifies the interface that an SNMP trap should originate from.
|
snmp-server enable traps mpls vpn
To enable the router to send Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN)-specific Simple Network Management Protocol (SNMP) notifications (traps and informs), use the snmp-server enable traps mpls vpn command in global configuration mode. To disable MPLS VPN specific SNMP notifications, use the no form of this command.
snmp-server enable traps mpls vpn [illegal-label] [max-thresh-cleared] [max-threshold]
[mid-threshold] [vrf-down] [vrf-up]
no snmp-server enable traps mpls vpn [illegal-label] [max-thresh-cleared] [max-threshold]
[mid-threshold] [vrf-down] [vrf-up]
Syntax Description
illegal-label
|
(Optional) Enables a notification for any illegal labels received on a VPN routing/forwarding instance (VRF) interface.
|
max-thresh-cleared
|
(Optional) Enables a notification when the number of routes attempts to exceed the maximum limit and then drops below the maximum number of routes.
|
max-threshold
|
(Optional) Enables a notification that a route creation attempt was unsuccessful because the maximum route limit was reached.
|
mid-threshold
|
(Optional) Enables a warning that the number of routes created has exceeded the warning threshold.
|
vrf-down
|
(Optional) Enables a notification for the removal of a VRF from an interface or the transition of an interface to the down state.
|
vrf-up
|
(Optional) Enables a notification for the assignment of a VRF to an interface that is operational or for the transition of a VRF interface to the operationally up state.
|
Command Default
This command is disabled.
Command Modes
Global configuration
Command History
Release
|
Modification
|
12.0(21)ST
|
This command was introduced.
|
12.0(22)S
|
This command was integrated into Cisco IOS Release 12.0(22)S.
|
12.2(13)T
|
This command was integrated into Cisco IOS Release 12.2(13)T.
|
12.0(30)S
|
This command was updated with the max-thresh-cleared keyword.
|
12.2(28)SB2
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(31)SB2
|
This command was integrated into Cisco IOS Release 12.2(31)SB2.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.2SX
|
This command is supported in the Cisco IOS Release 12.2SX train. Support in a specific 12.2SX release of this train depends on your feature set, platform, and platform hardware.
|
Usage Guidelines
If this command is used without any of the optional keywords, all MPLS VPN notification types are enabled.
The illegal-label keyword enables a notification for illegal labels received on a VRF interface. Labels are illegal if they are outside the legal range, do not have a Label Forwarding Information Base (LFIB) entry, or do not match table IDs for the label.
When the max-thresh-cleared keyword is used and you attempt to create a route on a VRF that already contains the maximum number of routes, the mplsNumVrfRouteMaxThreshExceeded notification is sent (if enabled). When you remove routes from the VRF so that the number of routes falls below the set limit, the cMplsNumVrfRouteMaxThreshCleared notification is sent. You can clear all routes from the VRF by using the clear ip route vrf command.
The max-threshold keyword enables a notification that a route creation attempt was unsuccessful because the maximum route limit was reached. Another notification is not sent until the number of routes falls below the maximum threshold and reaches the maximum threshold again. The max-threshold value is determined by the maximum routes command in VRF configuration mode.
The warning that the mid-threshold keyword enables is sent only at the time the warning threshold is exceeded.
For the vrf-up (mplsVrfIfUp) or vrf-down (mplsVrfIfDown) notifications to be issued from an ATM or Frame Relay subinterface, you must first configure the snmp-server traps atm subif command or the snmp-server traps frame-relay subif command on the subinterfaces, respectively.
The values for the mid-threshold and max-threshold keywords are set using the maximum routes limit {warn-threshold | warning-only} VRF command in configuration mode.
The maximum routes command gives you two options:
•
maximum routes limit warning-only—generates a warning message when you attempt to exceed the limit. The specified limit is not enforced.
If you use the maximum routes limit warning-only command with the snmp-server enable traps mpls vpn command, a mid-threshold SNMP notification is generated when the limit value is reached or exceeded. No max-threshold SNMP notification is generated.
•
maximum routes limit warn-threshold—generates a warning message when the warn-threshold is reached. The specified limit is enforced.
If you use the maximum routes limit warn-threshold command with the snmp-server enable traps mpls vpn command, a mid-threshold SNMP notification is generated when the warn-threshold value is reached. A max-threshold notification is generated when the limit value is reached.
The notification types described are defined in the following MIB objects of the PPVPN-MPLS-VPN-MIB:
•
mplsVrfIfUp
•
mplsVrfIfDown
•
mplsNumVrfRouteMidThreshExceeded
•
mplsNumVrfRouteMaxThreshExceeded
•
mplsNumVrfSecIllegalLabelThreshExceeded
The cMplsNumVrfRouteMaxThreshCleared notification type is defined in the CISCO-IETF-PPVPN-MPLS-VPN-MIB.
Examples
In the following example, MPLS VPN trap notifications are sent to the host specified as 172.31.156.34 using the community string named public if a VRF transitions from an up or down state:
Router(config)# snmp-server host 172.31.156.34 traps public mpls-vpn
Router(config)# snmp-server enable traps mpls vpn vrf-down vrf-up
Related Commands
Command
|
Description
|
maximum routes
|
Sets the warning threshold and route maximum for VRFs.
|
snmp-server enable traps atm subif
|
Enables ATM subinterface SNMP notifications.
|
snmp-server enable traps frame-relay subif
|
Enables Frame Relay subinterface SNMP notifications.
|
snmp-server host
|
Specifies the recipient of SNMP notifications.
|
snmp-server group
To configure a new Simple Network Management Protocol (SNMP) group, use the snmp-server group command in global configuration mode. To remove a specified SNMP group, use the no form of this command.
snmp-server group group-name {v1 | v2c | v3 {auth | noauth | priv}} [context context-name]
[read read-view] [write write-view] [notify notify-view] [access [ipv6 named-access-list]
[acl-number | acl-name]]
no snmp-server group group-name {v1 | v2c | v3 {auth | noauth | priv}} [context context-name]
Syntax Description
group-name
|
Name of the group.
|
v1
|
Specifies that the group is using the SNMPv1 security model. SNMPv1 is the least secure of the possible SNMP security models.
|
v2c
|
Specifies that the group is using the SNMPv2c security model.
The SNMPv2c security model allows informs to be transmitted and supports 64-character strings.
|
v3
|
Specifies that the group is using the SNMPv3 security model.
SMNPv3 is the most secure of the supported security models. It allows you to explicitly configure authentication characteristics.
|
auth
|
Specifies authentication of a packet without encrypting it.
|
noauth
|
Specifies no authentication of a packet.
|
priv
|
Specifies authentication of a packet with encryption.
|
context
|
(Optional) Specifies the SNMP context to associate with this SNMP group and its views.
|
context-name
|
(Optional) Context name.
|
read
|
(Optional) Specifies a read view for the SNMP group. This view enables you to view only the contents of the agent.
|
read-view
|
(Optional) String of a maximum of 64 characters that is the name of the view.
The default is that the read-view is assumed to be every object belonging to the Internet object identifier (OID) space (1.3.6.1), unless the read option is used to override this state.
|
write
|
(Optional) Specifies a write view for the SNMP group. This view enables you to enter data and configure the contents of the agent.
|
write-view
|
(Optional) String of a maximum of 64 characters that is the name of the view.
The default is that nothing is defined for the write view (that is, the null OID). You must configure write access.
|
notify
|
(Optional) Specifies a notify view for the SNMP group. This view enables you to specify a notify, inform, or trap.
|
notify-view
|
(Optional) String of a maximum of 64 characters that is the name of the view.
By default, nothing is defined for the notify view (that is, the null OID) until the snmp-server host command is configured. If a view is specified in the snmp-server group command, any notifications in that view that are generated will be sent to all users associated with the group (provided a SNMP server host configuration exists for the user).
Cisco recommends that you let the software autogenerate the notify view. See the "Configuring Notify Views" section in this document.
|
access
|
(Optional) Specifies a standard access control list (ACL) to associate with the group.
|
ipv6
|
(Optional) Specifies an IPv6 named access list. If both IPv6 and IPv4 access lists are indicated, the IPv6 named access list must appear first in the list.
|
named-access-list
|
(Optional) Name of the IPv6 access list.
|
[acl-number | acl-name]
|
(Optional) The acl-number argument is an integer from 1 to 99 that identifies a previously configured standard access list.
The acl-name argument is a string of a maximum of 64 characters that is the name of a previously configured standard access list.
|
Command Default
No SNMP server groups are configured.
Command Modes
Global configuration
Command History
Release
|
Modification
|
11.(3)T
|
This command was introduced.
|
12.0(23)S
|
The context context-name keyword and argument pair was added.
|
12.3(2)T
|
The context context-name keyword and argument pair was integrated into Cisco IOS Release 12.3(2)T, and support for standard named access lists (acl-name) was added.
|
12.0(27)S
|
The ipv6 named-access-list keyword and argument pair was added.
|
12.2(25)S
|
This command was integrated into Cisco IOS Release 12.2(25)S.
|
12.3(14)T
|
The ipv6 named-access-list keyword and argument pair was integrated into Cisco IOS Release 12.3(14)T.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(31)SB2
|
This command was integrated into Cisco IOS Release 12.2(31)SB2.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
Usage Guidelines
When a community string is configured internally, two groups with the name public are autogenerated, one for the v1 security model and the other for the v2c security model. Similarly, deleting a community string will delete a v1 group with the name public and a v2c group with the name public.
No default values exist for authentication or privacy algorithms when you configure the snmp-server group command. Also, no default passwords exist. For information about specifying a Message Digest 5 (MD5) password, see the documentation of the snmp-server user command.
Configuring Notify Views
The notify-view option is available for two reasons:
•
If a group has a notify view that is set using SNMP, you may need to change the notify view.
•
The snmp-server host command may have been configured before the snmp-server group command. In this case, you must either reconfigure the snmp-server host command, or specify the appropriate notify view.
Specifying a notify view when configuring an SNMP group is not recommended, for the following reasons:
•
The snmp-server host command autogenerates a notify view for the user, and then adds it to the group associated with that user.
•
Modifying the group's notify view will affect all users associated with that group.
Instead of specifying the notify view for a group as part of the snmp-server group command, use the following commands in the order specified:
1.
snmp-server user—Configures an SNMP user.
2.
snmp-server group—Configures an SNMP group, without adding a notify view.
3.
snmp-server host—Autogenerates the notify view by specifying the recipient of a trap operation.
SNMP Contexts
SNMP contexts provide VPN users with a secure way of accessing MIB data. When a VPN is associated with a context, that VPN's specific MIB data exists in that context. Associating a VPN with a context enables service providers to manage networks with multiple VPNs. Creating and associating a context with a VPN enables a provider to prevent the users of one VPN from accessing information about users of other VPNs on the same networking device.
Use this command with the context context-name keyword and argument to associate a read, write, or notify SNMP view with an SNMP context.
Examples
Create an SNMP Group
The following example shows how to create the SNMP server group "public," allowing read-only access for all objects to members of the standard named access list "lmnop":
Router(config)# snmp-server group public v2c access lmnop
Remove an SNMP Server Group
The following example shows how to remove the SNMP server group "public" from the configuration:
Router(config)# no snmp-server group public v2c
Associate an SNMP Server Group with Specified Views
The following example shows SNMP context "A" associated with the views in SNMPv2c group "GROUP1":
Router(config)# snmp-server context A
Router(config)# snmp mib community commA
Router(config)# snmp mib community-map commA context A target-list commAVpn
Router(config)# snmp-server group GROUP1 v2c context A read viewA write viewA notify viewB
Related Commands
Command
|
Description
|
show snmp group
|
Displays the names of groups on the router and the security model, the status of the different views, and the storage type of each group.
|
snmp mib community-map
|
Associates a SNMP community with an SNMP context, engine ID, security name, or VPN target list.
|
snmp-server host
|
Specifies the recipient of a SNMP notification operation.
|
snmp-server user
|
Configures a new user to a SNMP group.
|
snmp-server host
To specify the recipient of a Simple Network Management Protocol (SNMP) notification operation, use the snmp-server host command in global configuration mode. To remove the specified host from the configuration, use the no form of this command.
snmp-server host {hostname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]}] community-string [udp-port port] [notification-type]
no snmp-server host {hostname | ip-address} [vrf vrf-name] [traps | informs] [version {1 | 2c | 3
[auth | noauth | priv]}] community-string [udp-port port] [notification-type]
Syntax Description
hostname
|
Name of the host. The SNMP notification host is typically a network management station (NMS) or SNMP manager. This host is the recipient of the SNMP traps or informs.
|
ip-address
|
IP address or IPv6 address of the SNMP notification host.
|
vrf
|
(Optional) Specifies that a Virtual Private Network (VPN) routing and forwarding (VRF) instance should be used to send SNMP notifications.
|
vrf-name
|
(Optional) VPN VRF instance used to send SNMP notifications.
|
traps
|
(Optional) Specifies that notifications should be sent as traps. This is the default.
|
informs
|
(Optional) Specifies that notifications should be sent as informs.
|
version
|
(Optional) Specifies the version of the SNMP that is used to send the traps or informs. The default is 1.
If you use the version keyword, one of the following keywords must be specified:
• 1—SNMPv1.
• 2c—SNMPv2C.
• 3—SNMPv3. The most secure model because it allows packet encryption with the priv keyword. The default is noauth.
One of the following three optional security level keywords can follow the 3 keyword:
– auth—Enables message digest algorithm 5 (MD5) and Secure Hash Algorithm (SHA) packet authentication.
– noauth—Specifies that the noAuthNoPriv security level applies to this host. This is the default security level for SNMPv3.
– priv—Enables Data Encryption Standard (DES) packet encryption (also called "privacy").
|
community-string
|
Password-like community string sent with the notification operation.
Note You can set this string using the snmp-server host command by itself, but Cisco recommends that you define the string using the snmp-server community command prior to using the snmp-server host command.
Note The "at" sign (@) is used for delimiting the context information.
|
udp-port
|
(Optional) Specifies that SNMP traps or informs are to be sent to an NMS host.
|
port
|
(Optional) User Datagram Protocol (UDP) port number of the NMS host. The default is 162.
|
notification-type
|
(Optional) Type of notification to be sent to the host. If no type is specified, all available notifications are sent. The notification type can be one or more of the following keywords:
• atm—Sends ATM notifications.
• auth-framework—Sends SNMP CISCO-AUTH-FRAMEWORK-MIB notifications.
• bgp—Sends Border Gateway Protocol (BGP) state change notifications.
• bridge—Sends SNMP STP Bridge MIB notifications.
• bstun—Sends Block Serial Tunneling (BSTUN) event notifications.
• bulkstat—Sends Data-Collection-MIB notifications.
• c6kxbar—Sends SNMP crossbar notifications.
• callhome—Sends Call Home MIB notifications.
• calltracker—Sends Call Tracker call-start/call-end notifications.
• casa—Sends CASA event notifications.
• cef —Sends notifications related to Cisco Express Forwarding.
• chassis—Sends SNMP chassis notifications.
• config—Sends configuration change notifications.
• config-copy—Sends SNMP config-copy notifications.
• config-ctid—Sends SNMP config-ctid notifications.
• cpu—Sends CPU-related notifications.
• csg—Sends SNMP CSG notifications.
• dhcp-snooping—Sends DHCP snooping MIB notifications.
• director—Sends notifications related to DistributedDirector.
• dlsw—Sends DLSW notifications.
• dot1x—Sends 802.1X notifications.
• ds1—Sends SNMP DS1 notifications.
• dspu—Sends downstream physical unit (DSPU) notifications.
• eigrp—Sends Enhanced Interior Gateway Routing Protocol (EIGRP) stuck-in-active (SIA) and neighbor authentication failure notifications.
• energywise—Sends SNMP energywise notifications.
• entity—Sends Entity MIB modification notifications.
• entity-diag—Sends SNMP entity diagnostic MIB notifications.
• envmon—Sends Cisco enterprise-specific environmental monitor notifications when an environmental threshold is exceeded.
|
| |
• errdisable—Sends error disable notifications.
• ethernet-cfm—Sends SNMP Ethernet CFM notifications.
• event-manager—Sends SNMP Embedded Event Manager notifications.
• flash—Sends flash media insertion and removal notifications.
• flexlinks—Sends FLEX links notifications.
• frame-relay—Sends Frame Relay notifications.
• fru-ctrl—Sends entity FRU control notifications.
• hsrp—Sends Hot Standby Routing Protocol (HSRP) notifications.
• ipmulticast—Sends IP multicast notifications.
• iplocalpool—Sends IP local pool notifications.
• ipmobile—Sends Mobile IP notifications.
• ipsec—Sends IP Security (IPsec) notifications.
• isakmp—Sends SNMP ISAKMP notifications.
• isdn—Sends ISDN notifications.
• l2tc—Sends SNMP L2 tunnel configuration notifications.
• l2tun-pseudowire-status—Sends pseudowire state change notifications.
• l2tun-session—Sends Layer 2 tunneling session notifications.
• license—Sends licensing notifications as traps or informs.
• llc2—Sends Logical Link Control, type 2 (LLC2) notifications.
• mac-notification—Sends SNMP MAC notifications.
• memory—Sends memory pool and memory buffer pool notifications.
• module—Sends SNMP module notifications.
• module-auto-shutdown—Sends SNMP module auto shutdown MIB notifications.
• mpls-fast-reroute—Sends SNMP MPLS traffic engineering fast reroute notifications.
• mpls-ldp—Sends Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) notifications indicating status changes in LDP sessions.
• mpls-traffic-eng—Sends MPLS traffic engineering notifications indicating changes in the status of MPLS traffic engineering tunnels.
• mpls-vpn—Sends MPLS VPN notifications.
• msdp—Sends SNMP MSDP notifications.
• mvpn—Sends multicast virtual private network notifications.
• nhrp—Sends Next Hop Resolution Protocol (NHRP) notifications.
• ospf—Sends Open Shortest Path First (OSPF) sham-link notifications.
|
| |
• pim—Sends Protocol Independent Multicast (PIM) notifications.
• port-security—Sends SNMP port-security notifications.
• power-ethernet—Sends SNMP power ethernet notifications.
• pw-vc—Sends SNMP pseudowire VC notifications.
• repeater—Sends standard repeater (hub) notifications.
• rf—Sends SNMP RF MIB notifications.
• rsrb—Sends remote source-route bridging (RSRB) notifications.
• rsvp—Sends Resource Reservation Protocol (RSVP) notifications.
• rtr—Sends Response Time Reporter (RTR) notifications.
• sdlc—Sends Synchronous Data Link Control (SDLC) notifications.
• sdllc—Sends SDLC Logical Link Control (SDLLC) notifications.
• slb—Sends SNMP SLB notifications.
• snmp—Sends any enabled RFC 1157 SNMP linkUp, linkDown, authenticationFailure, warmStart, and coldStart notifications.
Note To enable RFC 2233 compliant link up/down notifications, you should use the snmp server link trap command.
• sonet—Sends SNMP SONET notifications.
• srp—Sends Spatial Reuse Protocol (SRP) notifications.
• stpx—Sends SNMP STPX MIB notifications.
• stun—Sends serial tunnel (STUN) notifications.
• syslog—Sends error message notifications (Cisco Syslog MIB). Use the logging history level command to specify the level of messages to be sent.
• tty—Sends Cisco enterprise-specific notifications when a TCP connection closes.
• udp-port—Sends notification host's UDP port number.
• vlan-mac-limit—Sends SNMP L2 control VLAN MAC limit notifications.
• vlancreate—Sends SNMP VLAN created notifications.
• vlandelete—Sends SNMP VLAN deleted notifications.
• voice—Sends SNMP voice traps.
• vrrp—Sends Virtual Router Redundancy Protocol (VRRP) notifications.
• vswitch—Sends SNMP virtual switch notifications.
• vsimaster—Sends Virtual Switch Interface (VSI) Master notifications.
• vtp—Sends SNMP VTP notifications.
• x25—Sends X.25 event notifications.
|
Command Default
This command is disabled by default. A recipient is not specified to receive notifications.
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
10.0
|
This command was introduced.
|
Cisco IOS Release 12 Mainline/T Train
|
12.0(3)T
|
This command was modified. The 3, auth, noauth, and priv keywords were added as part of the SNMPv3 Support feature. The hsrp and voice notification-type keywords were added.
|
12.1(3)T
|
This command was modified. The calltracker notification-type keyword was added for the Cisco AS5300 and AS5800 platforms.
|
12.2(2)T
|
This command was modified. The vrf vrf-name keyword and argument combination was added. The ipmobile notification-type keyword was added. Support for the vsimaster notification-type keyword was added for the Cisco 7200 and Cisco 7500 series.
|
12.2(4)T
|
This command was modified. The pim and ipsec notification-type keywords were added.
|
12.2(8)T
|
This command was modified. The mpls-traffic-eng and director notification-type keywords were added.
|
12.2(13)T
|
This command was modified. The srp and mpls-ldp notification-type keywords were added.
|
12.3(2)T
|
This command was modified. The flash and l2tun-session notification-type keywords were added.
|
12.3(4)T
|
This command was modified. The cpu, memory, and ospf notification-type keywords were added.
|
12.3(8)T
|
This command was modified. The iplocalpool notification-type keyword was added for the Cisco 7200 and 7301 series routers.
|
12.3(11)T
|
This command was modified. The vrrp keyword was added.
|
12.3(14)T
|
This command was modified. Support for SNMP over IPv6 transport was integrated into Cisco IOS Release 12.3(14)T. Either an IP or IPv6 Internet address can be specified as the hostname argument. The eigrp notification-type keyword was added.
|
12.4(20)T
|
This command was modified. The license notification-type keyword was added.
|
15.0(1)M
|
This command was modified. The nhrp notification-type keyword was added. The automatic insertion of the snmp-server community command into the configuration, along with the community string specified in the snmp-server host command, is changed. The snmp-server community command has to be manually configured.
|
Cisco IOS Release 12.0S
|
12.0(17)ST
|
This command was modified. The mpls-traffic-eng notification-type keyword was added.
|
12.0(21)ST
|
This command was modified. The mpls-ldp notification-type keyword was added.
|
12.0(22)S
|
This command was modified. All features in the Cisco IOS Release 12.0ST train were integrated into Cisco IOS Release 12.0(22)S. The mpls-vpn notification-type keyword was added.
|
12.0(23)S
|
This command was modified. The l2tun-session notification-type keyword was added.
|
12.0(26)S
|
This command was modified. The memory notification-type keyword was added.
|
12.0(27)S
|
This command was modified. Support for SNMP over IPv6 transport was added. Either an IP or IPv6 Internet address can be specified as the hostname argument. The vrf vrf-name keyword and argument combination was added to support multiple Lightweight Directory Protocol (LDP) contexts for VPNs.
|
12.0(31)S
|
This command was modified. The l2tun-pseudowire-status notification-type keyword was added.
|
Release 12.2S
|
|
12.2(18)S
|
This command was integrated into Cisco IOS Release 12.2(18)S.
|
12.2(25)S
|
This command was modified. The cpu and memory notification-type keywords were added.
|
12.2(28)SB
|
This command was integrated into Cisco IOS Release 12.2(28)SB.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
12.2(31)SB2
|
This command was modified. The cef notification-type keyword was added.
|
12.2(33)SXH
|
This command was integrated into Cisco IOS Release 12.2(33)SXH.
|
12.2(33)SB
|
This command was integrated into Cisco IOS Release 12.2(33)SB.
|
12.2(33)SXI5
|
This command was modified. The dhcp-snooping and errdisable notification-type keywords were added.
|
12.2(33)SRE
|
This command was modified. The automatic insertion of the snmp-server community command into the configuration, along with the community string specified in the snmp-server host command, is changed. The snmp-server community command has to be manually configured.
|
Cisco IOS XE
|
|
Cisco IOS XE Release 2.1
|
This command was integrated into Cisco IOS XE Release 2.1.
|
Usage Guidelines
If you enter this command with no optional keywords, the default is to send all notification-type traps to the host. No informs will be sent to the host.
The no snmp-server host command with no keywords disables traps, but not informs, to the host. To disable informs, use the no snmp-server host informs command.
Note
In Cisco IOS Release 12.0(3) to 12.2(33)SRD, if a community string was not defined using the snmp-server community command prior to using the snmp-server host command, the default form of the snmp-server community command was automatically inserted into the configuration. The password (community string) used for this automatic configuration of the snmp-server community was same as specified in the snmp-server host command. However, in Cisco IOS Release 12.2(33)SRE and later releases, you have to manually configure the snmp-server community command.
SNMP notifications can be sent as traps or inform requests. Traps are unreliable because the receiver does not send acknowledgments when it receives traps. The sender cannot determine if the traps were received. However, an SNMP entity that receives an inform request acknowledges the message with an SNMP response protocol data unit (PDU). If the sender never receives the response, the inform request can be sent again. Thus, informs are more likely than traps to reach their intended destination.
Compared to traps, informs consume more resources in the agent and in the network. Unlike a trap, which is discarded as soon as it is sent, an inform request must be held in memory until a response is received or the request times out. Also, traps are sent only once; an inform may be tried several times. The retries increase traffic and contribute to a higher overhead on the network.
If you do not enter an snmp-server host command, no notifications are sent. To configure the router to send SNMP notifications, you must enter at least one snmp-server host command. If you enter the command with no optional keywords, all trap types are enabled for the host.
To enable multiple hosts, you must issue a separate snmp-server host command for each host. You can specify multiple notification types in the command for each host.
When multiple snmp-server host commands are given for the same host and kind of notification (trap or inform), each succeeding command overwrites the previous command. Only the last snmp-server host command will be in effect. For example, if you enter an snmp-server host inform command for a host and then enter another snmp-server host inform command for the same host, the second command will replace the first.
The snmp-server host command is used in conjunction with the snmp-server enable command. Use the snmp-server enable command to specify which SNMP notifications are sent globally. For a host to receive most notifications, at least one snmp-server enable command and the snmp-server host command for that host must be enabled.
Some notification types cannot be controlled with the snmp-server enable command. Some notification types are always enabled, and others are enabled by a different command. For example, the linkUpDown notifications are controlled by the snmp trap link-status command. These notification types do not require an snmp-server enable command.
The availability of a notification-type options depends on the router type and the Cisco IOS software features supported on the router. For example, the envmon notification type is available only if the environmental monitor is part of the system. To see what notification types are available on your system, use the command help ? at the end of the snmp-server host command.
The vrf keyword allows you to specify the notifications being sent to a specified IP address over a specific VRF. The VRF defines a VPN membership of a user so data is stored using the VPN.
In the case of the NMS sending the query having a correct SNMP community but that does not have a read or a write view, the SNMP agent returns the following error values:
•
For a get or a getnext query, returns GEN_ERROR for SNMPv1 and AUTHORIZATION_ERROR for SNMPv2C.
•
For a set query, returns NO_ACCESS_ERROR.
Notification-Type Keywords
The notification-type keywords used in the snmp-server host command do not always match the keywords used in the corresponding snmp-server enable traps command. For example, the notification keyword applicable to Multiprotocol Label Switching Protocol (MPLS) traffic engineering tunnels is specified as mpls-traffic-eng (containing two hyphens and no embedded spaces). The corresponding parameter in the snmp-server enable traps command is specified as mpls traffic-eng (containing an embedded space and a hyphen).
This syntax difference is necessary to ensure that the command-line interface (CLI) interprets the notification-type keyword of the snmp-server host command as a unified, single-word construct, which preserves the capability of the snmp-server host command to accept multiple notification-type keywords in the command line. The snmp-server enable traps commands, however, often use two-word constructs to provide hierarchical configuration options and to maintain consistency with the command syntax of related commands. Table 172 maps some examples of snmp-server enable traps commands to the keywords used in the snmp-server host command.
Table 172 SNMP-server enable traps Commands and Corresponding Notification Keywords
snmp-server enable traps Command
|
snmp-server host Command Keyword
|
snmp-server enable traps l2tun session
|
l2tun-session
|
snmp-server enable traps mpls ldp
|
mpls-ldp
|
snmp-server enable traps mpls traffic-eng1
|
mpls-traffic-eng
|
snmp-server enable traps mpls vpn
|
mpls-vpn
|
Examples
If you want to configure a unique SNMP community string for traps but prevent SNMP polling access with this string, the configuration should include an access list. The following example shows how to name a community string comaccess and number an access list 10:
Router(config)# snmp-server community comaccess ro 10
Router(config)# snmp-server host 192.20.2.160 comaccess
Router(config)# access-list 10 deny any
Note
The "at" sign (@) is used as a delimiter between the community string and the context in which it is used. For example, specific VLAN information in BRIDGE-MIB may be polled using community@VLAN-ID (for example, public@100), where 100 is the VLAN number.
The following example shows how to send RFC 1157 SNMP traps to a specified host named myhost.cisco.com. Other traps are enabled, but only SNMP traps are sent because only snmp is specified in the snmp-server host command. The community string is defined as comaccess.
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com comaccess snmp
The following example shows how to send the SNMP and Cisco environmental monitor enterprise-specific traps to address 192.30.2.160 using the community string public:
Router(config)# snmp-server enable traps snmp
Router(config)# snmp-server enable traps envmon
Router(config)# snmp-server host 192.30.2.160 public snmp envmon
The following example shows how to enable the router to send all traps to the host myhost.cisco.com using the community string public:
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com public
The following example will not send traps to any host. The BGP traps are enabled for all hosts, but only the ISDN traps are enabled to be sent to a host. The community string is defined as public.
Router(config)# snmp-server enable traps bgp
Router(config)# snmp-server host myhost.cisco.com public isdn
The following example shows how to enable the router to send all inform requests to the host myhost.cisco.com using the community string public:
Router(config)# snmp-server enable traps
Router(config)# snmp-server host myhost.cisco.com informs version 2c public
The following example shows how to send HSRP MIB informs to the host specified by the name myhost.cisco.com. The community string is defined as public.
Router(config)# snmp-server enable traps hsrp
Router(config)# snmp-server host myhost.cisco.com informs version 2c public hsrp
The following example shows how to send all SNMP notifications to example.com over the VRF named trap-vrf using the community string public:
Router(config)# snmp-server host example.com vrf trap-vrf public
The following example shows how to configure an IPv6 SNMP notification server with the IPv6 address 2001:0DB8:0000:ABCD:1 using the community string public:
Router(config)# snmp-server host 2001:0DB8:0000:ABCD:1 version 2c public udp-port 2012
The following example shows how to specify VRRP as the protocol using the community string public:
Router(config)# snmp-server enable traps vrrp
Router(config)# snmp-server host myhost.cisco.com traps version 2c public vrrp
The following example shows how to send all Cisco Express Forwarding informs to the notification receiver with the IP address 192.40.3.130 using the community string public:
Router(config)# snmp-server enable traps cef
Router(config)# snmp-server host 192.40.3.130 informs version 2c public cef
The following example shows how to enable all NHRP traps, and how to send all NHRP traps to the notification receiver with the IP address 192.40.3.130 using the community string public:
Router(config)# snmp-server enable traps nhrp
Router(config)# snmp-server host 192.40.3.130 traps version 2c public nhrp
Related Commands
Command
|
Description
|
show snmp host
|
Displays recipient details configured for SNMP notifications.
|
snmp-server enable peer-trap poor qov
|
Enables poor quality of voice notifications for applicable calls associated with a specific voice dial peer.
|
snmp-server enable traps
|
Enables SNMP notifications (traps and informs).
|
snmp-server enable traps nhrp
|
Enables SNMP notifications (traps) for NHRP.
|
snmp-server informs
|
Specifies inform request options.
|
snmp-server link trap
|
Enables linkUp/linkDown SNMP trap that are compliant with RFC 2233.
|
snmp-server trap-source
|
Specifies the interface from which an SNMP trap should originate.
|
snmp-server trap-timeout
|
Defines how often to try resending trap messages on the retransmission queue.
|
status protocol notification static
To enable the timers set in the specified class name, use the status protocol notification static command in pseudowire-class configuration mode. To disable the use of the specified class, use the no form of this command.
status protocol notification static class-name
no status protocol notification static class-name
Syntax Description
class-name
|
Name of an Operations, Administration, and Maintenance (OAM) class that was created with the pseudowire-static-oam-class command.
|
Command Default
OAM classes are not specified.
Command Modes
Pseudowire-class configuration (config-pw-class)
Command History
Release
|
Modification
|
15.1(1)SA
|
This command was introduced.
|
15.1(3)S
|
This command was integrated.
|
Examples
The following example enables the timers set in the class oam-class3:
Router(config-pw-class)# status protocol notification static oam-class3
Related Commands
Command
|
Description
|
pseudowire-static-oam class
|
Creates a class that defines the OAM parameters for the pseudowire.
|
status (pseudowire class)
To enable the router to send pseudowire status messages to a peer router, even when the attachment circuit is down, use the status command in pseudowire class configuration mode. To disable the pseudowire status messages, use the no form of this command.
status
no status
Syntax Description
This command has no arguments or keywords.
Command Default
Pseudowire status messages are sent and received if both routers support the messages.
Command Modes
Pseudowire class configuration
Command History
Release
|
Modification
|
12.2(33)SRC
|
This command was introduced.
|
12.2(50)SY
|
This command was integrated into Cisco IOS Release 12.2(50)SY.
|
Usage Guidelines
Both peer routers must support the ability to send and receive pseudowire status messages in label advertisement and label notification messages. If both peer routers do not support pseudowire status messages, Cisco recommends that you disable the messages with the no status command.
Examples
The following example shows how to enable the router to send pseudowire status messages to a peer router:
Related Commands
Command
|
Description
|
debug mpls l2transport vc
|
Displays debug messages about the pseudowire status.
|
show mpls l2transport vc detail
|
Displays pseudowire status messages.
|
status redundancy
To designate one pseudowire as the master or slave to display status information for both active and backup pseudowires, use the status redundancy command in pseudowire class configuration mode. To disable the pseudowire as the master or slave, use the no form of this command.
status redundancy {master | slave}
no status redundancy {master | slave}
Syntax Description
master
|
Designates one pseudowire to work as the master.
|
slave
|
Designates one pseudowire to work as the slave.
|
Command Default
The pseudowire is in slave mode.
Command Modes
Pseudowire-class configuration mode (config-pw)
Command History
Release
|
Modification
|
Cisco IOS XE Release 2.3
|
This command was introduced.
|
Usage Guidelines
One pseudowire must be the master and the other must be assigned the slave. You cannot configure both pseudowires as master or slave.
Examples
The following example designates the pseudowire as the master:
Router(config-pw)# status redundancy master
Related Commands
Command
|
Description
|
show xconnect
|
Displays information about xconnect attachment circuits and pseudowires
|
switching-point
To configure a switching point and specify a virtual circuit (VC) ID range, use the switching-point command in Layer 2 pseudowire routing configuration mode. To remove the switching point configuration, use the no form of this command.
switching-point vcid minimum-vcid-value maximum-vcid-value
switching-point vcid
Syntax Description
vcid
|
Configures a VC ID range for the switching point.
|
minimum-vcid-value
|
Minimum value or starting point for the VC ID range. Valid entries are 1 to 2147483647.
|
maximum-vcid-value
|
Maximum value or ending point for the VC ID range. Valid entries are 1 to 2147483647.
|
Command Default
If an Autonomous System Boundary Router (ASBR) has been configured as a switching point (accomplished by using the no bgp default route-target filter command), the default VC ID range is 1001 to 2147483647.
Command Modes
Layer 2 pseudowire routing (config-l2_pw_rtg)
Command History
Release
|
Modification
|
15.1(1)S
|
This command was introduced.
|
Usage Guidelines
The switching-point command is used in Layer 2 pseudowire routing configuration mode. To enter Layer 2 pseudowire routing configuration mode, use the l2 pseudowire routing command.
Changing the VC ID Range on an ASBR
The switching-point command was introduced in the L2VPN VPLS Inter-AS Option B feature and is intended for use on an Autonomous System Boundary Router (ASBR). With the L2VPN VPLS Inter-AS Option B feature, VC IDs in the VC ID range of 1001 to 2147483647 are reserved for switching pseudowires. This command allows you to change this range if, for example, an existing xconnect VC is using one of the reserved VC IDs.
Examples
In the following example, the switching-point command has been used to specify a VCID range of 200 to 3500:
Router(config)# configure terminal
Router(config)# l2 pseudowire routing
Router(config-l2_pw_rtg)# switching-point vcid 200 3500
Router(config-l2_pw_rtg)# end
Related Commands
Command
|
Description
|
l2 pseudowire routing
|
Enables Layer 2 pseudowire routing and enters Layer 2 pseudowire routing configuration mode.
|
no bgp default route-target filter
|
Disables automatic BGP route-target community filtering or enables pseudowire switching in address family configuration mode.
|
show xconnect
|
Displays information about xconnect attachment circuits and pseudowires
|
switching tlv
To advertise the switching point type-length variable (TLV) in the label binding, use the switching tlv command in pseudowire class configuration mode. To disable the display of the TLV, use the no form of this command.
switching tlv
no switching tlv
Syntax Description
This command has no arguments or keywords.
Command Default
Switching point TLV data is advertised to peers.
Command Modes
Pseudowire class configuration (config-pw-class)
Command History
Release
|
Modification
|
Cisco IOS XE Release 2.3
|
This command was introduced.
|
Usage Guidelines
The pseudowire switching point TLV information includes the following information:
•
Pseudowire ID of the last pseudowire segment traversed
•
Pseudowire switching point description
•
Local IP address of the pseudowire switching point
•
Remote IP address of the last pseudowire switching point that was crossed or the T-PE router
By default, switching point TLV data is advertised to peers.
Examples
The following example enables the display of the pseudowire switching TLV:
Router(config)# pseudowire-class atom
Router(config-pw-class)# switching tlv
Related Commands
Command
|
Description
|
show mpls l2transport binding
|
Displays switching point TLV information.
|
show mpls l2transport vc detail
|
Displays switching point TLV information.
|