Configure debug conditions to match IPv4 and IPv6 traffic over MPLS networks using various filtering conditions and label specifications.
Use the debug platform condition MPLS match-inner command to match IPv4 and IPv6 traffic over MPLS using various filtering conditions such as match-inner ipv4 , match-inner ipv6 , and allow-no-label .
Specify the MPLS label information, inner IPv4 and IPv6 address based on the debugging requirement.
Procedure
The debug conditions are configured to match IPv4 and IPv6 traffic over MPLS networks based on your specified filtering criteria.
Examples
This example shows how to use the debug condition debug platform condition MPLS command to enable matching of IPv4 or IPv6 traffic over MPLS networks:
Device# debug platform condition mpls match-inner ipv4
Device# debug platform condition mpls match-inner ipv4 any any
Device# debug platform condition mpls match-inner ipv4 any any both
Device# debug platform condition mpls match-inner ipv4 any any both allow-no-label
For more information see, debug platform condition MPLS command page.
This example shows how to use the debug condition debug platform condition interface MPLS command to enable matching of IPv4 or IPv4 traffic over MPLS networks for a specific interface:
Device# debug platform condition interface
Device# debug platform condition interface Loopback 3 mpls
Device# debug platform condition interface Loopback 3 mpls match-inner ipv6 host 2001:db8:3333:4444:5555:6666:7777:8888
Device# debug platform condition interface Loopback 3 mpls match-inner ipv6 host 2001:db8:3333:4444:5555:6666:7777:8888 any both
Device# debug platform condition interface Loopback 3 mpls match-inner ipv6 host 2001:db8:3333:4444:5555:6666:7777:8888 any both allow-no-label