If the MPLS MTU is larger than the interface MTU, data forwarding might fail.
Examples
# Set the MPLS MTU of interface VLAN-interface 2 to 1000 bytes.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] mpls enable
[Sysname-Vlan-interface2] mpls mtu 1000
Related commands
display mpls interface
mpls ttl expiration enable
Use mpls ttl expiration enable to enable sending of MPLS TTL-expired messages.
Use undo mpls ttl expiration enable to disable the function.
Syntax
mpls ttl expiration enable
undo mpls ttl expiration enable
Default
The MPLS TTL-expired messages sending function is enabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
The mpls ttl expiration enable command enables an LSR to generate an ICMP TTL-expired message upon
receiving an MPLS packet with TTL being 1.
If the MPLS packet has only one label, the LSR sends the ICMP TTL-expired message back to the
•
source through IP routing.
If the MPLS packet has multiple labels, the LSR forwards the ICMP TTL-expired message along the
•
LSP of the MPLS packet to the egress, which then sends the message back to the source.
Examples
# Disable the MPLS TTL-expired messages sending function.
<Sysname> system-view
[Sysname] undo mpls ttl expiration enable
mpls ttl propagate
Use mpls ttl propagate to enable TTL propagation.
Use undo mpls ttl propagate to disable TTL propagation.
18