R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
265
[Sysname-GigabitEthernet0/0] ospf dr-priority 8
ospf mtu-enable
Syntax
ospf mtu-enable
undo ospf mtu-enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the ospf mtu-enable command to enable an interface to add the real MTU into DD packets.
Use the undo ospf mtu-enable command to restore the default.
By default, an interface adds a MTU of 0 into DD packets, that is, no real MTU is added.
After a virtual link is established via a Virtual-Template or Tunnel, two devices on the link from different
vendors may have different MTU values. To make them consistent, set the attached interfaces’ default
MTU to 0.
This configuration is not supported on the null interface.
After this command is configured, upon receiving a DD packet, the interface checks whether the MTU in
the packet is greater than its own MTU; if yes, the interface discards the packet.
Examples
# Enable the interface to add the real MTU value into DD packets.
<Sysname> system-view
[Sysname] interface Gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] ospf mtu-enable
ospf network-type
Syntax
ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p }
undo ospf network-type
View
Interface view
Default level
2: System level
Parameters
broadcast: Specifies the network type as Broadcast.