< Home

mtu (PW template view)

Function

The mtu command specifies the MTU in a PW template.

The undo mtu command restores the default setting.

By default, the MTU in a PW template is 1500.

Format

mtu mtu-value

undo mtu

Parameters

Parameter Description Value
mtu-value

Specifies the MTU in a PW template.

The value is an integer that ranges from 46 to 9600.

Views

PW template view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When creating a PW template, run the mtu command to specify the MTU for the PW template.

Precautions

When creating a Martini VLL or PWE3 VLL, if you set the MTU value by specifying mtu mtu-value in the mpls l2vc command. If you do not specify mtu mtu-value, the MTU in the PW template takes effect. If you do not specify mtu mtu-value in the mpls l2vc command and do not set the MTU in the PW template, the device uses the default MTU value 1500.

Example

# Configure the MTU for the PW template pw1.

<HUAWEI> system-view
[HUAWEI] pw-template pw1
[HUAWEI-pw-template-pw1] mtu 1600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >