R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

118
Use undo ospf mtu-enable to restore the default.
Syntax
ospf mtu-enable
undo ospf mtu-enable
Default
An interface adds a MTU of 0 into DD packets, which means no real MTU is added.
Views
Interface view
Default command level
2: System level
Usage guidelines
After a virtual link is established through a Virtual-Template or Tunnel, two devices on the link from
different vendors might have different MTU values. To make them consistent, set the attached interfaces
MTU to the default value 0.
After you configure this command, the interface checks whether the MTU in a received DD 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 2/1/1
[Sysname-GigabitEthernet2/1/1] ospf mtu-enable
ospf network-type
Use ospf network-type to set the network type for an interface.
Use undo ospf network-type to restore the default network type for an interface.
Syntax
ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p }
undo ospf network-type
Default
The network type of an interface depends on its link layer protocol.
Views
Interface view
Default command 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.