DGS-6604
ip mtu
CLI Reference Guide
283
ip mtu
Use this command to set the MTU value in TCP/IP stack. Use the default form to
restore to the default ip mtu size.
ip mtu
BYTES
default ip mtu
Default
1500 bytes
Command Mode
VLAN interface configuration
Usage Guideline
IP packets sent by the device will be fragmented based on this value.
Some routing protocols, such as OSPF, will use this value to advertise routing
updates.
Examples
This example shows how to set ip mtu as 6000 bytes at vlan 4.
This example shows how to restore the default ip mtu.
Verify the settings by entering the
show interface
command.
Syntax Description
BYTES
Set the IP MTU value in TCP/IP stack. The range is 1280 to 9692 bytes.
Switch# configure terminal
Switch(config)# interface vlan4
Switch(config-if) ip mtu 6000
Switch(config-if)# end
Switch# configure terminal
Swtich(config)# interface vlan4
Switch(config-if)# default ip mtu
Switch(config-if)# end