The interface-mtu check-mode command configures an interface MTU check mode.
By default, the device compares the interface MTU with a packet's length.
Parameter | Description | Value |
---|---|---|
ip |
Configures the device to compare the interface MTU with a packet's length. |
- |
label-contained-length |
Configures the device to compare the interface MTU with the sum of a packet's label length and packet length. |
- |
slot slot-id |
Specifies the slot ID of a board for which an interface MTU check mode is to be configured. |
- |
Usage Scenario
To improve packet transmission efficiency, an interface MTU is usually configured to restrict the maximum length of packets that can be permitted. The Router can check whether a packet meets an interface MTU requirement by comparing the interface MTU with a packet's length or with the sum of a packet's label length and packet length. To specify the interface MTU check mode, run the interface-mtu check-mode command.
The two check modes apply to different scenarios:Precautions
In VS mode, the interface-mtu check-mode command can be run only on admin VS to be shared by all VSs and is unconfigurable on VSn.