R0106-HP MSR Router Series MPLS Command Reference(V7)
19
Default
The MPLS MTU of an interface is not configured. Fragmentation for MPLS packets is based on the MTU
of the interface, and the length of a fragment does not include that of the MPLS label. Thus, after an MPLS
label is added into a fragment, the length of the MPLS fragment might exceed the interface MTU.
Views
Interface view
Predefined user roles
network-admin
Parameters
value: Specifies the MPLS MTU of the interface, in the range of 46 to 65535 bytes.
Usage guidelines
This command is effective only when MPLS is enabled on the interface.
If the MPLS MTU is larger than the interface MTU, data forwarding might fail.
MPLS TE tunnel interfaces do not support this command.
Examples
# Set the MPLS MTU of interface GigabitEthernet 2/0/1 to 1000 bytes.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mpls enable
[Sysname-GigabitEthernet2/0/1] mpls mtu 1000
Related commands
display mpls interface
mpls statistics
Use mpls statistics to enable MPLS label forwarding statistics for the specified LSPs.
Use undo mpls statistics to disable MPLS label forwarding statistics for the specified LSPs.
Syntax
mpls statistics { all | [ vpn-instance vpn-instance-name ] { ipv4 ipv4-destination mask-length | ipv6
ipv6-destination prefix-length } | static | te ingress-lsr-id tunnel-id }
undo mpls statistics { all | [ vpn-instance vpn-instance-name ] { ipv4 ipv4-destination mask-length | ipv6
ipv6-destination prefix-length } | static | te ingress-lsr-id tunnel-id }
Default
MPLS label forwarding statistics are disabled for all LSPs.
Views
System view
Predefined user roles
network-admin
Parameters
all: Specifies all LSPs.