Professional Documents
Culture Documents
Troubleshooting Mpls Networks: Session Rst-3605
Troubleshooting Mpls Networks: Session Rst-3605
Troubleshooting Mpls Networks: Session Rst-3605
MPLS NETWORKS
SESSION RST-3605
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 1
Agenda
• Prerequisites
• MPLS Troubleshooting
• Conclusion
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 2
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 3
Before We Begin…
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 4
• Prerequisites
• MPLS Troubleshooting
• Conclusion
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 5
MPLS Troubleshooting
• Control plane
Involves LDP, LIB, etc.
• Forwarding Plane
Involves FIB, LFIB, etc.
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 6
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 7
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 8
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 9
• Control Plane
LDP vs. TDP
LDP (Discovery, Session Setup, Label Xchange)
RIB/FIB/LIB/LFIB Relationship
Troubleshooting Tips
Troubleshooting Case Studies
• Forwarding Plane
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 10
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 11
Tx Hello (PE1:0)
PE1 PE2
Rx Hello (PE2:0)
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 12
Tx Hello (PE1:0)
PE1 PE2
Rx Hello (PE2:0)
** If LDP is the global default, then interface-level LDP is not needed.
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 13
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 14
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 15
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 16
Serial2/0
PE2#sh mpls interface
Interface
Serial2/0
IP
Yes (ldp)
Tunnel
No
Operational
Yes PE2 P1
PE2#
MPLS Enabled !
PE2#sh mpls interface ser2/0 detail interface Serial2/0
Interface Serial2/0: description To P1 ser2/0
IP labeling enabled (ldp) LDP Enabled ip address 10.13.2.6/30
LSP Tunnel labeling not enabled mpls label protocol ldp
BGP tagging not enabled tag-switching ip
Tagging operational tag-switching mtu 1508
Fast Switching Vectors: !
IP to MPLS Fast Switching Vector
MPLS Turbo Vector
MTU = 1508 MPLS MTU
PE2#
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 17
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 18
LDP Session
Hello
PE1 Hello P1
10.13.1.61/32 10.13.1.101/32
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 19
LDP_ID => X Y Z W n
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 20
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 21
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 22
Label exchange
PE1 P1
10.13.1.61/32 10.13.1.101/32
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 23
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 25
• Control Plane
LDP vs. TDP
LDP (Discovery, Session Setup, Label Xchange)
RIB/FIB/LIB/LFIB Relationship
Troubleshooting Tips
Troubleshooting Case Studies
• Forwarding Plane
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 26
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 27
Control Plane
Routing Updates
Routing Protocols Database from Other Routers
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 29
• Control Plane
LDP vs. TDP
LDP (Discovery, Session Setup, Label Xchange)
RIB/FIB/LIB/LFIB relationship
Troubleshooting Tips
Troubleshooting Case Studies
• Forwarding Plane
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 30
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 31
Only one “Advert acl” appearance. Hence, only one prefix is getting advertised via LDP
(rest are filtered).
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 33
• Control Plane
LDP vs. TDP
LDP (Discovery, Session Setup, Label Xchange)
RIB/FIB/LIB/LFIB Relationship
Troubleshooting Tips
Troubleshooting Case Studies
• Forwarding Plane
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 34
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 35
TDP LDP
Eeeekks !! It is an
IP problem.
• No LFIB entry
• This might occur if the RIB owner for an IPv4 routes
changes from IGP to BGP
• LDP doesn’t allocate labels for the BGP learned
IPv4 routes
• Notice the absence of local binding in LIB for
that route
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 42
7206-PE-SOUTH-1#
LDP doesn’t allocate labels for the BGP learned IPv4 routes.
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 43
MPLS Troubleshooting
• Control plane
Involves LDP, LIB, etc.
• Forwarding Plane
Involves FIB, LFIB, etc.
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 44
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 45
• Control Plane
• Forwarding Plane—
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 46
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 47
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 48
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 49
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
Label = Actual Label, = 20 bits
EXP/QoS = Experimental bits, = 3 bits
S = End of Stack, = 1 bit
TTL = Time to Live, = 8 bits
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 50
ATM Cell Header GFC VPI VCI PTI CLP HEC Layer 3 Data
Label
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. Label stack 51
• Untagged
Convert the incoming MPLS packet to an IP packet and forward it
• Pop
Pop the top label from the label stack present in an incoming
MPLS packet and forward it as an MPLS packet.; if there was only
one label in the stack, then forward it as an IP packet; SAME as
imp-null label
• Aggregate
Convert the incoming MPLS packet to an IP packet and then do a
FIB lookup for it to find out the outgoing interface
• 0 (zero)
Same as exp-null label; simplify fills 0 in the first 20 bits of label;
helps to preserve the EXP value of the top label
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 54
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 55
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 56
PE1 PE2
P1 1.1.1.0/30
2001 IP Packet
IP Packet
• For troubleshooting,
look at the FIB (not LFIB)
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 57
PE1 PE2
P1 1.1.1.0/30
20 IP Packet
2001 IP Packet
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 58
PE1 PE2
P1 1.1.1.0/30
20 IP Packet IP Packet
PHP router
• For troubleshooting,
look at the LFIB (not FIB)
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 59
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing in MPLS
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 60
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 61
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 62
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 63
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 64
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 65
Fragmentation
MTU Setting in MPLS
Remember That:
• ‘mpls mtu <bytes>” command has no effect on
“interface or IP” MTU size
• By default, MPLS MTU = interface MTU
• MPLS MTU setting doesn’t affect MTU handling for
IP-to-IP packet switching
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 66
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 67
RSP-PE-WEST-4(config)#int fa1/1/0
RSP-PE-WEST-4(config-if)#mpls mtu 1508
RSP-PE-WEST-4(config-if)#^Z
RSP-PE-WEST-4#
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 68
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 70
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 71
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 72
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
LSP Ping/Traceroute
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 73
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 75
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 76
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 77
• Control Plane
• Forwarding Plane
CEF’s Role
New Ethertype, What Is a Label, Types of Labels
Forwarding Explained
Loadsharing
Fragmentation and MTU
Troubleshooting Tips
Troubleshooting Case Studies
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 78
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 79
PE1#sh
Local
mpls for 10.13.1.101
Outgoing Prefix Bytes tag Outgoing Next Hop
PE1
tag tag or VC or Tunnel Id switched interface
20 Untagged 10.13.1.101/32 0 PO0/1 point2point
PE1#
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 82
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 83
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 84
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 85
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 87
Agenda
• Prerequisites
• MPLS Troubleshooting
Control Plane
Forwarding Plane
• Conclusion
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 88
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 89
RST-3605
9808_06_2004_X2 © 2004 Cisco Systems, Inc. All rights reserved. 90