![H3C S9500 Series Command Manual Download Page 33](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036033.webp)
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-25
l2vpn-in-interface
: Outputs debugging information about the MPLS packets
sent/received by the L2VPN-enabled interface.
interface-type interface-number
: Specifies an interface by its type and number.
Description
Use the
debugging mpls packet
command to enable debugging for forwarded MPLS
packets. Use the
undo debugging mpls packet
command to disable debugging for
forwarded MPLS packets.
By default, debugging is disabled for forwarded MPLS packets.
Examples
# Enable debugging for forwarded MPLS packets by executing the
debugging mpls
packet
command.
Start five switches, configure L3VPN for networking, and execute the
debugging mpls
packet
command on one PE.
<PE1> debugging mpls packet
<PE1>
*0.3815709 F-RT1 MFW/8/MPLSFW PACKET:
PUSH Label=3
PKTTYPE_IP :Sending to Vlan3, Dest=15.33.33.33, Nexthop=15.20.1.1
// Push Label 3 into a packet, and send the packet to DUT3.
*0.3823332 F-RT1 MFW/8/MPLSFW PACKET:
PUSH Label=3
PKTTYPE_IP :Sending to Vlan3, Dest=15.33.33.33, Nexthop=15.20.1.1
// Push Label 3 into a packet, and send the packet to DUT3.
*0.3824701 F-RT1 MFW/8/MPLSFW PACKET:
PUSH Label=1024, EXP=0, TTL=255
PUSH Label=1024, EXP=0, TTL=255
PKTTYPE_MPLS :Sending to Vlan3, PktLen=92, Label(s)=1024,1024, EXP=0, TTL=255
// Push inner incoming Label 1024 and outer incoming Label 1024, and send the
packets from VLAN-interface 3.
*0.3824701 F-RT1 MFW/8/MPLSFW PACKET:Slot=2;
MPLSFW_Input: Receiving from Vlan3, PktLen=88, Label(s)=1024, EXP=0, TTL=254
POP Label=1024, EXP=0, TTL=254
Delivering up to IP!
// Receive a packet (length: 88; label: 1024; POP label: 1024) from VLAN-interface 3,
and forward the packet like an IP packet.
*0.3824701 F-RT1 MFW/8/MPLSFW PACKET:Slot=2;