mtu (SR-MPLS TE Policy view)

Function

The mtu command configures an MTU for an SR-MPLS TE Policy.

The undo mtu command restores the default MTU.

By default, the MTU configured for the outbound interface is used in SR forwarding.

Format

mtu mtu-value

undo mtu [ mtu-value ]

Parameters

Parameter Description Value
mtu-value

Specifies an MTU for an SR-MPLS TE Policy.

The value is an integer ranging from 512 to 9600, in bytes.

Views

SR-MPLS TE policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

To configure an MTU for an SR-MPLS TE Policy, run the mtu command. The effective MTU of a forwarding path is the minimum MTU among the physical outbound interfaces of all devices on the path. In service planning, ensure that the MTU to be configured for an SR-MPLS TE Policy is not greater than the effective MTU of the forwarding path.

Example

# Configure an MTU for an SR-MPLS TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te policy policy1 endpoint 1.1.1.1 color 100
[*HUAWEI-segment-routing-te-policy-policy1] mtu 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >