MPLS Troubleshooting Guide
MPLS Troubleshooting Guide
MPLS Troubleshooting Guide
Advanced Services
Advanced Service
MPLS - Troubleshooting Guide
Version 1.0
Corporate Headquarters
Cisco
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
Contents
Contents ..........................................................................................................................................2
Figures ............................................................................................................................................5
Introduction ....................................................................................................................................6
Troubleshooting Scenarios........................................................................................................ 95
Mis-configuration ................................................................................................................... 95
Some MPLS and MPLS/VPN issues ................................................................................... 109
PE Node Failure.................................................................................................................... 114
PE-CE Link Failure ............................................................................................................... 115
RR Node Failure ................................................................................................................... 116
Link Failure ........................................................................................................................... 117
P Node Failure ...................................................................................................................... 130
AToM issues ......................................................................................................................... 139
Figure 12 - Lab topology for LINK and NODE failures scenarios 140
Document Purpose
This document serves as a generic troubleshooting resource for operational staff when diagnosing and
identifying faults in the MPLS network, focusing the following technologies:
MPLS label exchanging (via LDP).
MPLS VPN (via MP-BGP).
MPLS TE and FRR (via RSVP).
AToM – Any Transport over MPLS (via IGP and LDP).
This document will particularly focus on troubleshooting aspect of MPLS environment (LDP, VPN, TE
and AToM) and will not describe specific MPLS implementation or design. A brief overview will be
provided, however the reader is encouraged to read the reference material for a comprehensive overview.
Motivation
Troubleshooting can sometimes be perceived as a black art and thus Cisco Advanced Services is focused to
provide with a clear outline for troubleshooting issues relating to some MPLS deployment including traffic
Engineering. This document is primarily aimed to help Operational Support Staff, firstly to debug and
diagnose issues, and also to collect necessary information that will be required in the event a Cisco TAC
Service Request is opened.
Intended Audience
The intended audience for this document is:
Operational stuff.
Cisco Advanced Services Teams.
Organisation
Part 1: A brief summary of the MPLS Technology: MPLS, LDP, MP-BGP, RSVP and AToM
Part 2: Troubleshooting Methodology: step-by-step checking list per technology
Part 3: List of the MPLS commands used in the lab topology
Part 4: List of the show commands to check the network status
Part 5: Examples of some issue and how to identify them based on show commands
Part 6: Appendixes
Before basic MPLS functionality is explained, these three foundations of traditional IP routing need to be
highlighted:
Routing protocols are used on all devices to distribute routing information.
Each router analyses the Layer 3 header of each packet compared to the local routing table and
makes a decision about where to forward the packet. Regardless of the routing protocol, routers
forward packets contingent on a destination address-based routing lookup.
The routing lookup is performed independently on every router in the network.
MPLS Features
MPLS is a packet-forwarding technology that uses appended labels (tags) to make forwarding decisions for
packets.
Within the MPLS network, the Layer 3 header analysis is done just once (when the packet enters
the MPLS domain). Labels are appended to the packet, and then the packet is forwarded into the
MPLS domain.
Simple label inspection integrated with CEF switching drives subsequent packet forwarding.
MPLS was designed to support efficiently forwarding packets across the network core based on a
simplified header. Label switching is performed regardless of the Layer 3 routing protocol.
MPLS decreases the forwarding overhead on the core routers.
MPLS supports multiple useful applications such as those listed here:
- Unicast and Multicast IP routing.
- VPN (Virtual Private Network).
- TE (Traffic Engineering).
- QoS (Quality of Services).
- AToM (Any Transport Over MPLS).
MPLS supports the forwarding of non-IP protocols, because MPLS technologies are applicable to
any network layer protocol.
MPLS Architecture
MPLS consists of these two major components:
Control Plane.
Data Plane.
Data Plane
Data Plane is a simple forwarding engine that is independent of the type of routing protocol or label
exchange protocol being used. The data plane forwards packets to the appropriate interface based on the
information in the LFIB or the FIB tables.
MPLS Terminology
LSR (Label Switch Router): A device that implements label distribution procedures and
primarily forwards packets based on labels. Typically known as a P (Provider) router.
Edge LSR: An LSR on the edge of an MPLS domain that implements label distribution
procedures, forwards packets based on labels, and primarily inserts labels on packets or remove
labels for non-MPLS devices. Typically known as a PE (Provider Edge) router.
An MPLS label is a locally significant identifier that is used by network core devices to make forwarding
decisions for a packet. Labels define the destination and services for each packet, and identify a FEC
(Forwarding Equivalence Class). The label put on a particular packet represents the FEC to which the
packet is assigned.
Each LSR in the network makes an independent, local decision regarding which value to use to represent
an FEC. This mapping is known as a label binding.
FEC is a group of packets forwarded:
- In the same manner.
- Over the same path.
- With the same forwarding treatment.
MPLS uses FEC-based forwarding to evolve connectionless IP networks to connection-oriented networks.
MPLS technology is intended to be used anywhere regardless of Layer 1 media and Layer 2 encapsulation.
Frame-mode MPLS is MPLS over a frame-based Layer 2 encapsulation:
- The label is inserted between the Layer 2 and Layer 3 headers.
Cell-mode MPLS is MPLS over ATM:
- The fields in the ATM header are used as the label.
If ATM is being used as a WAN link and the ATM switches do not act as LSRs, this is a frame-mode
MPLS.
MPLS Applications
MPLS can be used in different applications, as outlined here:
Unicast IP routing is the most common application for MPLS.
Multicast IP routing is treated separately because of different forwarding requirements.
MPLS TE is an add-on to MPLS that provides better and more intelligent link use.
Differentiated QoS can also be provided with MPLS.
MPLS VPNs are implemented using labels to allow overlapping address space between VPNs.
AToM is a solution for transporting Layer-2 packets over an IP or MPLS backbone.
The Figure 2 shows the overall architecture when multiple applications are used.
Regardless of the application, the functionality is always split into the control plane and the data
(forwarding) plane, as discussed here:
The applications may use a different routing protocol and a different label exchange protocol in the
control plane.
The applications all use a common label-switching data (forwarding) plane.
Edge LSR Layer 3 data planes may differ to support label imposition and disposition.
In general, a label is assigned to an FEC.
The Address Family carries the identity of the Network Layer Protocol associated with the Network
Address that follows.
1
It can‟t be learnt via BGP, otherwise you will have an unstable network with flapping prefixes on routing table.
The architecture of a PE router in an MPLS VPN is very similar to the architecture of a POP with
customer-dedicated PE routers used in the dedicated-router peer-to-peer VPN model. The only difference
is that the whole architecture is condensed into one physical device with the PE router in an MPLS VPN.
Each customer is assigned an independent routing table (virtual routing table of VRF) that corresponds to
customer dedicated PE router in the traditional peer-to-peer model. Routing across the provider backbone
is performed by another routing process that uses a global IP routing table corresponding to the intra-POP
P router in the traditional peer-to-peer model.
Is The RD Enough?
Simple VPN topologies require only one RD per customer, raising the possibility that the RD could serve
as a VPN identifier. This design, however, would not allow implementation of more complex VPN
topologies, such as when a customer site belongs to multiple VPNs, such as Management VPNs, Central
Services VPNs, Hub&Spoken VPNs.
2
In an IP version 6 implementation, the theory is the same.
Outbound Propagation
IGP speaking CE routers identify the correct instance of IGP on the PE router when an inbound PE
interface is associated with a VRF. This association allows CE routers to announce their networks to the
appropriate per-VRF routing table.
MP-BGP is used in the MPLS VPN backbone to carry VPN routes (prefixed with the RD) as 96-bit VPNv4
routes between the PE routers. The backbone BGP process looks exactly like a standard iBGP setup from
the perspective of the VRF. The per-VRF IGP routes therefore must be redistributed into the per-VRF
instance of the BGP process to allow them to be propagated through the backbone MP-BGP process to
other PE routers (see Figure 4).
Inbound Propagation
The MP-iBGP routers, although they are inserted in the per-VRF IP routing table, are NOT propagated to
IGP speaking CE routers automatically. To propagate these MP-iBGP routes to the IGP speaking CE
routers, you must manually configure the redistribution between per-VRF instance of BGP and per-VRF
instance of IGP (see Figure 5).
10 8
6
9
For successful propagation of MPLS VPN packets access an MPLS backbone, there must be an
unbroken LSP tunnel between PE routers. This is because the second label in the stack is recognised
only by the egress PE router that has originated it, and will not be understood by any other router should it
ever become exposed.
MTU issues
One way of preventing labelled packets from exceeding the maximum size (and being fragmented as a
result) is to increase the MTU size of labelled packets for all segments in the LSP tunnel. The problem will
typically occur on LAN switches, where it is more likely that a device does not support oversized packets
(also called jumbo frames or, sometimes, giants or baby giants). Some devices support jumbo frames, and
some need to be configured to support them.
The MPLS MTU size is increased automatically on WAN interfaces and needs to be increased manually on
LAN interfaces.
The MPLS MTU size has to be increased on all LSRs attached to a LAN segment. Additionally, the LAN
switches used to implement switched LAN segments need to be configured to support jumbo frames.
A different approach is needed if a LAN switch does not support jumbo frames. The problem may be even
worse for networks that do not allow ICMP MTU discovery messages to be forwarded to sources of
packets and if the Don‟t Fragment bit (DF bit) is strictly used. This situation can be encountered where
firewalls are used.
http://www.cisco.com/en/US/products/hw/switches/ps700/products_configuration_example09186a008010
edab.shtml
The following section is by no means a comprehensive description of MPLS Traffic Engineering. Each of
the topics covered therein try to give the reader a good high level view. Readers are encouraged to refer to
the reference material for a complete discussion of the respective topic.
The RSVP process can be broken down into five distinct steps:
Data senders send RSVP PATH control messages the same way they send regular data traffic.
There messages describe the data they are sending or intend to send.
Each RSVP router intercepts the PATH messages, saves the previous hop IP address, writes its
own address as the previous hop, and sends the updated message along the same route the
application data is using.
Receiver stations select a subset of the sessions for which they are receiving PATH information
and request RSVP resource reservations from the previous hop router using an RSVP RESV
message. The RSVP RESV messages going from a receiver to a sender takes an exact reserve path
when compared to the path taken by the RSVP PATH message.
The RSVP routers determine whether they can honour those RESV requests. If they cannot, they
refuse the reservations. If they can, they merge reservation requests being received and request a
reservation from the previous hop router.
The senders receive reservation requests from the next-hop routers indication that reservations are
in place. Note that the actual reservation allocation is made by the RESV messages.
A summary of the RSVP Objects that were added or modified to support TE is following:
Label: It performs label distribution; carried by RESV message.
Label Request: It is used to request label allocation; carried by PATH message.
Source Route: It specifies the explicit source router; carried by PATH message.
Record Route: It is used to record the path taken by the RSVP message; carried by PATH and
RESV messages.
Session Attribute: It specifies the holding priority and setup priority; carried by PATH.
Session: It can carry a null IP protocol number; carried by PATH message.
Filter_Spec: It can carry a tunnel identifier to enable ER_LSP identification; carried by RESV
message.
PE4 P2 P3 PE6
Middle Points
Point P30 Tail End
The path showed in Blue arrow indicates the primary tunnel path from PE4 toward PE7.
PE4 is the Head End.
PE7 is the Tail End.
P2, P3, and P32 are the Middle Points.
P1
Next-Next -Hop
PE4 P2 P3 PE6
P30
The path showed in Red arrow indicates the backup tunnel which protects P2 failure.
P3 is the Merge point between primary and backup tunnel (for this case).
PE4 P2 P3 PE6
P30
The path showed in Green arrow indicates the backup tunnel which protects link failure between
PE4 and P2.
P2 is the Merge point between primary and backup tunnel (for this case).
There is an ever-increasing demand for the transport of Layer-2 and Layer 3 over a common backbone.
Any Transport over MPLS (AToM) allows an MPLS network to provide end-to-end transport for Layer 2
frames and cells. It provides support for Ethernet, PPP, HDCL, Frame Relay and ATM.
Transport Types
AToM enables the following types of Layer 2 frames and cells to be directed across an MPLS backbone:
Ethernet and Ethernet VLAN.
ATM Adaptation Layer 5 (AAL5) and ATM Cell Relay.
Frame Relay: PVC-to-PVC mode (frame-relay switching has to be enabled) and port-to-port mode
(uses encapsulation HDCL).
PPP.
HDLC.
MTU issues
Unlike IP, most Layer 2 protocols do NOT allow fragmentation of frames. This fact has two implications:
AToM transport of Frame Relay, Ethernet, and AAL5 DOES NOT allow packets to be
fragmented and reassembled.
All intermediate links between the ingress PE router and the egress PE router must be able to
carry the largest Layer 2 frame that has been received, including the imposed label stack and the
4-byte control word3 (if it is used).
The ingress PE interface and the egress PE interface must have the same MTU value.
3
The control word is an optional 32bits fields. It is divided into four fields. The two of these field are used depend on
which Layer 2 is encapsulated.
Label exchanging
Figure 9 - AToM - Label exchanging
VC 17
21
22
23
pop
The IGP and LDP in combination are used to create an LSP from ingress PE router to egress PE router.
The Figure 9 shows the label assignment and advertisement. The egress PE router advertises the pop level
for its own loopback address. The backbone router that it closest to it advertises label value 23. The next
router advertises value 22, and the last label advertisement shown is value 21. An LSP from ingress router
to egress route is now established.
The egress PE router now allocates a local label to be the VC label for the specific circuit in this example.
It selects the label value 17 for this. The VC label is advertised to the ingress PE router using the directed
LDP session between them.
The ingress PE router now forms a label stack. The topmost label, the tunnel label, has the value 21 and is
used to guide the packets to the egress PE router. The second label, the VC label, has the value 17 and is
used by the egress PE router to propagate the packet out on the correct interface.
17
DLCI 101
17 21
17 22
17 23 17 17
DLCI 202
When the PE router receives the packet with label value 17, that label value instructs the PE router to de-
encapsulate the packet and send it out on the associated Frame Relay DCLI. In this case the DLCI value is
202. The Frame Relay frame is now reconstructed and transmitted.
VRF configuration
Only on PEs routers:
Create a VRF name.
Assign RD to the VRF.
Specify export and import RT
Assign interface to VRF
MP-BGP
On RR routers:
Configure globally the MP-BGP neighbours (all PEs).
Active MP-BGP neighbours under address-family VPNv4.
Configure MP-BGP parameters (community propagation, route-reflector, …)
On PE routers:
Configure globally the MP-BGP neighbours (Route-reflector).
Active MP-BGP neighbours under address-family VPNv4.
Configure MP-BGP parameters (community propagation, filtering, …)
PE-CE routing
On PEs routers:
Configuring PE-CE routing selecting VRF routing context.
If BGP is not the protocol in used between PE-CE, you should enable redistribution in both
direction between PE-CE routing protocol and BGP (under address family context in both routing
protocols).
In all routers in the core network the following tasks should be performed to enable MPLS TE:
Configuring a Device to Support Tunnels.
Configuring and Interface to Support RSVP-based Tunnel Signalling and IGP flooding.
Configuring IS-IS for MPLS TE.
At Head-end tunnel the following tasks should be performed to create and use the MPLS TE tunnel:
Configuring an MPLS TE Tunnel.
- In case of Auto-tunnel an ACL should be created listing all IP destinations (Remote PEs).
Configuring an MPLS TE Tunnel to be used by an IGP.
At Head-end tunnel the following task should be performed in order to enable FRR feature:
In interface tunnel (or auto-template) enable fast-reroute feature.
On PE
The PE routers must have a /32 address assigned to their loopbacks.
MPLS must be enabled in the core.
Make sure MTU is large enough in the core.
Enable layer 2 frame transport in both endpoint PE routers.
Make sure MTU is same on both endpoint interfaces.
31
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
interface <physical interface> Interface configuration mode
ip vrf forwarding <vrf-name>p It enables mpls on interface applying the label protocol enabled in global
configuration mode in it is not explicit specified under interface
configuration mode.
ip address <address> <mask> When an interface is assigned to a vrf the IP address configuration is removed.
So, the ip address has to be re-configured after the ip vrf forwarding
command performed.
MP-BGP configuration
route bgp 25135 Create/enter BGP/MP-BGP processes
bgp always-compared-med It enables the comparison of MED for paths from neighbours in different
autonomous systems.
no bgp default ipv4-unicast IPv4 address family routing information is advertised by default for each BGP
routing session configured with the neighbour remote-as command, unless
you first configure the no bgp default ipv4-unicast command before
configuring the neighbour remote-as command.
bgp log-neighbor-changes It enables logging of BGP neighbor status changes (up or down) and resets for
troubleshooting network connectivity problems and measuring network
stability.
bgp deterministic-med By default, Cisco IOS software does not enforce the deterministic comparison
of the MED variable between all paths received from the same AS. In order
to get the same result of the selection algorithm independently of the order
the updates are received, this command should be enabled.
bgp bestpath med missing-as-worst By default, Cisco assigns a value of 0 to routes which didn‟t have MED
attribute configured. In BGP algorithms when compares MED, the lower
value is the best. To avoid missing MED to be considered the best path, we
should enable this command to assigns the highest value.
There is an issue here: some IOS releases use different values
(CSCef34800).
- 31S assigns a value of 4294967294 (IOS running in PEs)
- 12.3 assigns a value of 4294967295 (IOS running in RRs)
timers bgp 10 30 The first value defines the keepalive and the second value the hold-down timers.
This is negotiating per TCP session; the timers to be used as a reference in BGP
session will be the lowest configured between two BGP peers.
neighbor <peer-group-name> peer-group It creates a peer-group (neighbour configuration template)
neighbor <peer-group-name> remote-as <AS> It assigns the neighbour‟s AS for neighbours assigned to this peer-group.
neighbor <peer-group-name> password <pwd> It enables a MD-5 password
neighbor <peer-group-name> update-source loopback 0 It defined the IP source address in all BGP packet created by local router.
neighbor <neighbor-ip> peer-group <peer-group-name> It assigns a BGP neighbour to a peer-group template.
32
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
address-family vpnv4 It defines the MP-BGP session. All commands related to MP-BGP session
should be configured under this address-family. The BGP global is related
only for TCP session.
neighbor <peer-group-name> activate It activate the BGP session.
neighbor <peer-group-name> send-community both It enables the local router to send the standard community and extended
community (RT, SOO, OSPF information, and so on).
neighbor <peer-group-name> advertisement-interval 0 By the default IOS software waits between 30 seconds for eBGP peering to
sending BGP routing updates. For iBGP peering waits between 5 seconds to
sending BGP routing.
neighbor <peer-group-name> route-reflector-client This command should be performed only in Route-reflectors in order to reflect
all iBGP prefixes learn to other iBGP neighbours. This avoids the need of
full mesh configuration.
neighbor <neighbor-ip> peer-group <peer-group-name> It assigns a BGP neighbour to a peer-group template.
PE-CE configuration
ip route vrf <vrf-name> <network> <mask> <exit-interface> <next-hop> It defines a static route in a vrf context.
router ospf <id> vrf <vrf-name> It defines an OSPF configuration in a vrf context.
redistribute bgp 25135 subnets You should redistribute BGP prefixes in order to local CE learns remote
network <range> <wildcard> area <area-id> prefixes. Do NOT forget the keyword subnets, otherwise the
...
subnetworks will not be redistributed, only classfull prefixes (such as
10.0.0.0/8).
router bgp 25135 It defines a BGP configuration in a vrf context.
address-family ip vrf <vrf-name>
neighbor <ip-address> remote-as <as>
neighbor <ip-address> update-source <interface>
neighbor <ip-address> route-map <name> [in|out] It defines an incoming or outgoing filter based on route-map configuration.
neighbor <ip-address> filter-list <as-path-acl-#> [in|out] It defines an incoming or outgoing filter based on as-path access-list
configuration.
neighbor <ip-address> prefix-list <name> [in|out] It defines an incoming or outgoing filter based on prefix-list
neighbor <ip-address> allowas-in <#> It allows the neighbour to readvertise prefixes containing duplicate AS numbers
(information in AS-PATH attribute). The value specifies the number of times to
allow the readvertisement. It is recommended in hub-spoken scenario.
redistribute [static|connected] It redistributes the vrf prefixes into MP-BGP vrf database.
redistribute ospf <id> vrf<name> match internal external1 external2
default-information originate It allows redistributing a default-route in routing table onto BGP database.
33
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
maximum-path import 8 It specifies the number of redundant paths that can be configured as back up
multipaths per a VRF prefix.
A VRF will import only one path (the best path) per prefix from the source VRF
table, unless the prefix is exported with a different route-target. If the best path
goes down, the destination will not be reachable until the next import event
occurs, and then a new best path will be imported into the VRF table. The
import event runs every 15 seconds by default.
The import keyword allows to a VRF table to accept multiple redundant paths
in addition to the best path. This feature should be used when there are multiple
paths with identical next hops available to ensure optimal convergence times.
A typical application of this configuration option is to configure redundant
paths in a network that has multiple route reflectors for redundancy.
P.S.: Note Configuring redundant paths with the import keyword can increase
CPU and memory utilization significantly, especially in a network where there
are many prefixes to learn and a large number of configured VRFs. It is
recommended that this feature is only configured as necessary and that the
minimum number of redundant paths is configured.
ip as-path access-list <#> [permit|deny] <regular-expression> It defines a set of rules/selection based on BGP as-path attribute information.
...
ip prefix-list <name> [permit|deny]<prefix>/<len>{ge<value>}{le<value>} It defines a set of selection based on IP prefixes. Where:
... „Len‟ defines the bit-count to be compared against <prefix> value (similar to
wildcard in access-list).
If neither „ge‟ nor „le‟ keywords are defined, “len” also specifies the prefix
mask.
ge and le keywords defines the range of the mask. Ge specifies the minimum
and le the maximum value for the mask.
If “ge” is defined and “le” not, the maximum value is 32.
If “le” is defined and “ge” not, the “len” defines the minimum value.
route-map <name> [permit|deny] <seq> It defines a set of rules/selection based on many values/attributes.
match ...
set ...
34
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
mpls traffic-eng tunnels It enables MPLS traffic engineer tunnel on a device.
mpls traffic-eng reoptimize timers frequency 3600 (Optional) It controls the frequency with which tunnels with established LSPs
are checked for better LSP. 3600 seconds is the default value. A value of 0
disables reoptimisation.
no mpls traffic-eng auto-bw timers frequency 0 (Optional) To control the frequency at which tunnels with established LSPs are
checked for better LSPs, use this commands.
A value of 0 disables reoptimisation. The default value is 3600 seconds (1
hour).
mpls traffic-eng reoptimize events link-up (Optional) It turns on automatic reoptimisation of MPLS- TE when certain
events occur, such as when an interface becomes operational.
no mpls traffic-eng topology holddown sigerr 0 (P Routers only) When this feature is disabled, tunnel path calculations will
ignore a link on which there is a traffic engineering error until either 10
seconds have elapsed or a topology update is received from the IGP.
A router that is at the headend for TE tunnels might receive a RSVP No Route
error message for an existing tunnel or for one being signalled due to the
failure of a link the tunnel traverses before the router receives a topology
update from the IGP routing protocol announcing that the link is down. In
such a case, the headend router ignores the link in subsequent tunnel path
calculations to avoid generating paths that include the link and are likely to
fail when signalled.
mpls traffic-eng auto-tunnel backup tunnel-num min 60000 max 64000 (Optional) It configures the range of mesh secondary tunnel interface numbers.
Valid values are from 1 to 65535.
35
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
interface <physical interface> Interface configuration mode
mpls traffic-eng tunnels It enables MPLS traffic engineer on this interface.
ip rsvp bandwidth 155000 155000 It enables RSVP for IP on an interface and specify amount of bandwidth to be
reserved.
The first value represents the total of bandwidth can be allocated by RSVP for
this interface.
The second value represents the max amount of bandwidth per flow (per
tunnel) which can be allocated.
ip rsvp signalling initial-retransmit delay 760 (Optional) It configures the minimum amount of time that a RSVP configured
router waits for an ACK message before retransmitting the same message.
The default value is 1000 ms (1.0 sec).
If an ACK is not received for a state, the first retransmit occurs after the initial
retransmit interval. If no ACK is received after the first retransmit, a second
retransmit occurs. The message continues to be retransmitted, with the gap
between successive retransmits being twice the previous interval, until an
ACK is received. Then the message drops into normal refresh schedule if it
needs to be refreshed (Path and Resv messages), or is processed (Error or
Tear messages). If no ACK is received after five retransmits, the message is
discarded as required.
ip rsvp signalling refresh reduction ack-delay 500 (Optional) It configures the maximum amount of time that a RSVP configured
router holds on to an ACK message before sending it.
ip rsvp signalling refresh reduction (Optional) It enables RSVP refresh reduction. RSVP refresh reduction
(RFC2961) is a set of extensions to reduce the messaging load imposed by
RSVP and to help it scale to support larger numbers of flows.
Refresh reduction requires the cooperation of the neighbour to operate; for this
purpose, the neighbour must also support the standard. If the router detects
that a directly connected neighbour is not supporting the refresh reduction
standard, refresh reduction will not be used on this link irrespective of this
command.
36
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
interface Auto-Template1 It creates a template interface. The interface number could be from the value of
1 to 25.
ip unnumbered Loopback0 It enables IP processing on an interface without assigning an explicit IP address
to the interface.
tunnel destination access-list 41 It specifies the access-list that the template interface uses for obtaining the mesh
tunnel interface destination address (Remote PEs‟ loopback – one primary
tunnel per destination IP address).
The value argument is the number of the access-list.
tunnel mode mpls traffic-eng It sets the MPLS TE encapsulation mode for the tunnel interface.
tunnel mpls traffic-eng autoroute announce It specifies to send data traffic to this tunnel since the IP destination is the IP of
Tail End or beyond of it.
tunnel mpls traffic-eng priority 4 4 It configures the setup and reservation priority for an MPLS TE tunnel.
The first value is the setup-priority; it is the priority used when an LSP is
signalled for this tunnel and determines which existing tunnels can be pre-
empted any LSP with a non-0 priority.
The second value is the hold-priority, it is the priority associated with an LSP
for this tunnel and determines if it should be pre-empted by other LSPs that
are being signalled.
Valid values are from 0 to 7, where a lower number indicates a higher
priority.
tunnel mpls traffic-eng bandwidth 100 To configure bandwidth required for an MPLS traffic engineering tunnel. The
default bandwidth required is 0.
tunnel mpls traffic-eng path-option 1 dynamic It configures a path option for an MPLS TE tunnel.
The dynamic keyword specifies that the path of the LSP is dynamically
calculated. Instead of dynamic keyword, the explicit keyword can be
defined to specify an IP explicit path.
The value 1 means the path-number argument which defines among others
which value path should be used for this particular interface. The lower
value is consider first to define the path.
tunnel mpls traffic-eng record-route (Optional) If it is enabled on the headend LSR, the interface addresses for the
LSP are included in the RRO object of the resv message.
tunnel mpls traffic-eng fast-reroute It enables an MPLS TE tunnel to use an established backup tunnel if there is a
link or node failure.
tunnel mpls traffic-eng auto-bw collect-bw It configures a tunnel for automatic bandwidth adjustment and for control of the
manner in which the bandwidth for a tunnel is adjusted.
The collect-bw keyword collects output rate information for the tunnel, but
does not adjust the tunnel‟s bandwidth.
tunnel mpls traffic-eng interface down delay 0 It forces a tunnel to go down as soon as the headend router detects that the
label-switched path (LSP) is down.
37
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
AToM
interface atm <slot/port>.<sub-interface> point-to-point It creates a sub-interface
pvc <vpi>/<vci> l2transport It defines a PVC identification for this ATM circuit
encapsulation aal0 Defined the type of AAL layer on ATM, for this particular case uses AAL0
xconnect <peer-router-ip address> <vcid> encapsulation mpls It defines the AToM circuit when the <vcid> has to be same as configured on
remote PE.
38
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
A Simplistic Topology to be used as an example for the Troubleshooting
Figure 11 - Topology used in lab for capturing output
.Loopback 0
Interfaces
1st host of sub-network /30
Links which do not have ISIS metric specified
.
172.16.18.0/30
172.17.0.8
RR1
s0/0
...
s0/0
are using the default value (metric = 10)
172.17.0.1
30
.
172.17.7.83
6509-1
10
.4 0.31
.4 /
.
30
0 9.
12
.0
/ 30 s2/0
s1/0
P1
s3/0
1 72
.1
9.
13.
0/
.
172.17.8.51
6509-3
.
...
s1/0 /3 1 /3 10.33.31.4/30 s1/0
.
4.0 2. .0 s2/0
s2/0
.2 17 .3
6
19 s0/0 16
.
2. 2.
. .
s0/0
s2/0 172.17.0.4 17 172.17.0.2 172.17.0.3 17 172.17.0.6 s2/0
s0/0 s3/0 s3/0 s0/0
PE4 P2 s1/0 3 0 s1/0 P3 PE6
0/
s1/0 3.
s2/0 9 .2 s2/0 s1/0
1
2.
17
0 172.17.0.9
/3
.0
0 . 30 000
/3 19 1 RR2 0
.0 2. = /3
10
. 40.
31
M
4
. 6
19 =
2. ic
17 etr
0/
30
5. 40
M
e
19 1
2. =
17 tric
3
. 0
0/
30
1. 00 M
s2/0
e
.
17 tric
. .
s1/0
172.17.0.30
P30
s0/0
s0/0 172.19.29.8/30
s3/0 .1
32.
0/
30
2. ic
17 etr
M
.
19 =
.0 0
32 100
M
.
16 =
2. ic
17 etr
.0
/3
67 640
0
10
. 33
.3
1.
0/
30
16
7 2.
1
0
/3
.
0 172.16.130.0/30
. .
/3 0
s1/0 8 s2/0 s0/0 s2/0 7. s1/0
3. s0/0 13
. .
.5 .
19 19
172.17.0.5 2. s3/0 172.17.0.31 s1/0 172.17.0.32 s3/0 2. 172.17.0.7 /3
0
s0/0 17 s1/0 17 s0/0 .8
s2/0 .31
s2/0 PE5 P31 P32 PE7 .3
3
172.19.131.0/30
10
s1/0 s1/0
s0/0 s0/0
10.40.31.8/30
172.17.7.84 172.17.8.52
6509-2 6509-4
39
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
TM
MPLS/LPD checking
show cef interface brief
show mpls interface | i (Interface|<interface>)
show mpls ldp discovery
show mpls ldp neighbor
show mpls ldp bindings
show mpls forwarding vrf <vrf-name>
show ip cef vrf <vrf-name>
VRF checking
show ip vrf
show ip vrf interface
show run | i ip vrf {<vrf-name>}|^ rd |route-target|^ import|^ export
July 10
A printed copy of this document is considered uncontrolled.
show ip bgp vrf <vrf-name> <ip-prefix>
show ip bgp vrf <vrf-name> neighbor <ip> advertised-routes
show ip bgp vrf <vrf-name> neighbor <ip> routes
MP-BGP checking
show ip bgp vpn all summary
show ip bgp vpn all label
show ip bgp vpn all <prefix>
show ip bgp vpn vrf <vrf-name>
show ip bgp vpn rd <route-distinguisher>
Path verification
! On PEs
ping mpls ipv4 <ip address> /<mask in bit count>
trace mpls ipv4 <ip address> /<mask in bit count>
ping vrf <vrf-name> <ip address>
trace vrf <vrf-name> <ip address>
! On CEs and
ping mpls ipv4 <ip address> /<mask in bit count>
trace mpls ipv4 <ip address> /<mask in bit count>
July 10
A printed copy of this document is considered uncontrolled.
MPLS/TE and FRR Troubleshooting
3. Checking if MPLS, LDP and MPLS-TE are enabled in all Core routers.
sh mpls int | i (Interface|<interface>)
4. Checking if “MPLS traffic-eng” and “MPLS Traffic-eng auto-tunnel” are enabled in all
Core routers (Ps and PEs).
show mpls traffic-eng tunnels brief
5. Check if ISIS is enabled on traffic-eng in all Core routers (Ps and PEs).
Level-2 is enabled on Traffic-eng.
Metric wide enabled in Level-2 area.
All interfaces are enabled in Level-2 area.
July 10
A printed copy of this document is considered uncontrolled.
sh isis topology
sh isis database <PE-hostname>.00-00 verbose
sh isis mpls traffic-eng advertisements
6. Check if RSVP is enabled on all interfaces facing Core routers (Ps and PEs).
Check if the amount of Bandwidth enable on RSVP (Global and per flow) is enough for
all TE Tunnels request.
8. Check Fast-ReRoute.
Check what is the backup tunnel create for a particular primary tunnel.
Check RSVP reservation.
Check interface tunnel details.
In this next section will be presented the output commands and highlighting how to verify each item
mentioned above.
July 10
A printed copy of this document is considered uncontrolled.
AToM Troubleshooting
show mpls l2transport vc
show mpls l2transport vc detail
show mpls l2transport summary
July 10
A printed copy of this document is considered uncontrolled.
Troubleshooting commands
In this section will be present the output commands. These outputs were extracted from the lab topology
present in previous section. This will be the guide line what we should expect in normal operation.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# show mpl ldp neigh
Peer LDP Ident: 172.17.0.5:0; Local LDP Ident 172.17.0.4:0
TCP connection: 172.17.0.5.54266 - 172.17.0.4.646
State: Oper; Msgs sent/rcvd: 4067/4059; Downstream
Up time: 2d10h
LDP discovery sources: Neighbour‟s Prefixes (all
Serial1/0, Src IP addr: 172.19.45.2 interfaces in global routing table).
Addresses bound to peer LDP Ident:
172.19.53.10 172.17.0.5 172.19.45.2
Peer LDP Ident: 172.17.0.2:0; Local LDP Ident 172.17.0.4:0
TCP connection: 172.17.0.2.646 - 172.17.0.4.42241
State: Oper; Msgs sent/rcvd: 4054/4069; Downstream
Up time: 2d10h
LDP discovery sources:
Serial0/0, Src IP addr: 172.19.24.1
Addresses bound to peer LDP Ident:
172.19.12.2 172.17.0.2 172.19.23.1 172.19.31.1
172.19.24.1
It shows TCP connection status between neighbors. This defines either
172.17.0.2 neighbour is the
PE-4# sh mpl ldp bindings destionation of 172.17.0.2/32
tib entry: 172.16.18.0/30, rev 40 prefix, or this neighbour is in
local binding: tag: 30 MPLS border, beyond it it is
an IP network only (edge
remote binding: tsr: 172.17.0.2:0, tag: 28
LSR).
remote binding: tsr: 172.17.0.5:0, tag: 40
tib entry: 172.17.0.2/32, rev 8
local binding: tag: 16
remote binding: tsr: 172.17.0.2:0, tag: imp-null 172.17.0.4/32 is a Loopback 0
IP address, local ip address
remote binding: tsr: 172.17.0.5:0, tag: 26
prefix, so PE-4 is sending a
tib entry: 172.17.0.4/32, rev 4 POP label flag to its
local binding: tag: imp-null neighbours.
remote binding: tsr: 172.17.0.5:0, tag: 16
remote binding: tsr: 172.17.0.2:0, tag: 25
tib entry: 172.19.45.0/30, rev 5 Label to be
172.19.45,0/30 is a serial
local binding: tag: imp-null imposed
address which connects PE-4 to
remote binding: tsr: 172.17.0.5:0, tag: imp-null 172.17.0.5 neighbor (PE-5), so
it is a local ip address prefix to
remote binding: tsr: 172.17.0.2:0, tag: 26
PE-4 and PE-5. Then, both are
. . . sending POP label flag to their
[output omitted] neighbours.
It shows LIB (Label control plane database).
In the next page we will analyse in detail a global prefix in LIB, FIB and LFIB databases.
July 10
A printed copy of this document is considered uncontrolled.
In frame-mode, labels are allocated independently, i.e. it is based on prefixes in global routing table.
These labels are advertised to all LDP neighbours.
RIB has to be checked per prefix to identify the best path to populate LFIB. (It is similar to what happens with
RIP prefixes per example; not all paths learnt going to FIB, only the best information.)
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl forwarding-table
Local Outgoing Prefix Bytes tag Outgoing Next Hop
tag tag or VC or Tunnel Id switched interface
16 Pop tag 172.17.0.2/32 0 Se0/0 point2point
17 Pop tag 172.19.12.0/30 0 Se0/0 point2point
. . .
26 31 172.17.0.32/32 0 Se0/0 point2point
35 Untagged[T] 172.16.67.0/30 0 Tu2 point2point
. . .
43 Aggregate 4.4.4.4/32[V] 0
44 26 172.16.132.0/30 0 Se0/0 point2point
45 29 172.16.130.0/30 0 Se0/0 point2point
46 38 172.17.0.30/32 0 Se0/0 point2point
47 56 172.19.29.80/30 0 Se0/0 point2point
48 57 172.17.0.9/32 0 Se0/0 point2point
49 0 l2ckt(100) 161019 none point2point
. . .
Untagged
Send as a standard IP packet
Aggregate
Remove the label and do a FIB lookup (in general it is a vpn prefix, also indicated as [V] after the
ipv4 prefix)
0
Explicit null (by default Cisco uses implicit null, to enable explicit null you have to use the “mpls
ldp explicit-null” command in global configuration mode. This command is useful in MPLS QoS
scenarios to implement “short pipe mode” architecture, i.e. the QoS implemented in Service
Provides does not affect the QoS implemented on Customer network.).
July 10
A printed copy of this document is considered uncontrolled.
Administrative
AD
Distance (AD). In the next two pages we will analyse in detail two VRF prefixes in LIB, FIB and LFIB databases.
PE-4# sh ip route vrf VPN VRF prefixes leart via remote
[output omitted] PE. (via MP-iBGP – AD=200).
AD
5.0.0.0/32 is subnetted, 1 subnets
B 5.5.5.5 [200/100] via 172.17.0.5, 13:42:19
172.17.0.0/32 is subnetted, 4 subnets
O 172.17.8.84 [110/97] via 10.40.31.6, 02:36:04, Serial2/0
VRF prefixes leart via local
[output omitted] CE. (via CE-PE routing, in
this case OSPF). If it were
PE-4# sh ip bgp vpn vrf VPN label
learnt via eBGP the AD
would be 20.
Network Next Hop In label/Out label
Route Distinguisher: 25135:133001804 (VPN)
4.4.4.4/32 0.0.0.0 47/aggregate(VPN)
Label learnt via MP-BGP,
from MP-BGP neighbour.
5.5.5.5/32 172.17.0.5 nolabel/47
Path #1 172.17.0.5 nolabel/47
[output omitted] Label allocated locally and
172.17.8.84/32 172.17.0.5 52/58 advertise to all MP-BGP,
neighbours.
Path #2 172.17.0.5 52/58
10.40.31.6 52/nolabel
Path #3 Remember BGP is a distance vector protocol, only selects the best path per prefix to advertise to
neighbour. Beside by default, it populates the FIB/LFIB using the best path only, unless maximum-path is
being applied.
PE-4# sh ip bgp vpn vrf VPN 172.17.8.84
BGP routing table entry for 25135:133001804:172.17.8.84/32, version 637111
Bestpath Modifiers: missing-med-worst, always-compare-med, deterministic-med
Paths: (3 available, best #3, table VPN)
Flag: 0x800
Advertised to update-groups:
Path #1 1
Local, imported path from 25135:133001805:172.17.8.84/32
172.17.0.5 (metric 620) from 172.17.0.8 (172.17.0.8)
Origin incomplete, metric 49, localpref 100, valid, internal
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:5.5.5.5:512
Originator: 172.17.0.5, Cluster list: 0.0.0.1,
Path #2 mpls labels in/out 52/58
Local, imported path from 25135:133001805:172.17.8.84/32
172.17.0.5 (metric 620) from 172.17.0.9 (172.17.0.9)
Origin incomplete, metric 49, localpref 100, valid, internal
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:5.5.5.5:512
Originator: 172.17.0.5, Cluster list: 0.0.0.1,
Path #3 Best Path.
mpls labels in/out 52/58 Path to be adverstised and to
Local populate the FIB/LFIB
10.40.31.6 (via VPN) from 0.0.0.0 (172.17.0.4)
Origin incomplete,metric 97,localpref 100,weight 32768,valid, sourced, best
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:4.4.4.4:512,
mpls labels in/out 52/nolabel
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip cef vrf VPN 172.17.8.84 detail
172.17.8.84/32, version 14, epoch 0, cached adjacency to Serial2/0
0 packets, 0 bytes
tag information set, all rewrites owned Why it does not imposed
local tag: 52 labels?
via 10.40.31.6, Serial2/0, 0 dependencies
next hop 10.40.31.6, Serial2/0
valid cached adjacency
tag rewrite with Se2/0, point2point, tags imposed {}
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip vrf
Name Default RD Interfaces
VPN 25135:133001804 Lo1
Se2/0
It shows the vrf list created locally and what interfaces belong to vrf.
PE-4# sh ip extcommunity-list
Extended community standard list 1
It selects MP-BGP prefixes which RT value is 1:1 or
permit RT:1:1
25135:133001804
permit RT:25135:133001804
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh run | b address-family ipv4 vrf VPN
address-family ipv4 vrf VPN
redistribute ospf 1 vrf VPN
maximum-paths import 4
no auto-summary
no synchronization
network 4.4.4.4 mask 255.255.255.255 route-map metric
exit-address-family
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sho ip bgp vpn all
BGP table version is 656741, local router ID is 172.17.0.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
RD created locally
Network Next Hop Metric LocPrf Weight Path as there is a vrf
assigned to it.
Route Distinguisher: 25135:133001804 (default for vrf VPN)
*>i10.33.31.0/30 172.17.0.6 96 100 0 ?
* i 172.17.0.6 96 100 0 ?
* i 172.17.0.7 96 100 0 ? RD learnt from MP-
* i 172.17.0.7 96 100 0 ? BGP neighbour as
[output omitted]
there is no vrf
assigned to it.
Route Distinguisher: 25135:133001805
*>i5.5.5.5/32 172.17.0.5 100 100 0 i
* i 172.17.0.5 100 100 0 i
*>i10.40.31.0/30 172.17.0.5 96 100 0 ?
* i 172.17.0.5 96 100 0 ?
[output omitted]
July 10
A printed copy of this document is considered uncontrolled.
CE-PE routing troubleshooting is the same way as traditional IP backbone. What has changed then? Only
in PEs you have to add in the IOS show/debug commands the vrf information in almost all commands.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip ospf database router 172.17.8.83
July 10
A printed copy of this document is considered uncontrolled.
What are new in MPLS/VPN troubleshooting comparing to traditional IP Routing are MP-iBGP
exchanges. We have to check the two-way redistribution under address-family between CE-PE routing and
MP-BGP beside the IP VRF configuration if it is exporting and importing the right RDs.
July 10
A printed copy of this document is considered uncontrolled.
Route Distinguisher: 25135:133001805
*>i5.5.5.5/32 172.17.0.5 100 100 0 i
*>i10.40.31.0/30 172.17.0.5 96 100 0 ?
*>i10.40.31.4/30 172.17.0.5 144 100 0 ?
*>i10.40.31.8/30 172.17.0.5 0 100 0 ?
*>i172.17.8.83/32 172.17.0.5 97 100 0 ?
*>i172.17.8.84/32 172.17.0.5 49 100 0 ?
Route Distinguisher: 25135:133001806
*>i6.6.6.6/32 172.17.0.6 100 100 0 i
*>i10.33.31.0/30 172.17.0.6 96 100 0 ?
*>i10.33.31.4/30 172.17.0.6 0 100 0 ? These are the
19 VPNv4
*>i10.33.31.8/30 172.17.0.6 144 100 0 ?
prefixes learnt
*>i172.17.8.51/32 172.17.0.6 49 100 0 ? from the MP-
*>i172.17.8.52/32 172.17.0.6 97 100 0 ? BGP
Route Distinguisher: 25135:133001807
*>i7.7.7.7/32 172.17.0.7 100 100 0 i
*>i10.33.31.0/30 172.17.0.7 96 100 0 ?
*>i10.33.31.0/24 172.17.0.7 0 100 0 1 i
*>i10.33.31.4/30 172.17.0.7 144 100 0 ?
*>i10.33.31.8/30 172.17.0.7 0 100 0 ?
*>i172.17.8.51/32 172.17.0.7 97 100 0 ?
*>i172.17.8.52/32 172.17.0.7 49 100 0 ?
July 10
A printed copy of this document is considered uncontrolled.
Let‟s check if it neighbour is receiving and advertising the same set of prefixes. It should be the same if
there aren‟t filters applied inbound direction (neighbour … filter | prefix-list | route-map commands).
July 10
A printed copy of this document is considered uncontrolled.
RR1# sh ip bgp vpn all n 172.17.0.4 route
BGP table version is 226954, local router ID is 172.17.0.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Now, let analyse the last topic, BGP import prefixes. There are two steps:
Import VPNv4 prefixes to BGP vrf database based on import RT.
From BGP vrf database select the best path of IPv4 prefix to FIB vrf database. (Once the VPNv4
is imported to BGP vrf database the RD information is removed).
By default it is imported one only path per VPNv4 prefix onto BGP vrf and only one IPv4 path per prefix
onto FIB vrf database. It can be defined as maximum-paths import 8 in same address-family vrfs. This
means it can be imported onto BGP vrf database up to 8 paths per VPNv4 prefix.
Each PE advertises VPNv4 prefixes using unique RD and there are four route-reflectors to reflect the best
VPNv4 prefixes to all remote PEs. Then, the maximum number of VPNv4 prefixes can be imported are up
to 4 prefixes (one VPNv4 path per route-reflector). Remember, BGP peer advertises only the best path
per VPNv4 prefix independently the maximum-path command.
In this lab we have only two route-reflectors, so it can be imported up two VPNv4 prefixes onto BGP vrf
database. The next output shows the full bgp database and an explanation where the prefixes come from on
BGP vrf database.
July 10
A printed copy of this document is considered uncontrolled.
*>i10.33.31.8/30 172.17.0.7 0 100 0 ?
* i 172.17.0.7 0 100 0 ?
* i 172.17.0.6 144 100 0 ?
* i 172.17.0.6 144 100 0 ?
*> 10.40.31.0/30 10.40.31.6 96 32768 ?
* i 172.17.0.5 96 100 0 ?
* i 172.17.0.5 96 100 0 ?
*> 10.40.31.4/30 0.0.0.0 0 32768 ?
* i 172.17.0.5 144 100 0 ?
* i 172.17.0.5 144 100 0 ?
* i10.40.31.8/30 172.17.0.5 0 100 0 ?
* i 172.17.0.5 0 100 0 ?
*> 10.40.31.6 144 32768 ?
*>i172.17.8.51/32 172.17.0.6 49 100 0 ?
* i 172.17.0.6 49 100 0 ?
* i 172.17.0.7 97 100 0 ?
* i 172.17.0.7 97 100 0 ?
* i172.17.8.52/32 172.17.0.7 49 100 0 ?
*>i 172.17.0.7 49 100 0 ?
* i 172.17.0.6 97 100 0 ?
* i 172.17.0.6 97 100 0 ?
*> 172.17.8.83/32 10.40.31.6 49 32768 ?
* i 172.17.0.5 97 100 0 ?
* i 172.17.0.5 97 100 0 ?
Textblue
The bluetext
are are * i172.17.8.84/32 172.17.0.5 49 100 0 ?
prefixes
the prefixes * i 172.17.0.5 49 100 0 ?
advertised by RR1 *> 10.40.31.6 97 32768 ?
Route Distinguisher: 25135:133001805
*>i5.5.5.5/32 172.17.0.5 100 100 0 i
* i 172.17.0.5 100 100 0 i
*>i10.40.31.0/30 172.17.0.5 96 100 0 ?
* i 172.17.0.5 96 100 0 ?
*>i10.40.31.4/30 172.17.0.5 144 100 0 ? This Prefixes are
* i 172.17.0.5 144 100 0 ? from PE5‟s VPN
*>i10.40.31.8/30 172.17.0.5 0 100 0 ?
* i 172.17.0.5 0 100 0 ?
vrf. They were
*>i172.17.8.83/32 172.17.0.5 97 100 0 ? exported with RT
* i 172.17.0.5 97 100 0 ? 25135:18 value.
*>i172.17.8.84/32 172.17.0.5 49 100 0 ?
* i 172.17.0.5 49 100 0 ?
Route Distinguisher: 25135:133001806
*>i6.6.6.6/32 172.17.0.6 100 100 0 i
* i 172.17.0.6 100 100 0 i
*>i10.33.31.0/30 172.17.0.6 96 100 0 ?
* i 172.17.0.6 96 100 0 ? This Prefixes are
*>i10.33.31.4/30 172.17.0.6 0 100 0 ? from PE6‟s VPN
* i 172.17.0.6 0 100 0 ? vrf. They were
*>i10.33.31.8/30 172.17.0.6 144 100 0 ?
* i 172.17.0.6 144 100 0 ?
exported with RT
*>i172.17.8.51/32 172.17.0.6 49 100 0 ? 25135:18 value.
* i 172.17.0.6 49 100 0 ?
*>i172.17.8.52/32 172.17.0.6 97 100 0 ?
* i 172.17.0.6 97 100 0 ?
Route Distinguisher: 25135:133001807
* i7.7.7.7/32 172.17.0.7 100 100 0 i
The green text are *>i 172.17.0.7 100 100 0 i
the prefixes * i10.33.31.0/30 172.17.0.7 96 100 0 ?
advertised by RR2 *>i 172.17.0.7 96 100 0 ?
*>i10.33.31.0/24 172.17.0.7 0 100 0 1 i This Prefixes are
* i 172.17.0.7 0 100 0 1 i from PE7‟s VPN
* i10.33.31.4/30 172.17.0.7 144 100 0 ?
*>i 172.17.0.7 144 100 0 ?
vrf. They were
* i10.33.31.8/30 172.17.0.7 0 100 0 ? exported with RT
*>i 172.17.0.7 0 100 0 ? 25135:18 value.
* i172.17.8.51/32 172.17.0.7 97 100 0 ?
*>i 172.17.0.7 97 100 0 ?
* i172.17.8.52/32 172.17.0.7 49 100 0 ?
*>i 172.17.0.7 49 100 0 ?
July 10
A printed copy of this document is considered uncontrolled.
Where other prefixes in vrf VPN come from? They are generated locally (in PE-4) or they come from CE-
PE routing. If it is a non-BGP protocol it should be redistributed onto BGP. The local prefixes can be
identified by the next-hop value, it should be 0.0.0.0. The CE-PE prefixes are identified by the next-hop
information, which is OSPF neighbour ip address (10.40.31.6). It follows the OSPF prefixes:
PE-4# sh ip route vrf VPN ospf
Routing Table: VPN
172.17.0.0/32 is subnetted, 4 subnets
O 172.17.8.84 [110/97] via 10.40.31.6, 06:20:14, Serial2/0
O 172.17.8.83 [110/49] via 10.40.31.6, 06:20:14, Serial2/0
10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
O 10.40.31.8/30 [110/144] via 10.40.31.6, 06:20:14, Serial2/0
O 10.40.31.0/30 [110/96] via 10.40.31.6, 06:20:14, Serial2/0
July 10
A printed copy of this document is considered uncontrolled.
BGP routing table entry for 25135:133001806:10.33.31.0/30, version 706457
Bestpath Modifiers: missing-med-worst, always-compare-med, deterministic-med
Paths: (2 available, best #1, no table)
This Prefixes are from PE6‟s
Flag: 0x800 VPN vrf. They were exported
Not advertised to any peer with RT 25135:18 value.
Local
172.17.0.6 (metric 30) from 172.17.0.8 (172.17.0.8)
Origin incomplete, metric 96, localpref 100, valid, internal, best
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:6.6.6.6:512
Originator: 172.17.0.6, Cluster list: 0.0.0.1,
mpls labels in/out nolabel/47
Local
172.17.0.6 (metric 30) from 172.17.0.9 (172.17.0.9)
Origin incomplete, metric 96, localpref 100, valid, internal
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:6.6.6.6:512
Originator: 172.17.0.6, Cluster list: 0.0.0.1,
mpls labels in/out nolabel/47
BGP routing table entry for 25135:133001807:10.33.31.0/30, version 706467
Bestpath Modifiers: missing-med-worst, always-compare-med, deterministic-med
Paths: (2 available, best #2, no table)
Flag: 0x800
Not advertised to any peer
Local
172.17.0.7 (metric 630) from 172.17.0.8 (172.17.0.8)
Origin incomplete, metric 96, localpref 100, valid, internal, best
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:7.7.7.7:512
Originator: 172.17.0.7, Cluster list: 0.0.0.1,
mpls labels in/out nolabel/48
Local
172.17.0.7 (metric 630) from 172.17.0.9 (172.17.0.9)
Origin incomplete, metric 96, localpref 100, valid, internal
Extended Community: RT:25135:18 OSPF DOMAIN ID:0x0005:0x000000010200
RT:212.183.144.1:18 OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:7.7.7.7:512
Originator: 172.17.0.7, Cluster list: 0.0.0.1,
mpls labels in/out nolabel/48
This Prefixes are from
PE7‟s VPN vrf. They
PE-4# sh ip route vrf VPN 10.33.31.0
were exported with RT
Routing entry for 10.33.31.0/30 25135:18 value.
Known via "bgp 25135", distance 200, metric 96, type internal
BGP next-hop Redistributing via ospf 1
(remote PE) Advertised by ospf 1 metric 60 metric-type 1 subnets route-map vpn
Last update from 172.17.0.6 20:32:11 ago
Routing Descriptor Blocks:
* 172.17.0.6 (Default-IP-Routing-Table), from 172.17.0.8, 20:32:11 ago
Route metric is 96, traffic share count is 1 BGP neighbour which
AS Hops 0, BGP network version 0 adversited this prefix (RR1).
July 10
A printed copy of this document is considered uncontrolled.
MPLS/TE and FRR
July 10
A printed copy of this document is considered uncontrolled.
This packet will use two labels to cross the MPLS network, as shows above. This example is a VPN
service using a MPLS/TE backbone, so it is needed at least two labels: one for VPN and another for
MPLS/TE. How do we identify the labels? Which one is which?
PE-4# sh ip cef 172.17.0.7
172.17.0.7/32, version 102, epoch 0, cached adjacency to Tunnel3
0 packets, 0 bytes
RSVP Label, learnt via
tag information set, all rewrites owned RSVP neighbor
local tag: 22
fast tag rewrite with Tu3, point2point, tags imposed {58}
via 172.17.0.7, Tunnel3, 4 dependencies
next hop 172.17.0.7, Tunnel3
valid cached adjacency
tag rewrite with Tu3, point2point, tags imposed {58}
With one of these two commands (above - in Control Plane, below in Data Plane) you can verify that “58”
is the label for MPLS/TE.
July 10
A printed copy of this document is considered uncontrolled.
Is the path taking the right route?
Destination Interface
----------- ---------
172.17.0.5 Tunnel1
172.17.0.6 Tunnel2
172.17.0.7 Tunnel3
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip int bri | i Tunnel
Tunnel1 172.17.0.4 YES unset up up
Tunnel2 172.17.0.4 YES unset up up
Tunnel3 172.17.0.4 YES unset up up
Tunnel60000 172.17.0.4 YES unset up up
Tunnel60001 172.17.0.4 YES unset up up
Tunnel60002 172.17.0.4 YES unset up up
Tunnel60003 172.17.0.4 YES unset up up
4
Remember all subnet-network in the core (between Ps, PEs and P-PEs) are /30, then knowing the neighbour ip address,
you will know the local ip address.
July 10
A printed copy of this document is considered uncontrolled.
Checking if “MPLS traffic-eng” and “MPLS Traffic-eng auto-tunnel” are
Step 4.
enabled in all PEs and Ps
PE-4# sh mpl traffic-eng tunnels brief
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
auto-tunnel:
backup Enabled (4 ), id-range:60000-64000
onehop Disabled (0 ), id-range:65336-65435
mesh Enabled (3 ), id-range:1-999
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh clns protocol | i metrics
Generate narrow metrics: none
Accept narrow metrics: none
Generate wide metrics: level-1-2
Accept wide metrics: level-1-2
It verifies the metric style in use per ISIS level.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh isis data PE-4.00-00 verbo
IS-IS Level-2 LSP PE-4.00-00
LSPID LSP Seq Num LSP Checksum LSP Holdtime ATT/P/OL
PE-4.00-00 * 0x00000018 0x9B99 64183 0/0/0
Auth: Length: 17
Area Address: 10
NLPID: 0xCC
Hostname: PE-4
Router ID: 172.17.0.4
IP Address: 172.17.0.4
Metric: 10 IS-Extended P2.00
Affinity: 0x00000000
Interface IP Address: 172.19.24.2
Neighbor IP Address: 172.19.24.1
These figures show the amount
Physical BW: 2048 kbits/sec
of Bandwidth available after
Reservable Global Pool BW: 155000 kbits/sec reservation for this priority and
Global Pool BW Unreserved: lower.
[0]: 155000 kbits/sec, [1]: 155000 kbits/sec Because of “tunnel mpls
[2]: 155000 kbits/sec, [3]: 155000 kbits/sec traffic-eng auto-bw collect-
[4]: 154998 kbits/sec, [5]: 154998 kbits/sec bw” command applied under
interface tunnel configuration,
[6]: 154998 kbits/sec, [7]: 154998 kbits/sec
Instead of reserving the
Metric: 640 IS-Extended PE-5.00 maximum bandwidth
Affinity: 0x00000000 (100Kbits) it is reserved the
Interface IP Address: 172.19.45.1 amount of the traffic rate being
utilised per interface tunnel.
Neighbor IP Address: 172.19.45.2
PS.: high number means low priority.
Physical BW: 2048 kbits/sec
Reservable Global Pool BW: 155000 kbits/sec
Global Pool BW Unreserved:
[0]: 155000 kbits/sec, [1]: 155000 kbits/sec
[2]: 155000 kbits/sec, [3]: 155000 kbits/sec
[4]: 155000 kbits/sec, [5]: 155000 kbits/sec
[6]: 155000 kbits/sec, [7]: 155000 kbits/sec
Metric: 0 IP 172.17.0.4/32
Metric: 10 IP 172.19.24.0/30
Metric: 640 IP 172.19.45.0/30
July 10
A printed copy of this document is considered uncontrolled.
[0]: 155000 kbits/sec, [1]: 155000 kbits/sec
[2]: 155000 kbits/sec, [3]: 155000 kbits/sec
[4]: 154998 kbits/sec, [5]: 154998 kbits/sec
[6]: 154998 kbits/sec, [7]: 154998 kbits/sec
Sub Pool BW unreserved:
[0]: 0 kbits/sec, [1]: 0 kbits/sec These figures show the amount
of Bandwidth available after
[2]: 0 kbits/sec, [3]: 0 kbits/sec
reservation for this priority and
[4]: 0 kbits/sec, [5]: 0 kbits/sec lower.
[6]: 0 kbits/sec, [7]: 0 kbits/sec Because of “tunnel mpls
Affinity Bits: 0x00000000 traffic-eng auto-bw collect-
Link[2] bw” command applied under
Neighbor System ID: PE-5.00 (P2P link) interface tunnel configuration,
Instead of reserving the
Interface IP address: 172.19.45.1
maximum bandwidth
Neighbor IP Address: 172.19.45.2 (100Kbits) it is reserved the
Admin. Weight te: 640 igp: 640 amount of the traffic rate being
Physical BW: 2048 kbits/sec utilised per interface tunnel.
Reservable Global Pool BW: 155000 kbits/sec PS.: high number means low priority.
. . .
[output omitted]
ISIS-LSP related to TE parameters generated locally.
July 10
A printed copy of this document is considered uncontrolled.
Step 6. Checking RSVP status
PE-4# sh ip rsvp int
This value (bandwidth to be
interface rsvp allocated i/f max flow max sub max
considered in resource
Se0/0 ena 300K 155M 155M 0 reservation – “ip rsvp
Se1/0 ena 0 155M 155M 0 bandwidth” interface
Tu60000 ena 0 0 0 0 command) should be always
higher than the bandwidth
Tu60001 ena 0 0 0 0
configured on interface tunnel
Tu60002 ena 0 0 0 0 otherwise the reservation will
Tu60003 ena 0 0 0 0 fail for this physical interface.
Tu60004 ena 0 0 0 0
Both interfaces facing Core P routers are operational for RSVP. Interface S0/0 shows there is 200K of
bandwidth allocated, as all tunnels are requesting 100k of bandwidth, we can say there are three tunnels
using this resource.
PE-4# sh ip rsvp interface serial 0/0
interface rsvp allocated i/f max flow max sub max
Se0/0 ena 300K 155M 155M 0
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip rsvp installed | i (RSVP|100K)
RSVP: Serial0/0
100K 172.17.0.6 172.17.0.4 0 2 2518
100K 172.17.0.7 172.17.0.4 0 3 7463
RSVP: Serial1/0
100K 172.17.0.5 172.17.0.4 0 1 9437
RSVP: Tunnel60000 has no installed reservations
RSVP: Tunnel60001 has no installed reservations
RSVP: Tunnel60002 has no installed reservations
RSVP: Tunnel60003 has no installed reservations
July 10
A printed copy of this document is considered uncontrolled.
Label subobject: Flags 0x1, C-Type 1, Label 55
172.19.32.1/32, Flags:0x9 (Local Prot Avail/to NNHOP)
Label subobject: Flags 0x1, C-Type 1, Label 55
172.17.0.32/32, Flags:0x21 (Local Prot Avail/to NHOP, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 52
172.19.137.1/32, Flags:0x1 (Local Prot Avail/to NHOP)
Label subobject: Flags 0x1, C-Type 1, Label 52
172.17.0.7/32, Flags:0x20 (No Local Protection, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 0
172.19.137.2/32, Flags:0x0 (No Local Protection)
Label subobject: Flags 0x1, C-Type 1, Label 0
Status:
Policy: Accepted. Policy source(s): MPLS/TE
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip rsvp host receivers
To From Pro DPort Sport Next Hop I/F Fi Serv BPS
172.17.0.4 172.17.0.5 0 1 5507 none none SE LOAD 4K
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.6 0 1 7913 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.7 0 1 4927 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.2 0 60000 7495 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.5 0 60000 7515 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.3 0 60001 7496 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
172.17.0.4 172.17.0.31 0 60003 4670 none none SE LOAD 0
Mode(s): Host LSP-Tunnel
List of Tunnels where PE4 is a tail End
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip rsvp counters interface s1/0
Serial1/0 Recv Xmit Recv Xmit
Path 51 48 Resv 94 96
PathError 2 0 ResvError 0 13
PathTear 47 56 ResvTear 26 27
ResvConf 0 0 RTearConf 0 0
Ack 17893 17881 Srefresh 17782 17784
Hello 0 0 IntegrityChalle 0 0
IntegrityRespon 0 0 DSBM_WILLING 0 0
I_AM_DSBM 0 0 Errors 0 0
July 10
A printed copy of this document is considered uncontrolled.
First check:
Check if this is the destination
you want to analyse.
PE-4# sh mpl traffic-eng tunnels tunnel 1
Second check: Name: PE-4_t1 (Tunnel1) Destination: 172.17.0.5
Check the
Status:
status (up up).
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 1040)
Config Parameters:
Third check:
Check if the path is valid.
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/82153) 2 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
Last check:
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Check outLabel to track the LSP (also the
InLabel : - FRR information such as Interface number
OutLabel : Serial0/0, 51 and label.
FRR OutLabel : Tunnel60002, 59
RSVP Signalling Info:
Fourth check:
Src 172.17.0.4, Dst 172.17.0.5, Tun_Id 1, Tun_Instance 9719
Check if this is expected path (confirm
RSVP Path Info: checking the topology).
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.12.1 172.19.30.2 172.16.130.2
172.19.53.10 172.17.0.5
Record Route: NONE
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info: Fifth check:
Record Route: 172.17.0.2(51) 172.17.0.1(59) LSP labels end-to-end.
172.17.0.30(55) 172.17.0.31(43)
172.17.0.5(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 640 (TE)
Explicit Route: 172.19.45.2 172.17.0.5
History: Additional check:
Check how long this tunnel is
Tunnel:
operational and the last path
Time since created: 1 hours, 9 minutes changed.
Time since path change: 1 hours, 9 minutes
Number of LSP IDs (Tun_Instances) used: 2
Current LSP:
Uptime: 1 hours, 9 minutes
It shows if the tunnel is operational, if it is protected, the backup tunnel interface, the path selected
dynamically. Also the LSP label a long the path (from the source to destination).
Note the priority for primary tunnel is 4 4, as it is configured.
The priority of backup tunnel is 7 7 (lowest priority).
Another difference between primary and backup tunnels is the bandwidth request (100kbps for primary
tunnels as configured, and 0kbps for backup tunnels).
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpls traf topo igp-id isis 0000.0000.0004.00 | b 0000.0000.0002.00
link[0]: Point-to-Point, Nbr IGP Id: 0000.0000.0002.00, nbr_node_id:3, gen:39
frag_id 0, Intf Address:172.19.24.2, Nbr Intf Address:172.19.24.1
TE metric:10, IGP metric:10, attribute_flags:0x0
SRLGs: None
physical_bw: 2048 (kbps), max_reservable_bw_global: 155000 (kbps)
max_reservable_bw_sub: 0 (kbps)
Global Pool Sub Pool
Total Allocated Reservable Reservable
BW (kbps) BW (kbps) BW (kbps)
--------------- ----------- ----------
bw[0]: 0 155000 0
Bandwidth available after
bw[1]: 0 155000 0
reservation for this priority and
bw[2]: 0 155000 lower. 0
bw[3]: 0 155000 0
PS.: high number means low priority.
bw[4]: 300 154700 0
bw[5]: 0 154700 0
bw[6]: 0 154700 0
bw[7]: 0 154700 0
. . . [ output omitted ]
It shows the bandwidth reservation per interface, per priority.
PE-4# show mpls traffic-eng topology path tunnel 2
Query Parameters:
Destination: 172.17.0.7
Bandwidth: 100
Priorities: 4 (setup), 4 (hold)
Affinity: 0x0 (value), 0xFFFF (mask)
Query Results:
Min Bandwidth Along Path: 154800 (kbps)
Max Bandwidth Along Path: 154900 (kbps)
Hop 0: 172.19.45.1 : affinity 00000000, bandwidth 154900 (kbps)
Hop 1: 172.19.53.10 : affinity 00000000, bandwidth 154800 (kbps)
Hop 2: 172.19.131.1 : affinity 00000000, bandwidth 154800 (kbps)
Hop 3: 172.19.137.1 : affinity 00000000, bandwidth 154800 (kbps)
Hop 4: 172.17.0.7
It shows the path to reach the Tail end. In this case PE4 PE5 P31 P32 PE7
PE-4# sh mpl traffic-eng topology path destination 172.17.0.7
Query Parameters:
Destination: 172.17.0.7
Bandwidth: 0
Priorities: 0 (setup), 0 (hold)
Affinity: 0x0 (value), 0xFFFFFFFF (mask)
Query Results:
Min Bandwidth Along Path: 155000 (kbps)
Max Bandwidth Along Path: 155000 (kbps)
Hop 0: 172.19.24.2 : affinity 00000000, bandwidth 155000 (kbps)
Hop 1: 172.19.23.1 : affinity 00000000, bandwidth 155000 (kbps)
Hop 2: 172.16.36.1 : affinity 00000000, bandwidth 155000 (kbps)
Hop 3: 172.16.67.1 : affinity 00000000, bandwidth 155000 (kbps)
July 10
A printed copy of this document is considered uncontrolled.
Hop 4: 172.17.0.7
PE-4# show mpls traffic-eng autoroute
MPLS TE autorouting enabled
destination 0000.0000.0005.00, area isis level-2, has 1 tunnels
Tunnel1 (load balancing metric 20000000, nexthop 172.17.0.5)
(flags: Announce)
destination 0000.0000.0006.00, area isis level-2, has 1 tunnels
Tunnel3 (load balancing metric 20000000, nexthop 172.17.0.6)
(flags: Announce)
destination 0000.0000.0007.00, area isis level-2, has 1 tunnels
Tunnel2 (load balancing metric 20000000, nexthop 172.17.0.7)
(flags: Announce)
It shows tunnels that are announced to IGP, including interface, destination, and bandwidth. It refers
primary tunnels.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng tunnels role tail
LSP Tunnel P2_t60000 is signalled, connection is up
InLabel : Serial1/0, implicit-null
OutLabel : -
RSVP Signalling Info:
Src 172.17.0.2, Dst 172.17.0.4, Tun_Id 60000, Tun_Instance 52
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: NONE
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
LSP Tunnel P3_t60001 is signalled, connection is up
InLabel : Serial1/0, implicit-null
OutLabel : -
RSVP Signalling Info:
Src 172.17.0.3, Dst 172.17.0.4, Tun_Id 60001, Tun_Instance 52
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: NONE
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
. . . [ output omitted ]
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng link-management bandwidth-allocation serial 1/0
System Information::
Links Count: 2 It displays how many interfaces
Bandwidth Hold Time: max. 15 seconds
are enabled on RSVP.
Link ID:: Se1/0 (172.19.45.1)
Link Status:
SRLGs: None
Physical Bandwidth: 2048 kbits/sec
Max Res Global BW: 155000 kbits/sec (reserved: 0% in, 0% out)
Max Res Sub BW: 0 kbits/sec (reserved: 100% in, 100% out)
BW Descriptors: 1
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: allow-all It shows the threshold when a
Outbound Admission: allow-if-room new LSP will be generated and
Admin. Weight: 640 (IGP) flooded to whole backbone
IGP Neighbor Count: 1 area.
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 Global Pool Bandwidth Information (kbits/sec):
KEEP PRIORITY BW HELD BW TOTAL HELD BW LOCKED BW TOTAL LOCKED
0 0 0 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 0 0 100 100
5 0 0 0 100
6 0 0 0 100
7 0 0 0 100
Downstream Sub Pool Bandwidth Information (kbits/sec):
KEEP PRIORITY BW HELD BW TOTAL HELD BW LOCKED BW TOTAL LOCKED
0 0 0 0 0 global pool.
“G” means
Total of the . . . [ output omitted ] “R” means bandwidth is
tunnels this router reserved.
is aware of. “H” means bandwidth is
PE-4# sh mpl traffic-eng link-management admission-control temporarily being held
System Information:: Upstream interface for a path message.
T Tunnels Count: 36
Downstream interface
Tunnels Selected: 36
TUNNEL ID UP IF DOWN IF PRIORITY STATE BW (kbps)
172.17.0.1 60001_78 Se0/0 Se1/0 7/7 Resv Admitted 0 G
. . . [ output omitted ]
172.17.0.3 60001_52 Se1/0 - 7/7 Resv Admitted 0 G
Tunnel id: <Head- 172.17.0.3 60002_58 Se0/0 Se1/0 7/7 Resv Admitted 0 G
end IP address> +
<tunnel #>_<id>. 172.17.0.3 60003_58 Se0/0 Se1/0 7/7 Resv Admitted 0 G
172.17.0.4 1_9721 - Se1/0 4/4 Resv Admitted 100 RG
172.17.0.4 2_1367 - Se0/0 4/4 Resv Admitted 100 RG
. . . [ output omitted ]
Backup tunnel does not allocate bandwidth. Only the primary tunnel interface requests bandwidth.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng link-management advertisements
Flooding Status: ready
Configured Areas: 1
IGP Area[1] ID:: isis level-2
System Information::
Flooding Protocol: ISIS
Header Information::
IGP System ID: 0000.0000.0004.00
MPLS TE Router ID: 172.17.0.4
Flooded Links: 2
Link ID:: 0
Link Subnet Type: Point-to-Point
Link IP Address: 172.19.24.2
IGP Neighbor: ID 0000.0000.0002.00, IP 172.19.24.1
TE metric: 10
IGP metric: 10
SRLGs: None
These figures should match with
Physical Bandwidth: 2048 kbits/sec
“show mpls traffic-eng topology
Res. Global BW: 155000 kbits/sec igp-id isis <system-id>.00
Res. Sub BW: 0 kbits/sec command output.
Downstream::
Global Pool Sub Pool
----------- ----------
Reservable Bandwidth[0]: 155000 0 kbits/sec
Reservable Bandwidth[1]: 155000 0 kbits/sec
Reservable Bandwidth[2]: 155000 0 kbits/sec
Reservable Bandwidth[3]: 155000 0 kbits/sec
Reservable Bandwidth[4]: 154800 0 kbits/sec
Reservable Bandwidth[5]: 154800 0 kbits/sec
Reservable Bandwidth[6]: 154800 0 kbits/sec
Reservable Bandwidth[7]: 154800 0 kbits/sec
Attribute Flags: 0x00000000
Link ID:: 1
Link Subnet Type: Point-to-Point
Link IP Address: 172.19.45.1
IGP Neighbor: ID 0000.0000.0005.00, IP 172.19.45.2
TE metric: 640
IGP metric: 640
SRLGs: None
Physical Bandwidth: 2048 kbits/sec
Res. Global BW: 155000 kbits/sec
Res. Sub BW: 0 kbits/sec
Downstream::
. . . [ output omitted ]
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng link-management igp-neighbors
Link ID:: Se0/0
Neighbor ID: 0000.0000.0002.00 (area: isis level-2, IP: 172.19.24.1)
Link ID:: Se1/0
Neighbor ID: 0000.0000.0005.00 (area: isis level-2, IP: 172.19.45.2)
It shows MPLS-TE ISIS neighbours.
July 10
A printed copy of this document is considered uncontrolled.
If the state is “active” means
the primary tunnel is down and N-Nhop means Link
Step 8. FAST REROUTE CHECKING protection.
the backup is being used.
PE-4# sh ip rsv fast-reroute
Primary Protect BW Backup
Tunnel I/F BPS:Type Tunnel:Label State Level Type
------ ------- -------- ------------- ------ ----- ------
PE-4_t1 Se0/0 100K:G Tu60003:56 Ready any-unl N-Nhop
PE-4_t2 Se0/0 100K:G Tu60002:41 Ready any-unl N-Nhop
PE-4_t3 Se0/0 100K:G Tu60002:42 Ready any-unl N-Nhop
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng tunnels tunnel 60002
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip rsv fast-reroute detail filter dest 172.17.0.7 source 172.17.0.4
PATH:
Tun Dest: 172.17.0.7 Tun ID: 3 Ext Tun ID: 172.17.0.4
Tun Sender: 172.17.0.4 LSP ID: 7169
Path refreshes:
sent: to NHOP 172.19.24.1 on Serial0/0
Session Attr:
Setup Prio: 4, Holding Prio: 4
Flags: (0x7) Local Prot desired, Label Recording, SE Style
Session Name: PE-4_t3
ERO: (incoming)
172.17.0.4 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.24.1 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.23.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.32.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.137.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.17.0.7 (Strict IPv4 Prefix, 8 bytes, /32)
ERO: (outgoing)
172.19.24.1 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.23.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.32.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.19.137.2 (Strict IPv4 Prefix, 8 bytes, /32)
172.17.0.7 (Strict IPv4 Prefix, 8 bytes, /32)
RRO:
Empty
Traffic params - Rate: 100K bits/sec, Max. burst: 1K bytes
Min Policed Unit: 0 bytes, Max Pkt Size 4294967295 bytes
Fast-Reroute Backup info:
Inbound FRR: Not active
Outbound FRR: Ready -- backup tunnel selected
Backup Tunnel: Tu60002 (label 42)
Bkup Sender Template:
Tun Sender: 172.19.45.1 LSP ID: 7169
Bkup FilerSpec:
Tun Sender: 172.19.45.1, LSP ID: 7169
Path ID handle: 03000420.
Incoming policy: Accepted. Policy source(s): MPLS/TE
Status: Proxied
Output on Serial0/0. Policy status: Forwarding. Handle: 0200041E
Policy source(s): MPLS/T
It shows if the backup tunnel is in used (if yes mean there is a physical link failure).
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng fast-reroute database
Tunnel head end item frr information:
Protected tunnel In-label Out intf/label FRR intf/label Status
Tunnel3 Tun hd Se0/0:Untagged Tu60002:42 ready
Tunnel2 Tun hd Se0/0:Untagged Tu60002:41 ready
Tunnel1 Tun hd Se0/0:Untagged Tu60003:56 ready
July 10
A printed copy of this document is considered uncontrolled.
AToM
PE-4# sh mpl l2transport binding 100
Destination Address: 172.17.0.7, VC ID: 100
Local Label: 49
Cbit: 1, VC Type: HDLC, GroupID: 0
MTU: 1500, Interface Desc: >>>> link to CE1
VCCV Capabilities: Type 1, Type 2
Remote Label: 50
Cbit: 1, VC Type: HDLC, GroupID: 0
MTU: 1500, Interface Desc: >>>> link to CE4
VCCV Capabilities: Type 1, Type 2
It displays the status of vc-id 100.
PE-4# sh mpl l2transport binding 172.17.0.7
Destination Address: 172.17.0.7, VC ID: 100
Local Label: 49
Cbit: 1, VC Type: HDLC, GroupID: 0
MTU: 1500, Interface Desc: >>>> link to CE1
VCCV Capabilities: Type 1, Type 2
Remote Label: 50
Cbit: 1, VC Type: HDLC, GroupID: 0
MTU: 1500, Interface Desc: >>>> link to CE4
VCCV Capabilities: Type 1, Type 2
July 10
A printed copy of this document is considered uncontrolled.
Tracing a LSP end to end
Firstly we will check will is the path taken from CE-1 to reach CE-4.
CE-1# trace 172.17.8.52
Type escape sequence to abort.
Tracing the route to 172.17.8.52
1 10.40.31.5 20 msec 20 msec 24 msec
2 172.19.24.1 28 msec 36 msec 12 msec
3 172.19.31.2 28 msec 20 msec 32 msec
4 172.19.131.2 20 msec 20 msec 20 msec
5 10.33.31.9 20 msec 20 msec 20 msec
LDP or RSVP label for
6 10.33.31.10 20 msec * 20 msec LSP tunnel from PE4- to
This path is: CE-1 PE4 P2 P31 P32 PE7 CE-4 PE7.
Let‟s check this from PE4.
PE-4# trace vrf VPN 10.33.31.10
VPN label (learn
Type escape sequence to abort. via MP-BGP
Tracing the route to 10.33.31.10
1 172.19.24.1 [MPLS: Labels 43/49 Exp 0] 40 msec 40 msec 32 msec
2 172.19.31.2 [MPLS: Labels 40/49 Exp 0] 48 msec 40 msec 28 msec
3 172.19.131.2 [MPLS: Labels 37/49 Exp 0] 40 msec 36 msec 32 msec
4 172.19.137.2 [MPLS: Labels 49 Exp 0] 40 msec 36 msec 32 msec
5 10.33.31.9 44 msec 40 msec 40 msec
P1
IP 43 49 IP
P30
40 49 IP
37 49 IP 49 IP IP
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip bgp vpn all labels | i 10.33.31.8
10.33.31.8/30 172.17.0.7 nolabel/49
10.33.31.8/30 172.17.0.7 nolabel/49
Let‟s check the RSVP label or LDP label. The label which builds up a LSP tunnel from PE-4 to PE7. In
this particular case the LSP is built up based on the VPNv4 next-hop, which is 172.17.0.7. You find this
information on “sh ip bgp vpn all labels | i 10.33.31.8” output command.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip cef 172.17.0.7 detail
172.17.0.7/32, version 41, epoch 0, cached adjacency to Tunnel3
0 packets, 0 bytes
tag information set, shared, all rewrites owned
local tag: 27
fast tag rewrite with Tu3, point2point, tags imposed {43}
via 172.17.0.7, Tunnel3, 3 dependencies
next hop 172.17.0.7, Tunnel3
valid cached adjacency
tag rewrite with Tu3, point2point, tags imposed {43}
This output says the exit interface is Tunnel3, which means the label learnt here is from RSVP.
PE-4# sh mpl traf tun tun 3
Name: PE-4_t3 (Tunnel3) Destination: 172.17.0.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 630)
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/63578) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
This is the RSVP
OutLabel : Serial0/0, 43
label.
FRR OutLabel : Tunnel60002, 40
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 3, Tun_Instance 5407
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.31.2 172.19.131.2 172.19.137.2
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(43) 172.19.31.1(43)
172.17.0.31(40) 172.19.131.1(40)
With this command you
172.17.0.32(37) 172.19.137.1(37) can also get the LSP
172.17.0.7(0) 172.19.137.2(0) tunnel from PE-4 to PE-
[output ommitted] 7. This set of label
should match with the
output shown in
You can also get the RSVP label from the following command: traceroute 2 page before.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip rsvp reservation detail filter destination 172.17.0.7
Reservation:
Tun Dest: 172.17.0.7 Tun ID: 3 Ext Tun ID: 172.17.0.4
Tun Sender: 172.17.0.4 LSP ID: 5407
Next Hop: 172.19.24.1 on Serial0/0
Label: 43 (outgoing)
Reservation Style is Shared-Explicit, QoS Service is Controlled-Load
Resv ID handle: 01000445.
Created: 09:09:13 UTC Fri Jul 13 2007
Average Bitrate is 100K bits/sec, Maximum Burst is 1K bytes
Min Policed Unit: 0 bytes, Max Pkt Size: 0 bytes
RRO:
172.17.0.2/32, Flags:0x20 (No Local Protection, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 43
172.19.31.1/32, Flags:0x0 (No Local Protection)
Label subobject: Flags 0x1, C-Type 1, Label 43
172.17.0.31/32, Flags:0x20 (No Local Protection, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 40
172.19.131.1/32, Flags:0x0 (No Local Protection)
Label subobject: Flags 0x1, C-Type 1, Label 40
172.17.0.32/32, Flags:0x20 (No Local Protection, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 37
172.19.137.1/32, Flags:0x0 (No Local Protection)
Label subobject: Flags 0x1, C-Type 1, Label 37
172.17.0.7/32, Flags:0x20 (No Local Protection, Node-id)
Label subobject: Flags 0x1, C-Type 1, Label 0
172.19.137.2/32, Flags:0x0 (No Local Protection)
Label subobject: Flags 0x1, C-Type 1, Label 0
Status:
Policy: Accepted. Policy source(s): MPLS/TE
Let‟s go to the next router in this path, which is P2 (172.19.24.2). As P2 told to PE4 (via RSVP) to use
label 43, then we will look up in LFIB an incoming label 43 (figure in the first column of the output).
P2# sh mpl forwarding-table | i 43
30 20 172.17.0.8/32 608143 Se0/0 point2point
43 40 172.17.0.4 3 [5407] 484533 Se2/0 point2point
Incoming Let‟s to the same for the next hop, which is P31 (172.19.31.2).
label.
P31# sh mpl forwarding-table | i 40
31 16 172.17.0.4/32 336408 Se2/0 point2point
40 37 172.17.0.4 3 [5407] 486261 Se1/0 point2point
Outgoing
label.
July 10
A printed copy of this document is considered uncontrolled.
Because P32 is the
PHP, we will have
here a pop tag
(explicit-null).
Let‟s to the same for the next hop, which is P32 (172.19.131.2).
P32# sh mpl forwarding-table | i 37
37 Pop tag 172.17.0.4 3 [5407] 463873 Se3/0 point2point
41 38 172.17.0.5 2 [3337] 0 Se2/0 point2point
42 37 172.17.0.7 1 [2002] 0 Se1/0 point2point
54 56 172.17.0.7 2 [9988] 73748 Se2/0 point2point
Conclusion: the LSP tunnel created from PE4 to PE7 is 43 40 37 explicit null.
As this is using the Traffic engineer tunnel all these labels were learnt/propagated via RSVP.
July 10
A printed copy of this document is considered uncontrolled.
TM
July 10
A printed copy of this document is considered uncontrolled.
Troubleshooting Scenarios
Describe what would happen when the fault is fixed. As an example we will concentrate in only one
primary tunnel which has as a Head End PE4 and tail End PE7.
Mis-configuration
ISIS metrics
July 10
A printed copy of this document is considered uncontrolled.
Checking in the diagram if this route is the expect path: PE4 P2 P3 PE6 PE7.
P1
Head End Middle Points
Point
PE4 P2 P3 PE6
July 10
A printed copy of this document is considered uncontrolled.
Verify the Path used for this backup tunnel: PE4 PE5 P31 P32 PE7 PE6.
Node Protected
for this tunnel P1
PE-4 – T60002 Next-Next -Hop
PE4 P2 P3 PE6
P30
Is this path expected? Why the cSPF algorithm chose this path? Let‟s check the ISIS metric for this path.
July 10
A printed copy of this document is considered uncontrolled.
Serial2/0 is up, line protocol is up
Level-2 Metric: 1000, Priority: 64, Circuit ID: P31.02
Level-2 IPv6 Metric: 10
Serial3/0 is up, line protocol is up
Level-2 Metric: 10, Priority: 64, Circuit ID: P31.03
Level-2 IPv6 Metric: 10
Serial4/0 is up, line protocol is down
Level-2 Metric: 10, Priority: 64, Circuit ID: P31.04
Level-2 IPv6 Metric: 10
Loopback0 is up, line protocol is up
Tunnel60000 is up, line protocol is up
Tunnel60001 is up, line protocol is up
Tunnel60002 is up, line protocol is up
Tunnel60003 is up, line protocol is up
July 10
A printed copy of this document is considered uncontrolled.
Step 5. Identify the backup tunnels, link protect between P2 and P3
P2# sh mpls traffic-eng tunnels backup | i Tunnel|Se1/0
LSP Head, Tunnel60000, Admin: up, Oper: up
LSP Head, Tunnel60001, Admin: up, Oper: up
LSP Head, Tunnel60002, Admin: up, Oper: up
Protected i/fs: Se1/0
LSP Head, Tunnel60003, Admin: up, Oper: up
Protected i/fs: Se1/0
Serial1/0 interface is the link between P2 and P3. This output shows two backup tunnel for Serial 1/0
interface. Next command will clarify the type of these backup tunnels (NHOP or NNHOP),
P2# sh mpl traffic-eng tunnels tun 60003 backup
P2_t60003
LSP Head, Tunnel60003, Admin: up, Oper: up
Src 172.17.0.2, Dest 172.17.0.6, Instance 7498
Fast Reroute Backup Provided:
Protected i/fs: Se1/0
Protected lsps: 2
Backup BW: any pool unlimited; inuse: 200 kbps
P2# sh mpl traffic-eng tunnels tun 60002 backup
P2_t60002
LSP Head, Tunnel60002, Admin: up, Oper: up
Src 172.17.0.2, Dest 172.17.0.3, Instance 1
Fast Reroute Backup Provided:
Protected i/fs: Se1/0
Protected lsps: 0
Backup BW: any pool unlimited; inuse: 0 kbps
Do the same for the rest of the hops to identify the backup tunnels (link and node protection) along the path
from PE4 toward PE7.
Step 6. After changing the ISIS metrics between rings from 1000 to 600 (among Ps only)
PE-4# sh mpl traffic auto-tunn mesh | i 172.17.0.7
172.17.0.7 Tunnel3
This output confirm primary tunnel which is being used to reach 172.17.0.7.
PE-4# sh mpl traffic-eng tunnels tunnel 3 | b Explicit Route
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.2
172.17.0.7
Record Route: NONE
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(65) 172.17.0.3(55)
172.17.0.32(67) 172.17.0.7(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 630 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.2
172.17.0.7
. . . [ output omitted ]
July 10
A printed copy of this document is considered uncontrolled.
Checking in the diagram in this route the expect path: PE4 P2 P3 P32 PE7.
P1
Head End
PE4 P2 P3 PE6
Middle Points
Point P30 Tail End
P30
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl traffic-eng tunnels backup | i Tunnel|172.17.0.2
LSP Head, Tunnel60000, Admin: up, Oper: up
LSP Head, Tunnel60001, Admin: up, Oper: up
Src 172.17.0.4, Dest 172.17.0.2, Instance 186
LSP Head, Tunnel60002, Admin: up, Oper: up
LSP Head, Tunnel60003, Admin: up, Oper: up
LSP Head, Tunnel60004, Admin: up, Oper: up
This filter on the command shows straight way what is the backup tunnel for the link between PE4 and P2.
To identify you should have Destination IP address P2‟s loopback, which means NHOP tunnel.
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
RSVP bandwidth
July 10
A printed copy of this document is considered uncontrolled.
We can manually force the router recalculates all constraint path. We DO NOT recommend using this
command in life network, especially in critical hours. This makes all primary tunnels go down for a
couple a minutes.
PE-4# clear mpls traffic-eng auto-tunnel mesh
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpl tra tu t3
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 680)
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/67664) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Serial1/0, 55
FRR OutLabel : Tunnel60004, 52
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 3, Tun_Instance 2204
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.45.2 172.19.53.9 172.16.130.1 172.16.132.2
172.19.137.2 172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.5(55) 172.19.53.10(55)
172.17.0.31(52) 172.16.130.2(52)
172.17.0.30(50) 172.16.132.1(50)
172.17.0.32(48) 172.19.137.1(48)
172.17.0.7(0) 172.19.137.2(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 630 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.2
172.17.0.7
History:
Tunnel:
Time since created: 5 hours, 13 minutes
Time since path change: 6 seconds
Number of LSP IDs (Tun_Instances) used: 7
Current LSP:
Uptime: 6 seconds
Selection: reoptimization
Prior LSP:
ID: path option 1 [2198]
Removal Trigger: path error
Checking the next path: PE4 PE5 P31 P30 P32 P7
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
Let‟s check the RSVP status in P2 and P31.
P2# sh ip rsvp int S0/0 does NOT have
interface rsvp allocated i/f max flow max sub max bandwidth for RSVP
Se0/0 ena 0 0 0 0 reservation.
Se1/0 ena 100K 100K 100K 0
S1/0 and S2/0 have full
Se2/0 ena 100K 100K 100K 0
filled all bandwidth
Se3/0 ena 300K 155M 155M 0 capacity for RSVP.
Tu60000 ena 0 0 0 0
Tu60001 ena 0 0 0 0 So, there is not a
Tu60002 ena 0 0 0 0
bandwidth capacity
available for RSVP
Tu60003 ena 0 0 0 0
reservation when
Tu60004 ena 0 0 0 0
tunnel 3 has requested.
Tu60005 ena 0 0 0 0
Tu60006 ena 0 0 0 0 S0/0 connects to P1
which does not have
P2# sh ip rsvp installed
RSVP enabled.
RSVP: Serial0/0 has no installed reservations S1/0 connects to P3 and
RSVP: Serial1/0 has 100k bandwidth
BPS To From Protoc DPort Sport allocated.
0 172.17.0.3 172.17.0.1 0 60000 1 S2/0 connects to P31 and
0 172.17.0.3 172.17.0.31 0 60005 1 has 100k bandwidth
100K 172.17.0.6 172.17.0.4 0 2 8822 allocated.
0 172.17.0.7 172.17.0.31 0 60004 1
0 172.17.0.32 172.17.0.5 0 60004 1
RSVP: Serial2/0
BPS To From Protoc DPort Sport
0 172.17.0.4 172.17.0.2 0 60000 1
100K 172.17.0.5 172.17.0.6 0 3 9469
0 172.17.0.5 172.17.0.4 0 60000 20
0 172.17.0.5 172.17.0.2 0 60001 1
0 172.17.0.6 172.17.0.2 0 60003 2249
0 172.17.0.31 172.17.0.5 0 60002 1
0 172.17.0.31 172.17.0.4 0 60004 1
0 172.17.0.31 172.17.0.7 0 60004 1
0 172.17.0.32 172.17.0.2 0 60006 2141
RSVP: Serial3/0
BPS To From Protoc DPort Sport
100K 172.17.0.4 172.17.0.5 0 1 3666
100K 172.17.0.4 172.17.0.6 0 2 514
100K 172.17.0.4 172.17.0.7 0 2 5455
0 172.17.0.4 172.17.0.5 0 60000 27
0 172.17.0.5 172.17.0.31 0 60000 1
. . . [ output omitted ]
After correct the RSVP in P2 and P31. Only after the optimization timer has expired, an new path
was estabilished. The new Path is PE4 P2 P3 P32 PE7
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh mpls traff tu tu3
Name: PE-4_t3 (Tunnel3) Destination: 172.17.0.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 630)
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/64526) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Serial0/0, 50
FRR OutLabel : Tunnel60002, 42
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 3, Tun_Instance 2206
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.2
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(50) 172.19.23.1(50)
172.17.0.3(42) 172.19.32.1(42)
172.17.0.32(50) 172.19.137.1(50)
172.17.0.7(0) 172.19.137.2(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 630 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.2
172.17.0.7
History:
Tunnel:
Time since created: 6 hours, 5 minutes
Time since path change: 1 minutes, 38 seconds
Number of LSP IDs (Tun_Instances) used: 11
Current LSP:
Uptime: 1 minutes, 41 seconds
Selection: reoptimization
Prior LSP:
ID: path option 1 [2204]
Removal Trigger: reoptimization completed
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
ISIS disabled for TE
PE-4# sh mpl tra tu tu3
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/63952) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Again, the Tunnel 3 is
not using the best path
InLabel : - we would expect.
OutLabel : Serial1/0, 53
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 3, Tun_Instance 2217
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.45.2 172.19.53.9 172.19.131.2 172.19.137.2
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.5(53) 172.19.53.10(53)
172.17.0.31(41) 172.19.131.1(41)
172.17.0.32(53) 172.19.137.1(53)
172.17.0.7(0) 172.19.137.2(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 670 (TE)
Explicit Route: 172.19.45.2 172.19.53.9 172.19.131.2 172.19.137.2
172.17.0.7
History:
Tunnel:
Time since created: 6 hours, 15 minutes
Time since path change: 54 seconds Look at this time, the
unconstrained Path
Number of LSP IDs (Tun_Instances) used: 21
Info does NOT show
Current LSP:
the path we would
Uptime: 57 seconds
expect either. This
Selection: reoptimization could be a sign at least
Prior LSP: one of the routers in
ID: path option 1 [2206] the BEST path has not
Removal Trigger: re-route path verification failed ISIS enabled for TE.
July 10
A printed copy of this document is considered uncontrolled.
Let‟s check the status in P2.
P2# sh ip rsvp int
interface rsvp allocated i/f max flow max sub max
Se0/0 ena 0 155M 155M 0
Se1/0 ena 0 155M 155M 0
Se2/0 ena 0 155M 155M 0
Se3/0 ena 0 155M 155M 0
Tu60000 ena 0 0 0 0
Tu60001 ena 0 0 0 0
Tu60002 ena 0 0 0 0
Tu60003 ena 0 0 0 0
Tu60004 ena 0 0 0 0
Tu60005 ena 0 0 0 0
Tu60006 ena 0 0 0 0
MPLS TE is disabled
Another reason interface tunnel 3 is not using P2 as a path could be MPLS/TE is not enabled in P2. In case
you should get the following outputs.
P2# sh mpl int
Interface IP Tunnel Operational
Serial0/0 Yes (ldp) Yes Yes
Serial1/0 Yes (ldp) Yes Yes
Serial2/0 Yes (ldp) Yes Yes
Serial3/0 Yes (ldp) Yes Yes
This command do not show if MPLS/TE is enabled or not. This message indicates
P2# sh mpl traffic-eng tunnels summary that mpls traffic-eng
Signalling Summary: global command is not
LSP Tunnels Process: not running, disabled enabled in this router.
RSVP Process: running
Forwarding: enabled
Head: 7 interfaces, 0 active signalling attempts, 0 established
22 activations, 22 deactivations
Midpoints: 0, Tails: 0
auto-tunnel:
backup Enabled (7 ), id-range:60000-64000
onehop Disabled (0 ), id-range:65336-65435
mesh Enabled (0 ), id-range:1-999
. . . [ output omitted ]
As MPLS traffic-eng is not enabled globally, the ISIS will NOT be to create the constraint links.
P2# sh isis mpl traffic-eng advertisements
System ID: P2.00
Router ID: 172.17.0.2
Link Count: 0
July 10
A printed copy of this document is considered uncontrolled.
Some MPLS and MPLS/VPN issues
July 10
A printed copy of this document is considered uncontrolled.
CE prefixes are in FIB vrf but not in BGP vrf database
Possible cause: CE-PE routing prefixes are not redistributed under BGP address-family vrf.
July 10
A printed copy of this document is considered uncontrolled.
PE-4# sh ip bgp vpn vrf VPN
BGP table version is 527, local router ID is 172.17.0.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
July 10
A printed copy of this document is considered uncontrolled.
In case there is not any vrf importing this RT it will not be any VPNv4 prefixes BGP global database. In
this lab we have only one VRF which is exporting and importing the same route-target: 212.183.144.1:18 and
25135:18. Without any import the BGP global database will be empty even those the RRs are advertising all VPNv4
prefixes.
July 10
A printed copy of this document is considered uncontrolled.
Route-reflector is not advertising VPNv4 prefixes
Possible cause: Local PE has inbound filtering denying all VPNv4 prefixes.
Route-reflector does not have route-reflector-client assigned to the neighbour.
Route-reflector is not learning VPNv4 prefixes from other remote PEs.
July 10
A printed copy of this document is considered uncontrolled.
PE Node Failure
If the destination PE failure the primary tunnel can not be established, then this will affect the services
MPLS/VPN and AToM.
Status before PE-7 failures: Loopback 0 of CE-4
CE-1# sh ip route 172.17.8.52
Routing entry for 172.17.8.52/32
Known via "ospf 1", distance 110, metric 108, type inter area
Last update from 10.40.31.5 on Serial1/0, 00:25:58 ago
Routing Descriptor Blocks:
* 10.40.31.5, from 4.4.4.4, 00:25:58 ago, via Serial1/0
Route metric is 108, traffic share count is 1
July 10
A printed copy of this document is considered uncontrolled.
Tunnel which destines to
PE7 is down.
PE-4# sh ip int bri
Interface IP-Address OK? Method Status
Protocol
Serial0/0 172.19.24.2 YES NVRAM up up
Serial1/0 172.19.45.1 YES NVRAM up up
Serial2/0 10.40.31.5 YES NVRAM up up
Auto-Template1 172.17.0.4 YES unset up up
Loopback0 172.17.0.4 YES NVRAM up up
Loopback1 4.4.4.4 YES NVRAM up up
Tunnel1 172.17.0.4 YES unset up up
Tunnel2 172.17.0.4 YES unset up up
Tunnel3 172.17.0.4 YES unset up down
Tunnel60000 172.17.0.4 YES unset up up
Tunnel60001 172.17.0.4 YES unset up up
Tunnel60002 172.17.0.4 YES unset up up
CE-1# ping
Protocol [ip]:
Target IP address: 172.17.8.52
Repeat count [5]: 10000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 172.17.8.52, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
. . . [ output omitted ]
Success rate is 99 percent (9998/10000), round-trip min/avg/max = 8/22/440 ms
Two packets were lost. However in real lab scenario there is not packet loss.
July 10
A printed copy of this document is considered uncontrolled.
RR Node Failure
This case of failure will not affect TE as the Destination tunnel IP addresses are learnt via ISIS.
Status before RR failure:
PE-4# sh ip route vrf VPN 172.17.8.52
Routing entry for 172.17.8.52/32
Known via "bgp 25135", distance 200, metric 49, type internal
Redistributing via ospf 1
Advertised by ospf 1 metric 60 metric-type 1 subnets route-map vpn RR1
Last update from 172.17.0.7 00:01:16 ago
Routing Descriptor Blocks:
* 172.17.0.7 (Default-IP-Routing-Table), from 172.17.0.8, 00:01:16 ago
Route metric is 49, traffic share count is 1
AS Hops 0, BGP network version 0
July 10
A printed copy of this document is considered uncontrolled.
The following failure scenarios were created based on lab topology as per Figure 12 in page 140.
Link Failure
Checking the status before failures:
PE4-PEXKS01#sh mpls traffic-en auto-tunnel mesh | i 172.17.0.7
172.17.0.7 Tunnel2
In this case, the primary tunnel from PE4 to PE7 is tunnel 2.
PE4-PEXKS01# sh mpl traffic-eng tun tun 2
Tunnel
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Operational
Time source is NTP, 11:53:53.019 GMT Fri Mar 2 2007 and Path
Name: PE4-PEXKS01_t2 (Tunnel2) Destination: 172.17.0.7 Valid
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 1401)
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/84510) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 82
FRR OutLabel : Tunnel60006, 112
Path: PE4 P2P3P32PE7
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3069
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(82) 172.19.23.1(82) Check these labels with
172.17.0.3(112) 172.19.32.1(112) trace mpls traffic-eng
172.17.0.32(112) 172.19.137.2(112) command.
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 23 hours, 24 minutes
Time since path change: 27 minutes, 56 seconds
Number of LSP IDs (Tun_Instances) used: 2831
Current LSP:
Uptime: 27 minutes, 56 seconds
Prior LSP:
ID: path option 1 [3062]
Removal Trigger: path option updated
July 10
A printed copy of this document is considered uncontrolled.
Verifying the data path:
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl traf tu tu 60006
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 11:59:45.383 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/3, 249
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.3, Tun_Id 60006, Tun_Instance 1
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.32.1
172.17.0.3
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: 680 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.17.0.3
History:
Tunnel:
Time since created: 37 minutes, 37 seconds
Time since path change: 37 minutes, 11 seconds
Number of LSP IDs (Tun_Instances) used: 1
Current LSP:
Uptime: 37 minutes, 11 seconds
Backup tunnel path: PE4 PE4 P31 P32 P3
Checking in the diagram in this route the expect path: PE4 PE5 P31 P32 P3.
Node Protected P1
Next-Next -Hop
for this tunnel
PE-4 – T60006
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
2nd checking:
Status did NOT
Link failure between P2 and PE4: change!
PE4-PEXKS01# sh mpl traff tun tu 2
Load for five secs: 1%/0%; one minute: 1%; five minutes: 0%
Time source is NTP, 12:05:02.097 GMT Fri Mar 2 2007
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
PE4 P2 P3 PE6
P30
The final destination of backup tunnel is P3. So, P3 is the rendezvous point between backup tunnel and the
original path of primary tunnel after the failure.
A couple of seconds later the primary tunnel has the new path.
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl traff tun tu 2
Load for five secs: 1%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 12:06:33.772 GMT Fri Mar 2 2007
Name: PE4-PEXKS01_t2 (Tunnel2) Destination: 172.17.0.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 1960)
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Tunnel NEVER
Metric Type: TE (default) went down.
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/83749) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/3, 25 New path
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3148
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info: New LSP labels
Record Route: 172.17.0.5(25) 172.19.53.9(25) – Check with
172.17.0.31(81) 172.16.131.1(81) previous
172.17.0.32(86) 172.19.137.2(86) command (trace
172.17.0.7(0) 172.19.137.1(0) mpls traffic-
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits eng).
Shortest Unconstrained Path Info:
Path Weight: 1960 (TE)
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.137.1
172.17.0.7
History:
Tunnel: Tunnel NEVER
Time since created: 23 hours, 37 minutes went down.
Time since path change: 1 minutes, 29 seconds These figures
Number of LSP IDs (Tun_Instances) used: 2856 can prove only
Current LSP: the path has
Uptime: 1 minutes, 32 seconds changed.
Selection: reoptimization
Prior LSP:
ID: path option 1 [3069]
Removal Trigger: re-route path error
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
Link failure between P2 and P3
PE4-PEXKS01# sh mpl traff tun tu 2
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 12:27:15.007 GMT Fri Mar 2 2007
Name: PE4-PEXKS01_t2 (Tunnel2) Destination: 172.17.0.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 1401)
Change in required resources detected: reroute pending
Currently Signalled Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity:
0x0/0xFFFF
Metric Type: TE (default) In back ground it is being
path option 1 reoptimization in progress calculated the new path for
primary tunnel.
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/82508) 1418 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 124 No information this
FRR OutLabel : Tunnel60006, 108 backup tunnel being in
RSVP Signalling Info: used.
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3158
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(124) 172.19.23.1(124)
172.17.0.3(108) 172.19.32.1(108)
172.17.0.32(96) 172.19.137.2(96)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.31.2 172.16.131.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 23 hours, 58 minutes
Time since path change: 16 minutes, 59 seconds
Number of LSP IDs (Tun_Instances) used: 2897
Current LSP:
Uptime: 17 minutes, 2 seconds
Selection: reoptimization
Reopt. LSP:
Setup Time: 4 minutes, 55 seconds remaining
Prior LSP:
ID: path option 1 [3148]
Removal Trigger: reoptimization completed
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
PE4 P2 P3 PE6
P30
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl traff tun tu 2
Load for five secs: 0%/0%; one minute: 1%; five minutes: 0%
Time source is NTP, 12:28:08.869 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/82454) 1418 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 91
FRR OutLabel : Tunnel60007, 91
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3192
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.31.2 172.16.131.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(91) 172.19.31.1(91)
172.17.0.31(91) 172.16.131.1(91)
New Path information
172.17.0.32(94) 172.19.137.2(94)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 23 hours, 59 minutes
Time since path change: 35 seconds
Number of LSP IDs (Tun_Instances) used: 2898
Current LSP:
Uptime: 38 seconds
Selection: reoptimization
Prior LSP:
ID: path option 1 [3158]
Removal Trigger: re-route path error
July 10
A printed copy of this document is considered uncontrolled.
Link failure between P3 and P32
Before link failure:
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
Codes: '!' - success, 'Q' - request not transmitted,
'.' - timeout, 'U' - unreachable,
'R' - downstream router but not target,
'M' - malformed request
Type escape sequence to abort.
0 172.19.24.2 MRU 4470 [Labels: 141 Exp: 0]
R 1 172.19.24.1 MRU 4470 [Labels: 142 Exp: 0] 4 ms
R 2 172.19.23.2 MRU 4470 [Labels: 112 Exp: 0] 1 ms
R 3 172.19.32.2 MRU 4474 [implicit-null] 2 ms
! 4 172.19.137.1 3 ms
PE4 P2 P3 P32 PE7
P1
PE4 P2 P3 PE6
P30
After reoptimisation:
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
Codes: '!' - success, 'Q' - request not transmitted,
'.' - timeout, 'U' - unreachable,
'R' - downstream router but not target,
'M' - malformed request
New Path PE4 P2 P31 P32 PE7
Type escape sequence to abort.
0 172.19.24.2 MRU 4470 [Labels: 100 Exp: 0]
R 1 172.19.24.1 MRU 4470 [Labels: 97 Exp: 0] 1 ms
R 2 172.19.31.2 MRU 4470 [Labels: 94 Exp: 0] 2 ms
R 3 172.16.131.2 MRU 4474 [implicit-null] 3 ms
! 4 172.19.137.1 4 ms
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl tra tu tu2
Load for five secs: 1%/0%; one minute: 1%; five minutes: 1%
Time source is NTP, 12:52:50.286 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/86072) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 141
FRR OutLabel : Tunnel60006, 142
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3240
RSVP Path Info:
My Address: 172.17.0.4 LSP labels before link
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
failure. The same result
172.17.0.7 as the first trace mpls
Record Route: traffic-eng output in the
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100previous
kbits page.
RSVP Resv Info:
Record Route: 172.17.0.2(141) 172.19.23.1(141)
172.17.0.3(142) 172.19.32.1(142)
172.17.0.32(112) 172.19.137.2(112)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 1 days, 23 minutes
Time since path change: 1 minutes, 49 seconds
Number of LSP IDs (Tun_Instances) used: 2949
Current LSP:
Uptime: 1 minutes, 49 seconds
Prior LSP:
ID: path option 1 [3238]
Removal Trigger: path option updated
The primary tunnel details before link failure.
July 10
A printed copy of this document is considered uncontrolled.
Output during new path calculation, meanwhile the backup tunnel is be used:
PE4-PEXKS01# sh mpl tra tu tu2
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 13:07:29.591 GMT Fri Mar 2 2007
July 10
A printed copy of this document is considered uncontrolled.
Link failure between P32 and P7
Before link failure:
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
P Node Failure
P2 failure
Information before failure:
PE4-PEXKS01# sh mpl traf tu tu 2
Load for five secs: 0%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 13:17:25.224 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/86097) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 63
FRR OutLabel : Tunnel60006, 90
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3294
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(63) 172.19.23.1(63)
172.17.0.3(90) 172.19.32.1(90)
172.17.0.32(98) 172.19.137.2(98)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 1 days, 48 minutes
Time since path change: 23 seconds
Number of LSP IDs (Tun_Instances) used: 3001
Current LSP:
Uptime: 23 seconds
Prior LSP:
ID: path option 1 [3288]
Removal Trigger: path option updated
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl traf tu tu 2 protection
Load for five secs: 1%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 13:18:07.368 GMT Fri Mar 2 2007
PE4-PEXKS01_t2
LSP Head, Tunnel2, Admin: up, Oper: up
Src 172.17.0.4, Dest 172.17.0.7, Instance 3294
Fast Reroute Protection: Requested
Outbound: FRR Ready
Backup Tu60006 to LSP nnhop
Tu60006: out i/f: Gi3/3, label: 54
LSP signalling info:
Original: out i/f: Gi3/2, label: 63, nhop: 172.19.24.1
nnhop: 172.17.0.3, nnhop rtr id: 172.17.0.3
With FRR: out i/f: Tu60006, label: 90
LSP bw: 100 kbps, Backup level: any-unlim, type: any pool
Path Protection: None
During P2 was reload we have the following result of traceroute, however the data traffic still was using
the original path, as the line card didn‟t go down. This behaviour was checked with traffic generator. No
packet loss. Due to this characteristic the backup tunnel was NOT used and before the line card went
down, the primary tunnel had the new path.
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl traf tu tu 2
Load for five secs: 1%/0%; one minute: 0%; five minutes: 0%
Time source is NTP, 13:19:10.232 GMT Fri Mar 2 2007
Name: PE4-PEXKS01_t2 (Tunnel2) Destination: 172.17.0.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type dynamic (Basis for Setup, path weight 0)
Change in required resources detected: reroute pending
Currently Signalled Parameters:
Bandwidth: 100 Even though
kbps (Global) Priority: 4 4 in Affinity:
Data Plane the path can still
0x0/0xFFFF be used; Control Plane received a signal to
Metric Type: TE (default) recalculate a new path. In the next pages there
path option 1 reoptimization in progress are some debug commands to identify this
signal (ISIS flag; there is not RSVP flag for
Config Parameters: this pariticula case.
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/85992) 0 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Even though it is running the path calculation the backup
InLabel : -
tunnel is NOT in used. The data traffic is still using the
OutLabel : GigabitEthernet3/2, 63 path via P2 as the line card did NOT go down yet. We can
FRR OutLabel : Tunnel60006, 90 NOT identify this behaviour using trace mpls command.
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3294
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.2(63) 172.19.23.1(63)
172.17.0.3(90) 172.19.32.1(90)
172.17.0.32(98) 172.19.137.2(98)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1960 (TE)
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 1 days, 50 minutes
Time since path change: 2 minutes, 8 seconds
Number of LSP IDs (Tun_Instances) used: 3005
Current LSP:
Uptime: 2 minutes, 8 seconds
Reopt. LSP:
Setup Time: 4 minutes, 57 seconds remaining
Prior LSP:
ID: path option 1 [3288]
Removal Trigger: path option updated
July 10
A printed copy of this document is considered uncontrolled.
After path calculation:
PE4-PEXKS01# trace mpl tra tu 2
Tracing MPLS TE Label Switched Path on Tunnel2, timeout is 2 seconds
P1
PE4 P2 P3 PE6
P30
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# debug isis update-packets
PE4-PEXKS01# debug isis mpls traffic-eng events
PE4-PEXKS01# debug isis spf-triggers
PE4-PEXKS01# debug isis mpls traffig-eng adver
PE4-PEXKS01#
002614: Mar 2 18:08:37.094 GMT: %LDP-5-NBRCHG: LDP Neighbor 172.17.0.2:0 is
DOWN (TCP connection closed by peer)
002615: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-LSP: LSP 172.17.0.4 60000_3635:
DOWN: path verification failed
002616: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60000: installed LSP nil
for 60000_3635 (popt 1), path verification failed
002617: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60000: LSP path change nil
for 60000_3635, path verification failed
002618: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-LSP: LSP 172.17.0.4 60002_2075:
DOWN: path verification failed
002619: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60002: installed LSP nil
for 60002_2075 (popt 1), path verification failed
002620: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60002: LSP path change nil
for 60002_2075, path verification failed
002621: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-LSP: LSP 172.17.0.4 60003_2075:
DOWN: path verification failed
002622: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60003: installed LSP nil
for 60003_2075 (popt 1), path verification failed
002623: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60003: LSP path change nil
for 60003_2075, path verification failed
002624: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-LSP: LSP 172.17.0.4 60005_884:
DOWN: path verification failed
002625: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60005: installed LSP nil
for 60005_884 (popt 1), path verification failed
002626: Mar 2 18:08:37.098 GMT: %MPLS_TE-5-TUN: Tun60005: LSP path change nil
for 60005_884, path verification failed
002627: Mar 2 18:08:37.102 GMT: RT: isis's 172.17.0.7/32 (via 0.0.0.115)
metric changed from distance/metric [-1408172025/1401] to [115/1960]
002628: Mar 2 18:08:37.102 GMT: RT: isis's 172.17.0.6/32 (via 0.0.0.115)
metric changed from distance/metric [-1408172026/1320] to [115/2041]
002629: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.106/32 via 172.19.24.1, isis
metric [115/1361]
002630: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.106/32 via 172.19.45.2, isis
metric [115/1920]
002631: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.105/32 via 172.19.24.1, isis
metric [115/1280]
002632: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.105/32 via 172.19.45.2, isis
metric [115/2560]
002633: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.100/32 via 172.19.24.1, isis
metric [115/1320]
002634: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.100/32 via 172.19.45.2, isis
metric [115/2041]
002635: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.97/32 via 172.19.24.1, isis
metric [115/1320]
002636: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.97/32 via 172.19.45.2, isis
metric [115/2041]
002637: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.32/32 via 172.19.24.1, isis
metric [115/761]
002638: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.32/32 via 172.19.45.2, isis
metric [115/1320]
002639: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.31/32 via 172.19.24.1, isis
metric [115/721]
002640: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.31/32 via 172.19.45.2, isis
metric [115/1280]
002641: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.30/32 via 172.19.24.1, isis
metric [115/761]
July 10
A printed copy of this document is considered uncontrolled.
002642: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.30/32 via 172.19.45.2, isis
metric [115/1320]
002643: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.9/32 via 172.19.24.1, isis
metric [115/1761]
002644: Mar 2 18:08:37.102 GMT: RT: add 172.17.0.9/32 via 172.19.45.2, isis
metric [115/2320]
002645: Mar 2 18:08:37.102 GMT: RT: del 172.17.0.8/32 via 172.19.24.1, isis
metric [115/1680]
002646: Mar 2 18:08:37.106 GMT: RT: add 172.17.0.8/32 via 172.19.45.2, isis
metric [115/2401]
002647: Mar 2 18:08:37.106 GMT: RT: del 172.17.0.3/32 via 172.19.24.1, isis
metric [115/680]
002648: Mar 2 18:08:37.106 GMT: RT: add 172.17.0.3/32 via 172.19.45.2, isis
metric [115/1401]
002649: Mar 2 18:08:37.106 GMT: RT: del 172.17.0.2/32 via 172.19.24.1, isis
metric [115/640]
002650: Mar 2 18:08:37.106 GMT: RT: delete subnet route to 172.17.0.2/32
002651: Mar 2 18:08:37.106 GMT: RT: del 172.17.0.1/32 via 172.19.24.1, isis
metric [115/680]
002652: Mar 2 18:08:37.106 GMT: RT: add 172.17.0.1/32 via 172.19.45.2, isis
metric [115/1401]
002653: Mar 2 18:08:37.106 GMT: RT: del 194.164.243.141/32 via 172.19.24.1,
isis metric [115/791]
002654: Mar 2 18:08:37.106 GMT: RT: add 194.164.243.141/32 via 172.19.45.2,
isis metric [115/1512]
002655: Mar 2 18:08:37.106 GMT: RT: del 64.103.126.92/32 via 172.19.24.1, isis
metric [115/791]
002656: Mar 2 18:08:37.106 GMT: RT: add 64.103.126.92/32 via 172.19.45.2, isis
metric [115/1512]
002657: Mar 2 18:08:37.106 GMT: RT: del 64.103.126.85/32 via 172.19.24.1, isis
metric [115/791]
002658: Mar 2 18:08:37.106 GMT: RT: add 64.103.126.85/32 via 172.19.45.2, isis
metric [115/1512]
002659: Mar 2 18:08:37.106 GMT: RT: del 10.59.255.254/32 via 172.19.24.1, isis
metric [115/790]
002660: Mar 2 18:08:37.106 GMT: RT: add 10.59.255.254/32 via 172.19.45.2, isis
metric [115/1511]
002661: Mar 2 18:08:37.106 GMT: RT: del 10.59.255.253/32 via 172.19.24.1, isis
metric [115/740]
002662: Mar 2 18:08:37.106 GMT: RT: add 10.59.255.253/32 via 172.19.45.2, isis
metric [115/1611]
002663: Mar 2 18:08:37.106 GMT: RT: del 10.59.95.2/32 via 172.19.24.1, isis
metric [115/780]
002664: Mar 2 18:08:37.106 GMT: RT: add 10.59.95.2/32 via 172.19.45.2, isis
metric [115/1501]
002665: Mar 2 18:08:37.106 GMT: RT: del 10.59.95.1/32 via 172.19.24.1, isis
metric [115/790]
002666: Mar 2 18:08:37.106 GMT: RT: add 10.59.95.1/32 via 172.19.45.2, isis
metric [115/1511]
002667: Mar 2 18:08:37.106 GMT: RT: del 172.16.67.0/30 via 172.17.0.6, isis
metric [115/1960]
PE4-PEXKS01#
002668: Mar 2 18:08:37.106 GMT: RT: add 172.16.67.0/30 via 172.17.0.7, isis
metric [115/2
600]
002669: Mar 2 18:08:37.106 GMT: RT: del 172.17.18.0/24 via 172.17.0.6, isis
metric [115/1320]
002670: Mar 2 18:08:37.106 GMT: RT:
002671: Mar 2 18:08:38.114 GMT: RT(VOIP): 10.18.115.0/24 gateway changed from
172.17.0.6 to 172.17.0.7
002672: Mar 2 18:08:38.114 GMT: RT(VOIP): 10.220.132.0/23 gateway changed from
10.59.255.253 to 10.59.255.254
July 10
A printed copy of this document is considered uncontrolled.
002673: Mar 2 18:08:38.114 GMT: RT(edn): 10.0.0.0/8 gateway changed from
172.17.0.6 to 172.17.0.7
002674: Mar 2 18:08:38.114 GMT: RT(6509_mgmt): 172.17.8.48/28 gateway changed
from 172.17.0.6 to 172.17.0.7
002675: Mar 2 18:08:38.114 GMT: RT(6509_mgmt): 172.17.9.224/28 gateway changed
from 172.17.0.6 to 172.17.0.7
002676: Mar 2 18:08:38.114 GMT: RT(CN5_BE): 10.18.119.0/24 gateway changed
from 172.17.0.6 to 172.17.0.7
002677: Mar 2 18:08:38.114 GMT: RT(VPN): 10.18.118.0/24 gateway changed from
172.17.0.6 to 172.17.0.7
002678: Mar 2 18:08:38.114 GMT: RT(sigtran_blue): 10.18.116.0/24 gateway
changed from 172.17.0.6 to 172.17.0.7
002679: Mar 2 18:08:38.114 GMT: RT(AX4000): 50.50.50.0/24 gateway changed from
172.17.0.6 to 172.17.0.7
002680: Mar 2 18:08:38.114 GMT: RT(AX4000): 50.50.51.0/24 gateway changed from
172.17.0.6 to 172.17.0.7
002681: Mar 2 18:08:38.114 GMT: RT(SmartBits): 30.30.30.0/24 gateway changed
from 172.17.0.6 to 172.17.0.7
002682: Mar 2 18:08:38.114 GMT: RT(ospftest): 90.90.90.0/24 gateway changed
from 172.17.0.6 to 172.17.0.7
Power-off P2 route
As soon as P2 is powered-off:
PE4-PEXKS01# sh mpl tra tu tu2
Load for five secs: 3%/0%; one minute: 1%; five minutes: 0%
Time source is NTP, 18:52:31.458 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/86087) 6 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/2, 110
FRR OutLabel : Tunnel60006, 86 (in use) Backup tunnel in used.
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3952
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.17.0.3 172.19.32.2 172.19.137.1 172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
July 10
A printed copy of this document is considered uncontrolled.
RSVP Resv Info:
Record Route: 172.17.0.2(110) 172.19.23.1(110)
172.17.0.3(86) 172.19.32.1(86)
172.17.0.32(78) 172.19.137.2(78)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1960 (TE)
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 1 days, 6 hours, 23 minutes
Time since path change: 1 minutes, 25 seconds
Number of LSP IDs (Tun_Instances) used: 3662
Current LSP:
Uptime: 1 minutes, 25 seconds
Reopt. LSP:
Setup Time: 4 minutes, 54 seconds remaining
Prior LSP:
ID: path option 1 [3915]
Removal Trigger: path option updated
July 10
A printed copy of this document is considered uncontrolled.
PE4-PEXKS01# sh mpl tra tu tu2
Load for five secs: 1%/0%; one minute: 1%; five minutes: 0%
Time source is NTP, 19:13:33.301 GMT Fri Mar 2 2007
Config Parameters:
Bandwidth: 100 kbps (Global) Priority: 4 4 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 100 bw-based
auto-bw: (86400/84825) 3785 Bandwidth Requested: 100
Active Path Option Parameters:
State: dynamic path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : GigabitEthernet3/3, 49
FRR OutLabel : Tunnel60003, 79
RSVP Signalling Info:
Src 172.17.0.4, Dst 172.17.0.7, Tun_Id 2, Tun_Instance 3957
RSVP Path Info:
My Address: 172.17.0.4
Explicit Route: 172.19.45.2 172.19.53.10 172.16.131.2 172.19.137.1
172.17.0.7
Record Route:
Tspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
RSVP Resv Info:
Record Route: 172.17.0.5(49) 172.19.53.9(49)
172.17.0.31(79) 172.16.131.1(79)
172.17.0.32(80) 172.19.137.2(80)
172.17.0.7(0) 172.19.137.1(0)
Fspec: ave rate=100 kbits, burst=1000 bytes, peak rate=100 kbits
Shortest Unconstrained Path Info:
Path Weight: 1401 (TE)
Explicit Route: 172.19.24.1 172.19.23.2 172.19.32.2 172.19.137.1
172.17.0.7
History:
Tunnel:
Time since created: 1 days, 6 hours, 44 minutes
Time since path change: 20 minutes, 43 seconds
Number of LSP IDs (Tun_Instances) used: 3703
Current LSP:
Uptime: 20 minutes, 46 seconds
Selection: reoptimization
Reopt. LSP:
Setup Time: 4 minutes, 44 seconds remaining
Prior LSP:
ID: path option 1 [3952]
Removal Trigger: re-route path error
July 10
A printed copy of this document is considered uncontrolled.
AToM issues
This output shows the virtual cirtuit created from this PE (PE7) to the remote PE (PE-4) is down.
As the neighbour is reachable (172.17.0.4 reachability is OK), we can conclude the Layer 2 VPN is not
configured in the remote site, or it is using a different VC-id. In this particular example, the remote site
should have a VC-id 100 created with a destination IP address PE7 ip address.
July 10
A printed copy of this document is considered uncontrolled.
Figure 12 - Lab topology for LINK and NODE failures scenarios
F
AX4000 6 E
5 (topacket generator
4 GE
ports under test)
E1
CHOC3-E1
3 1 2
stm
FE
STM1 or STM4
1/4
GE
/4
10GE
stm1
0
3/2
POS CHOC48
POS STM16
GE 3/20 172.17.8.51
POS STM1 172.17.7.83 0/1
FE 172.17.0.8 172.16.18.0/30
2/2 6509-1 6509-3
RR1 2/0/0
1/2 1/2 2/2
10.40.31.6 vlan98
10.33.31.6 vlan98
P1
2/
0/ 17
1
0/
3 2.
3/0.98 10.40.31.5
30
3/0.98 10.33.31.5
2/1/1
172.19
2/
19
0/
.1
2.
3.
.1
0
19
2/ /30 3/1
.30.0/3
1/6
3/3
2.
0/
3/1
0/
17
3
2/
3/0 3/0
1/6
10.59.95.82/30 Gn
0
172.17.0.4 172.17.0.2 172.17.0.3 172.17.0.6
3/0/0 172.19.23.0/30 3/0/0 172.16.36.0/30
2/0/2 3/2
PE4 P2 P3 3/1
3/2 172.19.24.0/30 4/0/1 PE6
3/3 2/0/4 2/0/4 0/2
3/2
172.19
172.17.0.30
172.19.45.0/30
172.16.67.0/30
.32
.0/30
30
.3
3/3
17
0/1
1.0/30
0/
0/2
2.
0.
0/1
16
13
172.19.29.8./30
.1
6.
32
1
2. 172.17.0.9
.0
3/0
17
/3
3/0/3 3/1 0/2
0
3/0
RR2
3/0/4
0/2
172.17.0.5 172.17.0.31 172.17.0.32 172.19.137.0/30 172.17.0.7
3/0/2 .9 172.19.53.8/30 .103/2 3/0/2
3/0/0.99 10.40.31.9 PE5 P31 3/3 172.19.131.0/30 3/3 P32 3/2 PE7
10.40.31.10 vlan99
3/0/0.99 10.33.31.9
3/0/3
3/0/0
3/0/0
3/0/8
3/0/9
140
July 10 Advanced Service
A printed copy of this document is considered uncontrolled.
Conclusion
This Troubleshothing guide aim to present a methodology to understand and how to fix some misconfiguration and
failure scenarios may occur on MPLS network.
Symptons may appear as the Forwarding Problem.
Whether it is an actual Forwarding Problem (packet drops?) or Control Plane Problem.
Whether it is an MPLS VPN, or MPLS or TE problem.
Adhere to step-by-step systematic approach to troubleshooting.
As Best Practice, always use the same router-id for each technology (BGP, Multicast, IGP, LDP, TE etc)
Part 6: Appendix
Appendix I
TTCP
Sender: ROUTER01 (10.33.252.231)
Receiver: 6509-2 (10.40.31.2)
Path: ROUTER01 6509-4 PE7 P32 P31 CE2
Check possible paths so TTCP will be seen to use the possible "slow" paths:
ROUTER01# tracer 10.40.31.2
Type escape sequence to abort.
Tracing the route to 10.40.31.2
1 10.33.33.3 0 msec
10.33.33.4 0 msec
10.33.33.3 0 msec
2 10.33.31.9 0 msec
10.33.31.5 0 msec
10.33.31.9 0 msec
3 172.16.36.1 0 msec
172.19.137.2 4 msec
172.16.36.1 0 msec
4 172.16.131.1 0 msec
10.40.31.5 0 msec
172.16.131.1 4 msec
5 10.40.31.6 0 msec
10.40.31.9 0 msec
10.40.31.6 0 msec
6 10.40.31.10 0 msec
10.40.3.4 0 msec *
Start CE2 in Receive mode; using default parameters, except that we do want to see stats (last question):
CE2# ttcp
transmit or receive [receive]:
perform tcp half close [n]:
receive buflen [8192]:
bufalign [16384]:
bufoffset [0]:
port [5001]:
sinkmode [y]:
rcvwndsize [4128]:
delayed ACK [y]:
show tcp information at end [n]: y
### TTCP establishes the connection, and a message pops up at both ends
(ROUTER01)
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> 10.40.31.2
ttcp-t: connect (mss 536, sndwnd 4128, rcvwnd 4128)
(CE2)
ttcp-r: accept from 10.33.33.75 (mss 536, sndwnd 4128, rcvwnd 4128)
Now, the 16 MBytes are sent from ROUTER01 6509-2 and 6509-2 sends TCP ACKs only.
Check the time taken and hopefully it fineshes.
Results at ROUTER01: ignore the TCP session details, just look at the time taken in the first line of output
ttcp-t: 16777216 bytes in 9308 ms (9.308 real seconds) (~1759 kB/s) +++
This is an example of walking the RFC1573/RFC2233 ifMIB "interface MIB". Smarts s/w includes its own
Solaris executable snmp tools called "sm_XXXXX". In our case we want to get back a formatted report of
parts of a node's MIB tree.
"mibwalk" is not an SNMP command but is a sequence of "snmp-get-next" commands and "get-bulk"
commands
In the example we are using community j8fyxjnh.
We are NOT using SNMPv3 authentication and engine-ids. We are using snmpv2c.
We ask for a walk of an OID value and the SNMP gets will make the target box (172.17.0.5) respond with
all the subordinate fields including ifName and ifHCInOctets etc.
Server will have created 3 files using the IP-address and a suffix:
<node>.walk includes hex of character strings = difficult for human to read
<node>.snap includes the format of each variable (eg COUNTER-32 for 32-but counter, COUNTER-64
for HC counters)
<node>.mimic (easiest for human to read)
Now we want to display the results but to understand we need to know the variables represent. For this you
need to display the particular MIB's OID file.
This is the ifName
root@server01 # cat 172.17.0.5.mimic | more
Note that each interface
has its own ifName
.1.3.6.1.2.1.31.1.1.1.1.1: Et0
.1.3.6.1.2.1.31.1.1.1.1.2: PO0/0
Interface of
.1.3.6.1.2.1.31.1.1.1.1.3: PO0/1
index 3.
.1.3.6.1.2.1.31.1.1.1.1.4: PO0/2
.1.3.6.1.2.1.31.1.1.1.1.5: PO0/3
.1.3.6.1.2.1.31.1.1.1.1.6: AT1/0 Value of the query
.1.3.6.1.2.1.31.1.1.1.1.7: AT1/1 In this case it is ifName value
.1.3.6.1.2.1.31.1.1.1.1.8: AT1/2 for interface index 9. In this
.1.3.6.1.2.1.31.1.1.1.1.9: AT1/3 case it is the ATM 1/3
.1.3.6.1.2.1.31.1.1.1.1.10: AT1/4
.1.3.6.1.2.1.31.1.1.1.1.11: AT1/5 This is the
.1.3.6.1.2.1.31.1.1.1.1.12: AT1/6 ifHCInOctest
<snip>
You can check it using a Cisco tool: Cisco web page Login Support Tools&Resources
SNMP Object Navigator enter <OID string>
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en
Then, look for the OID file to tell what each variable OID number means.
Many MIB variables are based on ifIndex, each main and subinterface has a unique ifIndex, you need to
know which ifIndex = what interface ask the router.
.1.3.6.1.2.1.31.1.1.1.1.1: Et0
.1.3.6.1.2.1.31.1.1.1.1.2: PO0/0
.1.3.6.1.2.1.31.1.1.1.1.3: PO0/1
.1.3.6.1.2.1.31.1.1.1.1.4: PO0/2
.1.3.6.1.2.1.31.1.1.1.1.5: PO0/3
.1.3.6.1.2.1.31.1.1.1.1.6: AT1/0
.1.3.6.1.2.1.31.1.1.1.1.7: AT1/1
.1.3.6.1.2.1.31.1.1.1.1.8: AT1/2
.1.3.6.1.2.1.31.1.1.1.1.9: AT1/3
.1.3.6.1.2.1.31.1.1.1.1.10: AT1/4
.1.3.6.1.2.1.31.1.1.1.1.11: AT1/5
To obtain every MIB from the target, don't specify the oid
root@server01 #./sm_snmpwalk --community=j8fyxjnh 172.17.0.5
PE4
service nagle
no service pad
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname PE-4
!
boot-start-marker
boot-end-marker
enable secret 5 $1$HUkw$FgrxXJK0CW1oyylI8y3vJ0
!
ip subnet-zero
ip routing protocol purge interface
ip cef
no ip domain-lookup
ip vrf VPN
rd 25135:133001804
route-target export 25135:18
route-target export 212.183.144.1:18
route-target import 25135:18
route-target import 212.183.144.1:18
!
mpls label protocol ldp
mpls ldp neighbor 172.17.0.2 password 7 00071A150754
mpls ldp neighbor 172.17.0.5 password 7 05080F1C2243
mpls traffic-eng tunnels
mpls traffic-eng auto-tunnel backup
mpls traffic-eng auto-tunnel backup config unnumbered-interface Loopback0
mpls traffic-eng auto-tunnel backup timers removal unused 3600 0
mpls traffic-eng auto-tunnel backup tunnel-num min 60000 max 64000
mpls traffic-eng auto-tunnel mesh
mpls traffic-eng auto-tunnel mesh tunnel-num min 1 max 999
tag-switching tdp router-id Loopback0
!
RR1
service nagle
no service pad
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname RR1
!
boot-start-marker
boot-end-marker
Term Definition
AAL ATM Adaptation Layer
ATM Asynchronous Transfer Mode
AToM Any Transport over MPLS
BGP Border Gateway Protocol
CBR Constraint-Based Routing
CE Customer Edge Router
CEF Cisco Express Forwarding – Cisco latest packet switching method.
CLI Command-Line Interface
CLNS Connection Less Network Service
Control Plane Where control information, such as routing and label information is exchanged.
cSPF Constrained Shortest Path First
Data Plane / Where the actual forwarding occurs. This can only exist after the control plane has been
Forwarding Plane established.
DiffServ Differentiated Services (One of the Model defined in QoS Architecture)
FEC Forward Equivalence Class
FIB Forwarding Information Base – The table that is created by enabled CEF.
FRR Fast Re-Route
IETF Internet Engineering Task Force
IGP Interior Gateway Protocol
IntServ Integrated Services (One of the Model defined in QoS Architecture)
IP Internet Protocol
IS-IS Intermediate System to Intermediate System
Label MPLS header that is used for switch a packet
LDP Label Distribution Protocol
LFIB Label Forwarding Information Base – The table where the various label bindings that an LSR
receives over the LDP protocol are stored. It forms the basis of populating the FIB and LFIB tables.
LSP Label Switch Path
LSR Label Switch Router
MP-BGP Multi-Protocol BGP
MPLS Multi Protocol Label Switching
N-HOP Next-Hop – Designation for “Link Protection” in FRR
NLRI Network Layer Reachability Information
NN-HOP Next-Next-Hop – Designation for “Node Protection” in FRR
OSPF Open Shortest Path First
P Provider Router
PE Provider Edge Router
IP Quality of Service
Srinivas Vegesna
RFC (http://rfc.net/rfc<number>.html)
RFC2702 – Requirements for Traffic Engineering Over MPLS
RFC3473 – Generalised Multi-Protocol Label Switching (GMPLS) Signalling RSVP-TE Extensions
RFC4205 – ISIS Extensions in Support of Generalized Multi-Protocols Label Switching
RFC4420 – Encoding of Attributes for MPLS LSP Establishment using RSVP-TE
RFC2283 – Multiprotocol Extensions for BGP-4
RFC2858 – Multiprotocol Extensions for BGP-4
URL
Configuring MPLS Label Switching
http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1831/products_configuration_guide_
chapter09186a00800ca6ce.html
History
Version No. Issue Date Status Reason for Change
1.0 July 2010 1st version First release
Review
Reviewer’s Details Version No. Date