Professional Documents
Culture Documents
Agenda
Control Plane Troubleshooting
Forwarding Plane Troubleshooting
Conclusion
Agenda
Control Plane
Control Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Forwarding Plane
Dissecting LFIB
Load sharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
Tip
Cisco IOS
Command
Sh run | b address-family
vpnv4
4
MPLS VPN Trouble
sh route-map <map>
Symptom
Tip
6
VPNv4 Traffic Is Not Getting
Forwarded End-to-End
Agenda
Control Plane
Control Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Forwarding Plane
Dissecting LFIB
Load sharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
PE1
Ser2/0
200.1.61.4/30
CE1
Loop0:10.13.1.61/32
TIP: Label allocation is done by BGP. So make sure the prefix is in the BGP
VRF table. Hintredistribute connected
PE1
Ser2/0
200.1.61.4/30
CE1
Loop0:10.13.1.61/32
As soon as BGP gets the VPN prefix, it allocates the local label, and
installs the prefix+label in both BGP and LFIB
10
11
PE1
AS#1
MPLS Backbone
Ser2/0
200.1.61.4/30
ip vrf v1
rd 1:1
route-target import 1:1
PE2
Loop0:10.13.1.62/32
CE-2
Loop0:10.13.1.61/32
CE1
12
PE1
AS#1
MPLS Backbone
Ser2/0
200.1.61.4/30
!
ip vrf v1
rd 1:1
route-target import 1:1
PE2
Loop0:10.13.1.62/32
CE-2
Loop0:10.13.1.61/32
CE1
13
PE1
Ooops..RT Is Missing
Ser2/0
200.1.61.4/30
MPLS Backbone
Loop0:10.13.1.62/32
CE-2
Loop0:10.13.1.61/32
CE1
TIP: Configure Route-target export in the VRF on the local PE i.e. PE1
14
Extra-TIP
If export or import map are also configured, then check the RT in set
clause, along with the match clause
15
RR1
CE1
16
AS#1
MPLS Backbone
PE2
Loop0:10.13.1.62/32
CE-2
Loop0:10.13.1.61/32
CE1
17
CE-2
Hmm we have already verified PE1 and RR1; something must be missing
on PE2 then
Lets check for any import-map at PE2 again
18
PE1
Ser2/0
200.1.61.4/30
AS#1
MPLS Backbone
PE2
Loop0:10.13.1.62/32
CE-2
Loop0:10.13.1.61/32
CE1
19
PE2
Loop0:10.13.1.62/32
CE-2
20
AS#65000
Ser2/0
CE1
AS#1
MPLS Backbone
Loop0:10.13.1.61/32
PE2
router bgp 1
!
address-family ipv4 vrf v1
neighbor 200.1.62.6 as-override
exit-address-family
!
CE-2
AS#65000
Loop0:10.13.1.62/32
Loop0:5.5.5.5/32
TIP: If eBGP on PE-CE and VPN sites use the same ASN, then configure
as-override on the BGP VRF af on both PEs
If IGP on PE-CE, then validate BGP->IGP redistribution (within IGP VRF) on
the PE
21
2.
3.
4.
5.
22
sh ip ospf <process-id>
Select the VRF associated process-id to see relevant OSPF info (a
lot of info)
23
24
25
26
1.
2.
3.
27
2.
3.
4.
28
Agenda
Control Plane
Control Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Forwarding Plane
Dissecting LFIB
Loadsharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
29
Next Hop
10.13.7.33
Only One
Outgoing Label in
the Label Stack
30
P1
PE2
CE1
5.5.5.5/32
PE1#sh
Local
tag
27
Outgoing
interface
Se2/0
Next Hop
point2point
Se2/0 Is a PE-CE
Interface which
Is under VRF v1
31
Agenda
Control Plane
Control Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Forwarding Plane
Dissecting LFIB
Load sharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
32
33
PE1
E0/0
E1/0
P1
Se2/0
Loop0:10.13.1.62/32
PE2
34
CE1
30.1.61.4/30
PE1
E0/0
E1/0
P1
Se2/0
Loop0:10.13.1.62/32
CE2
PE2
200.1.61.4/30
35
CE1
30.1.61.4/30
PE1
E0/0
E1/0
P1
Se2/0
Loop0:10.13.1.62/32
CE2
PE2
200.1.61.4/30
36
P-P Loadsharing
P1#sh mpls for 10.13.1.62
Local Outgoing
Prefix
tag
tag or VC
or Tunnel Id
52
21
10.13.1.62/32
27
10.13.1.62/32
P1#
Bytes tag
switched
0
0
Outgoing
interface
Eth0/0
Eth1/0
Next Hop
point2point
point2point
P1
E0/0
E1/0
P2
P3
Se2/0
Loop0:10.13.1.62/32
PE2
37
Forwarding Plane
Dissecting LFIB
Loadsharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
38
Tip
Cisco IOS
Command
CE CE Traffic Fails
PE PE MPLS
Traffic Fails
PE#ping <remotePE>
39
Tip
Cisco IOS
Command
Router#sh mpls int
de | in MTU
40
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Step 8:
41
42
P1
E0/0
E1/0
Ser2/0
MPLS Backbone
Loop0:10.13.1.61/32
200.1.62.4/30
Loop0:10.13.1.62/32
CE1
CE2
FIB
PE2
LFIB
CE1
5.5.5.5/32
PE1
P1
E0/0
E1/0
Ser2/0
PE2
200.1.62.4/30
MPLS Backbone
Loop0:10.13.1.61/32
Loop0:10.13.1.62/32
CE-2
6.6.6.6/32
CE1
5.5.5.5/32
PE1
P1
E0/0
E1/0
Ser2/0
PE2
200.1.62.4/30
MPLS Backbone
Loop0:10.13.1.61/32
Loop0:10.13.1.62/32
6.6.6.6/32
CE-2
CE1
5.5.5.5/32
PE1
P1
E0/0
E1/0
Ser2/0
PE2
200.1.62.4/30
MPLS Backbone
Loop0:10.13.1.61/32
Loop0:10.13.1.62/32
PE1#deb ip icmp
ICMP packet debugging is on
PE1#
Step 1 PE1#ping vrf v1 200.1.62.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.61.5, timeout is
2 seconds:
.....
Success rate is 0 percent (0/5)
PE1#
CE-2
6.6.6.6/32
PE2#deb ip icmp
ICMP packet debugging is on
PE2#
PE2#
*May 11 00:42:16.353: ICMP: echo reply sent, src
200.1.62.5, dst 200.1.61.5
*May 11 00:42:16.473: ICMP: echo reply sent, src
200.1.62.5, dst 200.1.61.5
*May 11 00:42:16.581: ICMP: echo reply sent, src
200.1.62.5, dst 200.1.61.5
*May 11 00:42:16.701: ICMP: echo reply sent, src
200.1.62.5, dst 200.1.61.5
*May 11 00:42:16.813: ICMP: echo reply sent, src
200.1.62.5, dst 200.1.61.5
PE2#
Step 3: Okalthough the vrf pings failed at PE1, ICMP debugs at PE2
confirms that PE1->PE2 LSP is error free
Lets ping in the opposite direction to check the PE2 PE1 LSP
2004 Cisco Systems, Inc. All rights reserved.
CE1
5.5.5.5/32
PE1
P1
E0/0
E1/0
Ser2/0
Loop0:10.13.1.61/32
Loop0:10.13.1.62/32
CE-2
6.6.6.6/32
PE2#deb ip icmp
ICMP packet debugging is on
PE2#
PE2#ping vrf v1 200.1.61.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.1.61.5, timeout is
2 seconds:
.....
Success rate is 0 percent (0/5)
PE2#
200.1.62.4/30
MPLS Backbone
PE1#deb ip icmp
ICMP packet debugging is on
PE1#
PE1#
PE1#
a)
PE2
We Already
Verified This
Earlier
CE1
5.5.5.5/32
PE1
P1
E0/0
E1/0
Ser2/0
PE2
200.1.62.4/30
MPLS Backbone
Loop0:10.13.1.61/32
Loop0:10.13.1.62/32
CE-2
6.6.6.6/32
PE2#ping 10.13.1.61
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.13.1.61,
timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip
min/avg/max = 28/52/72 ms
PE2#
10.13.1.61
Prefix
or Tunnel Id
10.13.1.61/32
10.13.1.61/32
Bytes tag
switched
0
0
Outgoing
interface
Et0/0
Et1/0
Step 7: IP reachability is confirmed between PE1 and PE2 (steps 1 and 2);
GOOD; but that doesnt validate the LSP in both directions
Step 7: Per P1s LFIB, it doesnt have the right label to reach PE1 (untagged vs. Pop).
2004 Cisco Systems, Inc. All rights reserved.
Next Hop
10.13.1.6
10.13.1.10
*12.0(26)S Onwards
2004 Cisco Systems, Inc. All rights reserved.
LSP Ping
Succeeded
*12.0(26)S Onwards
2004 Cisco Systems, Inc. All rights reserved.
Forwarding Plane
Dissecting LFIB
Loadsharing in MPLS VPN Networks
Forwarding Plane Troubleshooting Tips
Real-life Examples
Summary of Helpful Cisco IOS Commands
Conclusion
MPLS VPN Trouble
53
54
55
56
Conclusion
MPLS seems cryptic, but it is not
Whether to look at FIB or LFIB?
Whether it is a BGP or MPLS problem?
Whether the problem is within the core or outside
the core?
Ongoing MPLS OAM work .
57
RST-3061
8186_05_2003_c1
58