Command Reference Guide

IP Routing Commands
CLI Command Reference
September 2014 Page 514
HP Moonshot Switch Module CLI Command Reference
no ip netdirbcast
This command disables the forwarding of network-directed broadcasts. When disabled, network directed
broadcasts are dropped.
ip mtu
This command sets the IP Maximum Transmission Unit (MTU) on a routing interface or range of interfaces. The
IP MTU is the size of the largest IP packet that can be transmitted on the interface without fragmentation.
Forwarded packets are dropped if they exceed the IP MTU of the outgoing interface.
Packets originated on the router, such as OSPF packets, may be fragmented by the IP stack.
OSPF advertises the IP MTU in the Database Description packets it sends to its neighbors during database
exchange. If two OSPF neighbors advertise different IP MTUs, they will not form an adjacency. (unless OSPF has
been instructed to ignore differences in IP MTU with the
ip ospf mtu-ignore command.)
no ip mtu
This command resets the ip mtu to the default value.
encapsulation
This command configures the link layer encapsulation type for the packet on an interface or range of interfaces.
The encapsulation type can be
ethernet or snap.
Format
no ip netdirbcast
Mode Interface Config
Note: The IP MTU size refers to the maximum size of the IP packet (IP Header + IP payload). It does
not include any extra bytes that may be required for Layer-2 headers. To receive and process packets,
the Ethernet MTU (see “mtu” on page 270) must take into account the size of the Ethernet header.
Default 1500 bytes
Format
ip mtu 68-12270
Mode Interface Config
Format
no ip mtu
Mode Interface Config
Default ethernet
Format
encapsulation {ethernet | snap}
Mode Interface Config