R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

329
ospf mtu-enable
Syntax
ospf mtu-enable
undo ospf mtu-enable
View
Interface view
Default level
2: System level
Parameters
None
Description
Use ospf mtu-enable to enable an interface to add the real MTU into DD packets.
Use undo ospf mtu-enable to restore the default.
By default, an interface adds a MTU of 0 into DD packets, which means 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.
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/1
[Sysname-GigabitEthernet0/1] 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.
nbma: Specifies the network type as NBMA.
p2mp: Specifies the network type as P2MP.