21
Configuring a Layer 3 Ethernet interface or
subinterface
Setting the MTU for an Ethernet interface or subinterface
The maximum transmission unit (MTU) of an Ethernet interface affects the fragmentation and
reassembly of IP packets on the interface. Typically, you do not need to modify the MTU of an
interface.
To set the MTU for an Ethernet interface or subinterface:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter Ethernet interface
or subinterface view.
interface
interface-type { interface-number |
interface-number.subnumber }
N/A
3. Set the MTU of the
Ethernet interface or
subinterface.
mtu
size
The default setting is 1500
bytes.
Displaying and maintaining an Ethernet interface
or subinterface
Execute display commands in any view and reset commands in user view.
Task Command
Display interface traffic statistics.
display counters
{
inbound
|
outbound
}
interface
[ interface-type [ interface-number ] ]
Display traffic rate statistics of interfaces
in up state over the last statistics polling
interval.
display counters rate
{
inbound
|
outbound
}
interface
[ interface-type [ interface-number ] ]
Display the operational and status
information of the specified interfaces.
display
interface
[ interface-type [ interface-number |
interface-number.subnumber ] ] [
brief
[
description
|
down
] ]
Display information about dropped
packets on the specified interfaces.
display packet-drop
{
interface
[ interface-type
[ interface-number | interface-number.subnumber ] ] |
summary
}
Display information about storm control
on the specified interfaces.
display storm-constrain
[
broadcast
|
multicast
|
unicast
]
[
interface
interface-type interface-number
]
(In standalone mode.) Display the
Ethernet module statistics.
display ethernet statistics
slot
slot-number
(In IRF mode.) Display the Ethernet
module statistics.
display ethernet statistics chassis
chassis-number
slot
slot-number
Clear interface or subinterface statistics.
reset counters interface
[ interface-type [ interface-number |
interface-number.subnumber ] ]
Clear the statistics of dropped packets
on the specified interfaces.
reset packet-drop interface
[ interface-type
[ interface-number
| interface-number.subnumber ] ]