Displaying and maintaining an ethernet interface – H3C Technologies H3C S5560 Series Switches User Manual
Page 31
17
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface
view.
interface interface-type interface-number N/A
3.
Set the MTU.
mtu size
The default setting is 1500
bytes.
Displaying and maintaining an Ethernet interface
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 sampling interval.
display counters rate { inbound | outbound } interface
[ interface-type [ interface-number ] ]
Display the operational and status
information of the specified interface or all
interfaces.
display interface [ interface-type [ interface-number ] ]
Display summary information about the
specified interface or all interfaces.
display interface [ interface-type [ interface-number ] ] brief
[ description ]
Display information about dropped
packets on the specified interface or all
interfaces.
display packet-drop { interface [ interface-type
[ interface-number ] ] | summary }
Display information about storm control
on the specified interface or all interfaces.
display storm-constrain [ broadcast | multicast | unicast ]
[ interface interface-type interface-number ]
Display interface card operating mode
information (applicable only to
S5560-54C-EI, S5560-54C-PWR-EI, and
S5560-54S-EI switches).
display port-configuration-mode status
Display the Ethernet statistics.
display ethernet statistics slot slot-number
Clear the interface statistics.
reset counters interface [ interface-type [ interface-number ] ]
Clear the statistics of dropped packets on
the specified interfaces.
reset packet-drop interface [ interface-type [ interface-number ] ]
Clear the Ethernet statistics.
reset ethernet statistics