< Home

ospf mtu-enable

Function

The ospf mtu-enable command enables the interface to fill in the MTU value when sending Database Description packet (DD) packets.

The undo ospf mtu-enable command restores the default settings.

By default, the MTU value is 0 when the interface sends DD packets. That is, the actual MTU value of the interface is not filled in.

Format

ospf mtu-enable

undo ospf mtu-enable

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view, BDIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The default MTU value of the DD packet is 0. Using this command, you can manually configure the interface to fill in the MTU value (the actual MTU value) when the interface sends the DD packet.

As different vendors may adopt different default MTU values, to standardize the default value, you can configure the interface to use the default value 0 when the interface sends DD packets.

Precautions

OSPF does not support this configuration on the Null interface.

After the ospf mtu-enable command is configured, the system will automatically restart the OSPF process.

Example

# Set GigabitEthernet 0/0/1 to fill in the MTU field when sending DD packets.

<sysname> system-view 
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] ospf mtu-enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >