OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : ip ospf mtu
ip ospf mtu
Use this command to set MTU size for OSPF to construct packets based on this value. Whenever OSPF constructs packets, it uses interface MTU size as Maximum IP packet size. This command forces OSPF to use the specified value overriding the actual interface MTU size.
This command does not configure the MTU settings in the kernel. OSPF does not recognize MTU size changes made in the kernel until the MTU size is updated through this command.
Use the no parameter with this command to return to the default value.
Command Syntax
ip ospf mtu <576-65535>
no ip ospf mtu
Parameters
mtu
Specify an MTU size.
<576-65535>
Specify an MTU size.
Default
By default, OSPF uses interface MTU derived from the kernel.
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ip ospf mtu 1480
Last modified date: 07-13-2023