Changing the MTU value (with the mtu interface configuration command) can affect the IPv4 MTU value.
If the current IPv4 MTU value is the same as the MTU value, and you change the MTU value, the IPv4
MTU value will be modified automatically to match the new MTU. However, the reverse is not true;
changing the IPv4 MTU value has no effect on the value for the mtu command.
Note
Task ID
OperationsTask ID
read, writeipv4
read, writenetwork
read, writeconfig-services
Examples
For releases prior to R4.2.0, this example shows how to set the maximum IPv4 packet size for GigabitEthernet
interface 0/1/1/0 to 300 bytes:
RP/0/RSP0/CPU0:router(config)# interface gigabitethernet 0/1/1/0
RP/0/RSP0/CPU0:router(config-if)# ipv4 mtu 300
For releases R4.2.0 onward, this example shows how to set the maximum IPv4 packet size to 300 bytes in
dynamic template configuration mode:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# dynamic-template type ppp p1
RP/0/RSP0/CPU0:router(config-dynamic-template-type)# ipv4 mtu 300
Related Commands
DescriptionCommand
Displays the MTU status of interfaces configured for
IPv4.
show ipv4 interface (BNG), on page 312
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference, Release
5.2.x
299
IPv4 and IPv6 Commands
ipv4 mtu (BNG)