© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Troubleshooting MPLS VPNs
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Overview Identifying Preliminary Steps in MPLS VPN Troubleshooting Verifying the Routing Information Flow Validating CE-to-PE Routing Information Flow Validating PE-to-PE Routing Information Flow Validating PE-to-CE Routing Information Flow Identifying the Issues When Verifying the Data Flow Validating CEF Status Validating the End-to-End LSP Validating the LFIB status Summary Outline
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Preliminary Steps in MPLS VPN Troubleshooting Perform basic MPLS troubleshooting: Is CEF enabled? Are labels for IGP routes generated and propagated? Are large labeled packets propagated across the MPLS backbone (maximum transmission unit issues)?
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Verifying the Routing Information Flow Verify the routing information flow: Are CE routes received by a PE router? Are routes redistributed into MP-BGP with proper extended communities? Are VPNv4 routes propagated to other PE routers? Is the BGP route selection process working correctly? Are VPNv4 routes inserted into VRFs on other PE routers? Are VPNv4 routes redistributed from BGP into the PE-CE routing protocol? Are IPv4 routes propagated to other CE routers?
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are CE routes received by the PE router? Verify with the show ip route vrf vrf-name command on PE-1. Perform traditional routing protocol troubleshooting if needed. Validating CE-to-PE Routing Information Flow
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are routes redistributed into MP-BGP with proper extended communities? Verify with the show ip bgp vpnv4 vrf vrf-name ip-prefix command on PE-1. Troubleshoot with debug ip bgp commands. Validating PE-to-PE Routing Information Flow
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are VPNv4 routes propagated to other PE routers? Verify with the show ip bgp vpnv4 all ip-prefix/length command. Troubleshoot PE-to-PE connectivity with traditional BGP troubleshooting tools. Validating PE-to-PE Routing Information Flow (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Is the BGP route selection process working correctly on PE-2? Verify with the show ip bgp vpnv4 vrf vrf-name ip-prefix command. Change local preference or weight settings if needed. Do not change MED if you are using IGP-BGP redistribution on PE-2. Validating PE-to-PE Routing Information Flow (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are VPNv4 routes inserted into VRFs on PE-2? Verify with the show ip route vrf command. Troubleshoot with the show ip bgp ip-prefix and show ip vrf detail command. Perform additional BGP troubleshooting if needed. Validating PE-to-PE Routing Information Flow (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are VPNv4 routes redistributed from BGP into the PE-CE routing protocol? Verify redistribution configurationis the IGP metric specified? Perform traditional routing protocol troubleshooting. Validating PE-to-PE Routing Information Flow (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Are VPNv4 routes propagated to other CE routers? Verify with the show ip route command on CE-Spoke. Alternatively, do CE-Spokes have a default route toward PE-2? Perform traditional routing protocol troubleshooting if needed. Validating PE-to-CE Routing Information Flow
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Verifying the Data Flow Verify proper data flow: Is CEF enabled on the ingress PE router interface? Is the CEF entry correct on the ingress PE router? Is there an end-to-end label switched path tunnel (LSP tunnel) between PE routers? Is the LFIB entry on the egress PE router correct?
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Is CEF enabled on the ingress PE router interface? Verify with the show cef interface command. MPLS VPN needs CEF enabled on the ingress PE router interface for proper operation. CEF might become disabled because of additional features deployed on the interface. Validating CEF Status
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Router#show cef interface serial 1/0.20 Serial1/0.20 is up (if_number 18) Internet address is /30 ICMP redirects are always sent Per packet loadbalancing is disabled IP unicast RPF check is disabled Inbound access list is not set Outbound access list is not set IP policy routing is disabled Interface is marked as point to point interface Hardware idb is Serial1/0 Fast switching type 5, interface type 64 IP CEF switching enabled IP CEF VPN Fast switching turbo vector VPN Forwarding table "SiteA2" Input fast flags 0x1000, Output fast flags 0x0 ifindex 3(3) Slot 1 Slot unit 0 VC -1 Transmit limit accumulator 0x0 (0x0) IP MTU 1500 Validating CEF Status: show cef interface
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Is the CEF entry correct on the ingress PE router? Display the CEF entry with the show ip cef vrf vrf-name ip-prefix/length detail command. Verify the label stack in the CEF entry. Validating CEF Status
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Is there an end-to-end LSP tunnel between PE routers? Check summarization issuesBGP next hop should be reachable as host route. Quick checkif TTL propagation is disabled, the trace from PE-2 to PE-1 should contain only one hop. If needed, check LFIB values hop by hop. Check for MTU issues on the pathMPLS VPN requires a larger label header than pure MPLS. Validating the End-to-End Label Switched Path
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Is the LFIB entry on the egress PE router correct? Find out the second label in the label stack on PE-2 with the show ip cef vrf vrf-name ip-prefix detail command. Verify correctness of LFIB entry on PE-1 with the show mpls forwarding vrf vrf-name value detail command. Validating the LFIB Status
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Summary Divide MPLS troubleshooting into two main steps: –Verify routing information flow. –Verify proper data flow. Validate CE-to-PE routing information flow by checking the routing information exchange from CE routers to PE routers. Use the show ip bgp vpnv4 vrf vrf-name ip-prefix command to validate PE-to-PE routing information flow. Verify that routes are redistributed back into the CE routing protocol on the PE route and propagated toward CE routers to validate PE-to-CE routing information flow.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Summary (Cont.) Verify data flow systematically, starting at the ingress CE router and moving to the egress CE router. Verify that CEF and LSP switching are operational. Use the show cef interface command to verify the CEF status. When validating the end-to-end LSP, verify that there is an end-to-end LSP tunnel between PE routers. To validate the LFIB status, review the contents of the LFIB on the egress PE router in comparison to the second label in the label stack on the ingress PE router.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v