No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S5700 switch mtu setting on L3 interfaces

Publication Date:  2015-07-17 Views:  19496 Downloads:  29

Issue Description

We noticed one thing, while testing  S5720-HI switch with V200R007C00SPC500 version onboard.

We configured L3 interface from L2 int using undo portswitch command.
And applied mtu command


[S5720-HI-ACC1-GigabitEthernet0/0/36]di th
interface GigabitEthernet0/0/36
undo portswitch
mtu 3000
ip address
ospf enable 1 area

But command display interface shows us that:


<S5720-HI-ACC1>dis int g 0/0/36
GigabitEthernet0/0/36 current state : UP
Line protocol current state : UP
Last line protocol up time : 2015-07-14 09:34:23
Route Port,The Maximum Frame Length is 9216

The Maximum Frame Length is 9216.   9216 is constant and independent of mtu setting parameter.

Maximum Frame Length  is not MTU, which is set by mtu command.

Real mtu (ip)  can be checked by protocol commands.


Display ospf brief

Interface: (GigabitEthernet0/0/36)
Cost: 1       State: DR        Type: Broadcast    MTU: 3000 
Priority: 1
Designated Router:
Backup Designated Router:
Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1



But if we use real L3 interface,  on AR router for example,  or  vlanif interface:



interface GigabitEthernet0/0/2
mtu 9202
ip address
ospf enable 1 area


[AR3260-GigabitEthernet0/0/2]dis int g 0/0/2
GigabitEthernet0/0/2 current state : UP
Line protocol current state : UP
Last line protocol up time : 2015-07-14 14:46:02
Description:HUAWEI, AR Series, GigabitEthernet0/0/2 Interface
Route Port,The Maximum Transmit Unit is 9202

We set mtu 9202 and this is shown by display interface command.



Take care when setting and verify mtu parameter  on ex L3 interfaces (undo portswitch) at S5700 devices.

By display interface command it is still shown L2 Maximum Frame Length.