Professional Documents
Culture Documents
This slides will introduce MPLS L3 VPN configuration commands, typical cases, debugging and troubleshooting.
Page 2
Upon completion of this course, you will be able to: Know configuration of MPLS L3 VPN Know how to debug MPLS L3 VPN Know how to troubleshoot MPLS L3 VPN
Page 3
Chapter 1 MPLS L3 VPN Configuration Chapter 2 MPLS L3 VPN Configuration Example Chapter 3 MPLS L3 VPN Debugging Chapter 4 MPLS L3 VPN Troubleshooting
Page 4
LDP Function
Define VPN
BGP Peer, Active remote PE and route import Static, EBGP, OSPF, or RIP
Page 5
Page 6
Page 7
Page 8
Page 10
Chapter 1 MPLS L3 VPN Configuration Chapter 2 MPLS L3 VPN Configuration Example Chapter 3 MPLS L3 VPN Debugging Chapter 4 MPLS L3 VPN Troubleshooting
Page 11
Pos1/0/0
P Loopback 0: PE-2
168.1.1.2/16 -1 PE
Ethernet 1/0/0: 168.1.1.1/16
CE-1
202.100.0.1/32
200.10.0.1/16
CE-2
AS100
AS 2
AS 1
PE1 Configuration
Configure vpn-instance.
[PE1] ip vpn-instance vpna [PE1-vpn-instance] routedistinguisher 100:1 [PE1-vpn-instance] vpn-target 100:1 both [PE1-vpn-instance] vpn-target 100:2 import-extcommunity [PE1-vpn-instance] vpn-target 100:3 export-extcommunity
Page 12
Page 13
Chapter 1 MPLS L3 VPN Configuration Chapter 2 MPLS L3 VPN Configuration Example Chapter 3 MPLS L3 VPN Debugging Chapter 4 MPLS L3 VPN Troubleshooting
Page 15
[NE80]display bgp vpnv4 all peer Peer AS-number Ver Queued-Tx Msg-Rx Msg-Tx Up/Down State 40.0.0.8 100 4 0 1 0 100h48m Established
Page 16
Page 17
Chapter 1 MPLS L3 VPN Configuration Chapter 2 MPLS L3 VPN Configuration Example Chapter 3 MPLS L3 VPN Debugging Chapter 4 MPLS L3 VPN Troubleshooting
Page 18
MPLS/VPN Trouble-shooting
MPLS/VPN message forwarding is based on LSP, and LSP is attached to the route, so you should locate the fault in this way: check route first and then label; check private network first and then public network.
N N N Y N N N
Check private network route Check BGP neighbourhood Check public network route Check public network IGP configuration
Page 19
MPLS/VPN Trouble-shooting
N
Check private network route Check BGP neighbourhood Check public network route Check public network IGP configuration
Check private network route: Check the VRF of the PE routers of two ends respectively to check whether there is a VRF route of the opposite end. Command display ip routing-table vpn-instance Check BGP neighborhood: Whether neighbor state machine is in Established state Command: display bgp vpnv4 all peer Check public network route: Does every device in public network LSP path have an accurate route of the opposite end PE loopback address? (It must be a 32-bit mask) Check the IGP configuration of the public network: Whether the route of PE loopback address is released via IGP
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20
Check MBGP and the opposite end PE-CE routing protocol configuration
Y Y Y
Y Y Y
Y Y N
10
MPLS/VPN Trouble-shooting
N N N
Check private network label Check MBGP and the opposite end PE-CE routing protocol configuration Check BGP configuration
Check private network label: Check whether the private network label of the local PE router is distributed by the opposite PE? Check MBGP and the opposite end PE-CE routing protocol configuration For every VRF, should the VRF route be released into BGP? Whether to enable ordinary neighbors to transmit vpnv4 route? Check BGP configuration: Check whether the ordinary BGP configures BGP neighbors correctly?
Page 21
MPLS/VPN Trouble-shooting
N
Check public network label Check LDP neighbors Check MPLS configuration
Check public network label: Check whether every device in LSP is distributed by the two PE loopback addresses Public network label, related commands: display mpls lsp brief Check whether the in-label of every device is the out-label of its next-hop? Check LDP neighbors: Check whether LDP session is correctly established between two adjacent PE or P routers. Related command: display mpls ldp session Session State: Operational Check MPLS configuration Check whether the device enables MPLS globally and enables LDP at corresponding interface. Global command: mpls lsr-id 10.5.80.250 mpls ldp Start LDP Session at interface interface Ethernet4/1/0 mpls ldp enable
Page 22
11
Summary
This chapter describes the configuration, debugging and troubleshooting of MPLS VPN (L3).
Page 23
Thank You
www.huawei.com
12