MPLS TROUBLESHOOTING TIPS FOR CISCO AND JUNIPER
#mpls #cisco #juniper #troubleshooting #huawei #copy #tutorial
Basic MPLS Troubleshooting Tips
1. Verifying MPLS Configuration:
- Cisco:
- Use
show mpls interfaces
to verify that MPLS is enabled on the correct interfaces. - Check
show mpls ldp neighbor
to ensure that Label Distribution Protocol (LDP) neighbors are discovered, and that the session is up.
- Use
- Juniper:
- Use
show mpls interface
to check MPLS status on interfaces. - Utilize
show mpls ldp session
to confirm LDP neighbor sessions.
- Use
2. Checking Label Switch Paths (LSP):
- Cisco:
- Use
show mpls ldp bindings
to display local and remote label bindings. show mpls forwarding-table
helps to inspect the labels being forwarded and their corresponding next-hops.
- Use
- Juniper:
- Use
show mpls lsp extensive
to get detailed information about the LSPs. show route table mpls.0
to view the label-switched routes.
- Use
3. Ensuring Proper Route Distribution:
- Cisco:
- Verify routing protocols are correctly redistributing routes with
show ip route
andshow ip protocols
. - Ensure that MPLS labels are being properly assigned by checking
show mpls forwarding-table
.
- Verify routing protocols are correctly redistributing routes with
- Juniper:
- Check routing information with
show route forwarding-table family mpls
. - Ensure correct route redistribution settings with
show route protocol
.
- Check routing information with
4. Troubleshooting MPLS VPNs:
- Cisco:
- For issues with VRF (Virtual Routing and Forwarding), use
show ip vrf
andshow ip route vrf [vrf-name]
. - Verify MPLS VPN label distribution and path information using
show mpls forwarding-table vrf [vrf-name]
.
- For issues with VRF (Virtual Routing and Forwarding), use
- Juniper:
- Check VRFs using
show route table [vrf-name].inet.0
. - Look at the VPN labels with
show route table [vrf-name].inet.0 detail
.
- Check VRFs using
5. Utilizing Cisco debug and Juniper traceoptions:
- Cisco:
- In-depth troubleshooting can be performed by enabling debugging:
debug mpls ldp
for LDP-related issues ordebug mpls traffic-eng
for traffic engineering problems.
- In-depth troubleshooting can be performed by enabling debugging:
- Juniper:
- Use
traceoptions
under the MPLS or routing protocol configuration to capture more detailed logs for troubleshooting.
- Use
6. Common Pitfalls and Checks:
- Both Cisco and Juniper:
- Ensure there are no MTU mismatches across MPLS-enabled interfaces, as this can disrupt proper LSP formation.
- Regularly check for software or firmware updates that address known bugs or add enhancements to MPLS features.
Comments