162
ospf mtu-enable
Use
ospf mtu-enable
to enable an interface to add the interface MTU into DD packets.
Use
undo ospf mtu-enable
to restore the default.
Syntax
ospf mtu-enable
undo ospf mtu-enable
Default
The MTU in DD packets is 0.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
After a virtual link is established through a tunnel, two devices on the link from different vendors might
have different MTU values. To make them consistent, restore the 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 VLAN-interface 10 to add the interface MTU value into DD packets.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] 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
[
peer-address-check
] }
undo ospf network-type
Default
By default, the network type of an interface depends on its link layer protocol:
•
For Ethernet and FDDI, the network type is broadcast.
•
For ATM, FR, and X.25, the network type is NBMA.
•
For PPP, LAPB, HDLC, and POS, the network type is P2P.
Views
Interface view
Содержание 5900
Страница 554: ...541 Sysname Vlan interface100 isis ipv6 enable 1 ...