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 | interface-number.subnumber ] ]

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 | interface-number.subnumber ] ]

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 packets dropped on an interface.

display packet-drop { interface [ interface-type [ interface-number | interface-number.subnumber ] ] | summary }

Display the Ethernet module statistics (in standalone mode).

display ethernet statistics slot slot-number

Display the Ethernet module statistics (in IRF mode).

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 ] ]

Clear the Ethernet module statistics (in standalone mode).

reset ethernet statistics [ slot slot-number ]

Clear the Ethernet module statistics (in IRF mode).

reset ethernet statistics [ chassis chassis-number slot slot-number ]


[NOTE: ]

NOTE:

Only the interfaces on the SAP-4EXP(JG366A) card support the display packet-drop and reset packet-drop interface commands.