beautypg.com

Displaying and maintaining an ethernet port – H3C Technologies H3C S5120 Series Switches User Manual

Page 93

background image

1-12

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Test the cable connected to the
Ethernet port once

virtual-cable-test

Required

Displaying and Maintaining an Ethernet Port

To do…

Use the command…

Remarks

Display the current state of an
interface and the related
information

display interface [ interface-type
[ interface-number ] ]

Available in any view

Display the summary of an
interface

display brief interface [ interface-type
[ interface-number ] ] [ | { begin | exclude
| include } regular-expression ]

Available in any view

Clear the statistics of an
interface

reset counters interface [ interface-type
[ interface-number ] ]

Available in user view

Display the information about a
manual port group or all the
port groups

display port-group manual [ all | name
port-group-name ]

Available in any view

Display the information about
the loopback function

display loopback-detection

Available in any view

Display the information about
storm constrain

display storm-constrain [ broadcast |
multicast
| unicast ] [ interface
interface-type interface-number ]

Available in any view