Ethernet interface configuration commands

Similar documents
Ethernet interface commands

Ethernet interface configuration commands

Ethernet Interface Configuration Commands

Ethernet Interface Configuration Commands

Table of Contents 1 Ethernet Interface Configuration Commands 1-1

HP A5120 EI Switch Series Layer 2 - LAN Switching. Command Reference. Abstract

HP A3100 v2 Switch Series

HP 3600 v2 Switch Series

HP 5130 EI Switch Series

HP 5920 & 5900 Switch Series

HPE FlexNetwork 5510 HI Switch Series

HP MSR Router Series. Layer 2 LAN Switching Command Reference(V7)

H3C S6800 Switch Series

Transient Traffic Interruption on Ports Due to Source MAC Address Attacks Troubleshooting. Table of Contents

H3C S6300 Switch Series

HP 6600/HSR6600 Routers

HP 6125G & 6125G/XG Blade Switches

H3C S7500E-XS Switch Series

HP A6600 Routers Interface. Configuration Guide. Abstract

HP A3100 v2 Switch Series

H3C SR6600/SR6600-X Routers

HP 5500 EI & 5500 SI Switch Series Troubleshooting Guide

HP 5120 SI Switch Series

HP 5820X & 5800 Switch Series Layer 2 - LAN Switching. Configuration Guide. Abstract

HP FlexFabric 5700 Switch Series

HP 5800 & 5820X Switch Series Troubleshooting Guide

Contents. Tunneling commands 1

H3C S3100V2 Switch Series

H3C S5500-HI Switch Series

Table of Contents. Chapter 1 Port Configuration Overview

H3C S5820X&S5800 Series Ethernet Switches

Contents. Tunneling commands 1

HP MSR Router Series. Interface Configuration Guide(V7) Part number: b Software version: CMW710-R0304 Document version: 6PW

HP MSR Router Series Interface

Loop detection commands 1

Configuring POS interfaces

H3C S5130-HI Switch Series

H3C WX3000E Series Wireless Switches

Global Interface Commands on the Cisco ASR 9000 Series Router

H3C S6300 Switch Series

HP MSR Router Series. Interface Configuration Guide(V7) Part number: a Software version: CMW710-R0106 Document version: 6PW

Troubleshooting - Access

Configuring Link Aggregation on the ML-MR-10 card

FSOS Ethernet Port Configuration

Global Interface Commands on the. Cisco ASR 9000 Series Router.

Loopback detection configuration commands

Configuring Interfaces

Configuring Interfaces

Configuring Interfaces

Configuring Interfaces

HPE FlexNetwork 5130 EI Switch Series Troubleshooting Guide

H3C S5120-SI Series Ethernet Switches Layer 2 LAN Switching Configuration Guide

Configuring Gigabit Ethernet Interfaces

Global Interface Commands on Cisco IOS XR Software

Configuring Interfaces and Circuits

Configuring MPLS L2VPN

NOTE: The S9500E switch series supports HDLC encapsulation only on POS interfaces. Enabling HDLC encapsulation on an interface

Configuring MPLS L2VPN

Configuring Interfaces on the ML-Series Card

Configuring Port-Based Traffic Control

Quidway S5700 Series Ethernet Switches V100R006C01. Configuration Guide - Ethernet. Issue 02 Date HUAWEI TECHNOLOGIES CO., LTD.

Single-router APS for the Cisco Series Router

Powered by Accton. ES Port Gigabit Web-Smart Switch. Management Guide.

Configuring Port-Based Traffic Control

The configuration of the router at the initial stage was fairly simple (quoting only significant commands, not the entire config):

Configuring IEEE 802.3ad Link Bundling and Load Balancing

Configuring Interfaces

1 of :22

Table of Contents 1 VLAN Configuration 1-1

Configuring Interfaces

Configuring Port-Based Traffic Control

Contents. Introduction. Methodology. Check for Output Drops. Introduction Methodology

ARP attack protection commands

Application Guide. VLANs for improved Q-SYS performance

VPLS configuration commands

Global Interface Commandsonthe Cisco IOS XR Software

24-Port 10/100 L3 Switch Model: Web Configuration Guide

Lab - Troubleshooting Connectivity Issues

Configuring OpenFlow 1

CCNA Practice test. 2. Which protocol can cause high CPU usage? A. NTP B. WCCP C. Telnet D. SNMP Answer: D

Configuring VPLS. VPLS overview. Operation of VPLS. Basic VPLS concepts

HP FlexFabric 5700 Switch Series

HP FlexFabric 5700 Switch Series

Configuring Interfaces

VPLS configuration commands

Cajun P550/P880 Manger User Guide

Section 3 Understanding Ethernet and Switch Operations

HP 5920 & 5900 Switch Series FAQ

HP A5120 EI Switch Series IRF. Command Reference. Abstract

Throughput Issues on ASR1000 Series Router

Starting Interface Configuration (ASA 5505)

Configuring Port-Based Traffic Control

Contents. Configuring LLDP 2

Contents. Configuring LLDP 2

HPE FlexNetwork 5510 HI Switch Series FAQ

FSOS. Ethernet Configuration Guide

2.2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex clear. This command has no arguments or keywords.

Configuring Ethernet Interfaces

Configuring Ethernet Interfaces

Configuring Interface Characteristics

Transcription:

Contents Ethernet interface configuration commands 1 General Ethernet interface and subinterface configuration commands 1 alarm-detect 1 bandwidth 2 combo enable 2 default 3 description 4 display counters 5 display counters rate 6 display interface 7 duplex 19 flag sdh 20 flow-control 21 flow-interval 21 interface 22 link-delay 23 link-delay enable trap updown 23 loopback 24 port-mode 25 port link-mode 26 port link-mode interface-list 27 reset counters interface 28 shutdown 29 speed 29 threshold 30 Layer 2 Ethernet interface configuration commands 31 broadcast-suppression 31 display port-group manual 32 group-member 33 jumboframe enable 33 mdi 34 multicast-suppression 35 port connection-mode 36 port-group manual 36 port up-mode 37 speed auto 38 unicast-suppression 38 Layer 3 Ethernet interface and subinterface configuration commands 39 mtu 39 i

Ethernet interface configuration commands NOTE: The switch does not support Layer 3 Ethernet interfaces, Layer 3 Ethernet subinterfaces, Layer 3 aggregate interfaces, and Layer 3 aggregate subinterfaces when it works in standard mode. For more information about system working modes, see Fundamentals Configuration Guide. The switch operates in IRF or standalone (the default) mode. For more information about the IRF mode, see IRF Configuration Guide. For more information about the models of the Ethernet interface cards mentioned in the document, see the installation guide. General Ethernet interface and subinterface configuration commands alarm-detect s alarm-detect { rdi sd sf } action link-down undo alarm-detect { rdi sd sf } Ten-GigabitEthernet interface view rdi: Specifies the Remote Defect Indication (RDI) alarm threshold. sd: Specifies the Signal Degrade (SD) alarm threshold. sf: Specifies the Signal Fail (SF) alarm threshold. action: Specifies the protective action when the detected signals exceed the specified alarm threshold. link-down: Brings down the link of the interface. Use the alarm-detect command to configure the protective action for alarms when the 10-GE interface is operating in WAN mode. Use the undo alarm-detect command to restore the default. By default, no protective action is specified for alarms. This command is not available on a 10-GE interface operating in LAN mode. 1

Related commands: threshold and port-mode. NOTE: This command is available only on a 10-GE interface operating in WAN mode. # Configure the system to bring down the link of interface 10GE 4/1/1 when the detected signals exceed the specified alarm threshold on the interface. [Sysname] interface Ten-GigabitEthernet4/1/1 [Sysname-Ten-GigabitEthernet4/1/1] port-mode wan [Sysname-Ten-GigabitEthernet4/1/1] alarm-detect sd action link-down bandwidth bandwidth bandwidth-value undo bandwidth Ethernet interface view bandwidth-value: Sets the intended bandwidth, ranging from 1 to 4,294,967,295 kbps. Use the bandwidth command to set the intended bandwidth for an Ethernet interface. Use the undo bandwidth command to cancel the configuration. You can obtain the intended bandwidth of an interface by querying the ifspeed value of the MIB node with third-party software. The intended bandwidth is used by network management systems for monitoring bandwidth, but does not affect the actual bandwidth of the interface. # Set the intended bandwidth to 10,000 kbps for interface GigabitEthernet 3/0/1. [Sysname] interface GigabitEthernet 3/0/1 [Sysname-GigabitEthernet3/0/1] bandwidth 10000 combo enable combo enable { copper fiber } 2

Ethernet interface view (combo interface) copper: Activates the copper combo port. fiber: Activates the fiber combo port. Use the combo enable command to activate the copper or fiber combo port. By default, the copper combo port is activated. Combo interfaces are logical interfaces. A combo interface comprises one fiber combo port and one copper combo port. The two ports cannot work simultaneously. If one port is enabled, the other port is automatically disabled. In an IRF fabric, if only one physical interface is bound to the IRF port, and the physical interface is a combo interface, you cannot use the combo enable command to activate the corresponding combo interface on the slave device. default # Activate the copper combo port of combo interface GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] combo enable copper # Activate the fiber combo port of combo interface GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] combo enable fiber default Ethernet interface view, Ethernet subinterface view None Use the default command to restore the default settings for an Ethernet interface or subinterface. This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. You can use the display this command in interface view to check 3

for these commands, and perform their undo forms or follow command reference to individually restore their default settings. If your restoration attempt still fails, follow the error message to resolve the problem. CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you perform it on a live network. # Restore the default settings for interface GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] default This command will restore the default settings. Continue? [Y/N]:y # Restore the default settings for subinterface GigabitEthernet 3/0/1.1. [Sysname] interface gigabitethernet 3/0/1.1 [Sysname-GigabitEthernet3/0/1.1] default This command will restore the default settings. Continue? [Y/N]:y description description text undo description Ethernet interface view, Ethernet subinterface view text: Specifies the interface description, a string of 1 to 80 characters. The string can include case-sensitive letters, digits, special characters (including ~! @ # $ % ^ & * ( ) - _ + = { } [ ] \ : ; " ' < >,. /), spaces, and other Unicode characters and symbols. NOTE: Each Unicode character takes the space of two regular characters. To use Unicode characters or symbols in an interface description, install the specific input method editor and log in to the switch through remote login software that supports the character type. When the length of a description string reaches or exceeds the maximum line width on the terminal software, the software starts a new line, possibly breaking a Unicode character into two. As a result, garbled characters may be displayed at the end of a line. Use the description command to change the description of the interface. Use the undo description command to restore the default. 4

The default description of an interface is the interface name plus Interface. For example, GigabitEthernet3/0/1 Interface. Related commands: display interface. # Change the description of interface GigabitEthernet 3/0/1 to lanswitch-interface. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] description lanswitch-interface display counters Any view display counters { inbound outbound } interface [ interface-type ] [ { begin exclude include } regular-expression ] 1: Monitor level inbound: Displays inbound traffic statistics. outbound: Displays outbound traffic statistics. interface-type: Specifies an interface type. If the RPR interface type is specified, broadcast and multicast packets are regarded as multicast packets. : Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Use the display counters command to display traffic statistics for interfaces. If an interface type is specified, this command displays traffic statistics for all interfaces of the specified type. If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic counters. # Display inbound traffic statistics for all GigabitEthernet interfaces. <Sysname> display counters inbound interface gigabitethernet Interface Total(pkts) Broadcast(pkts) Multicast(pkts) Err(pkts) GE3/0/1 100 100 0 0 GE3/0/2 0 0 0 0 5

GE3/0/3 Overflow Overflow Overflow Overflow GE3/0/4 0 0 0 0 Overflow: more than 14 decimal digits(7 digits for column "Err"). --: not supported. Table 1 Output description Field Interface Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts) Overflow: more than 14 decimal digits(7 digits for column "Err"). Abbreviated interface name. Total number of packets received or sent through the interface. Total number of broadcast packets received or sent through the interface. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. Total number of multicast packets received or sent through the interface. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. Total number of error packets received or sent through the interface. The command displays Overflow in any of the following cases: The data length of an error statistic is greater than 7 decimal digits. The data length of a non-error statistic is greater than 14 decimal digits. --: not supported. The statistical item is not supported. display counters rate Any view display counters rate { inbound outbound } interface [ interface-type ] [ { begin exclude include } regular-expression ] 1: Monitor level inbound: Displays inbound traffic rate statistics. outbound: Displays outbound traffic rate statistics. interface-type: Specifies an interface type. If the RPR interface type is specified, broadcast and multicast packets are regarded as multicast packets. : Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. 6

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Use the display counters rate command to display traffic rate statistics over the last sampling interval. The statistics cover only interfaces in up state. If an interface type is specified, the command displays traffic rate statistics for all up interfaces of the specified type. If no interface type is specified, the command displays traffic rate statistics for all up interfaces that have traffic counters. The default sampling interval is 300 seconds. You can change it with the flow-interval command. Related commands: flow-interval. # Display the inbound traffic rate statistics for all GigabitEthernet interfaces. <Sysname> display counters rate inbound interface gigabitethernet Interface Total(pkts/sec) Broadcast(pkts/sec) Multicast(pkts/sec) GE3/0/1 200 100 100 GE3/0/2 300 200 100 GE3/0/3 300 200 100 Overflow: more than 14 decimal digits. --: not supported. Table 2 Output description Field Interface Total (pkts/sec) Broadcast (pkts/sec) Multicast (pkts/sec) Overflow: more than 14 decimal digits. Abbreviated interface name. Average rate (in packets per second) of receiving or sending packets during the sampling interval. Average rate (packets per second) of receiving or sending broadcast packets during the sampling interval. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. Average rate (packets per second) of receiving or sending multicast packets during the sampling interval. On an RPR physical port, all broadcast and multicast packets received or sent are displayed as multicast packets. The command displays Overflow in any of the following cases: The data length of an error statistic is greater than 7 decimal digits. The data length of a non-error statistic is greater than 14 decimal digits. --: not supported. The statistical item is not supported. display interface display interface [ interface-type ] [ brief [ down ] ] [ { begin exclude include } regular-expression ] display interface interface-type { interface-number interface-number.subnumber } [ brief ] [ { begin exclude include } regular-expression ] 7

Any view 1: Monitor level interface-type: Specifies an interface type. interface-number: Specifies an interface number. interface-number.subnumber: Specifies a subinterface number, where interface-number is the number of a Layer 3 Ethernet interface, and subnumber is the number of a subinterface created under the interface. The subnumber argument ranges from 1 to 4093. brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information. down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states. : Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Use the display interface command to display Ethernet interface information. If no interface type is specified, this command displays information about all interfaces. If an interface type is specified but no interface number or subinterface number is specified, this command displays information about all interfaces of that type. Related commands: interface. 1. # Display information about Layer 3 interface GigabitEthernet3/0/1. <Sysname> display interface gigabitethernet 3/0/1 GigabitEthernet3/0/1 current state: UP Line protocol current state: UP : GigabitEthernet5/0/2 Interface The Maximum Transmit Unit is 1500 Link delay is 1(sec) Internet Address is 192.168.10.2/24 Primary IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-96ad IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-96ad Media type is twisted pair, Port hardware type is 1000_BASE_T Loopback is not set 1000Mbps-speed mode, full-duplex mode Last 300 seconds input: 0 packets/sec 0 bytes/sec 0% Last 300 seconds output: 0 packets/sec 0 bytes/sec 0% 8

Input (total): 24 packets, 2264 bytes 2 broadcasts, 0 multicasts, - pauses Input (normal): 24 packets, 2264 bytes 2 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, 0 overruns, - aborts - ignored, - parity errors Output (total): 27 packets, 2526 bytes 2 broadcasts, 0 multicasts, - pauses Output (normal): 27 packets, 2526 bytes 2 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions - lost carrier, - no carrier Peak value of input: 0 bytes/sec, at 2011-04-02 08:46:44 Peak value of output: 0 bytes/sec, at 2011-04-02 08:46:44 2. # Display information about Layer 3 interface GigabitEthernet 3/0/1, which includes only the interface name and traffic statistics. <Sysname> display interface gigabitethernet 3/0/1 include current state: bytes GigabitEthernet3/0/1 current state: UP Line protocol current state: UP Last 300 seconds input: 0 packets/sec 0 bytes/sec 0% Last 300 seconds output: 0 packets/sec 0 bytes/sec 0% Input (total): 51 packets, 4468 bytes Input (normal): 51 packets, 4468 bytes Output (total): 59 packets, 5074 bytes Output (normal): 59 packets, 5074 bytes Peak value of input: 0 bytes/sec, at 2011-04-02 08:46:44 Peak value of output: 0 bytes/sec, at 2011-04-02 08:46:44 Table 3 display interface command (in route mode) output description Field GigabitEthernet3/0/1 current state Line protocol current state Link delay The state of the Ethernet interface: DOWN ( Administratively ) The Ethernet interface was shut down with the shutdown command. The interface is administratively down. DOWN ( Link-Aggregation interface down ) The Ethernet interface is physically down because the aggregate interface corresponding to the aggregation group to which the Ethernet interface belongs was shut down with the shutdown command. DOWN The Ethernet interface is administratively up but physically down (possibly because no physical link is present or the link has failed). UP The Ethernet interface is both administratively and physically up. The link layer state of the interface: DOWN The interface is physically down. UP The interface is physically up. Physical state change suppression interval on an Ethernet interface. 9

Field Internet Address IP Packet Frame Type IPv6 Packet Frame Type Media type loopback not set Last clearing of counters Last 300 seconds input rate Last 300 seconds output rate Input Output Peak value of input Peak value of output IP address of the interface. If the interface is not configured with an IP address, this field changes to Internet protocol processing : disabled, indicating that IP packets cannot be processed. Encapsulation format for IPv4 packets. Encapsulation format for IPv6 packets. The physical medium, twisted pair or optical fiber. The loopback testing function is disabled. For an interface configured with the loopback external or loopback internal command, this field changes to loopback is set. Time when the reset counters interface command was last used to clear the interface statistics. If the command was never used since the switch was started, this field displays Never. Average input rate over the last 300 seconds in Bps, bps, and pps. Average output rate over the last 300 seconds in Bps, bps, and pps. Input packets. Output packets. Peak input rate, in Bps. Peak output rate, in Bps. 3. # Display operating status information and related statistics of Layer 3 Ethernet subinterface GigabitEthernet 3/0/1.1. <Sysname> display interface gigabitethernet 3/0/1.1 GigabitEthernet3/0/1.1 current state: DOWN Line protocol current state: DOWN : GigabitEthernet3/0/1.1 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-96c1 IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-96c1 Last clearing of counters: Never 10

Table 4 display interface command (in Layer 3 subinterface mode) output description Field GigabitEthernet3/0/1.1 current state Line protocol current state Internet protocol processing IP Packet Frame Type IPv6 Packet Frame Type Last clearing of counters The state of the Ethernet subinterface: DOWN ( Administratively ) The Ethernet subinterface was shut down with the shutdown command. The interface is administratively down. DOWN ( Link-Aggregation interface down ) The Ethernet subinterface is physically down because the aggregate interface corresponding to the aggregation group to which the subinterface belongs was shut down with the shutdown command. DOWN The Ethernet subinterface is administratively up but physically down (possibly because no physical link is present or the link has failed). UP The Ethernet subinterface is both administratively and physically up. The link layer state of the subinterface: DOWN The interface is physically down. UP The interface is physically up. Disabled indicates that IP packets cannot be processed. For an interface configured with an IP address, this field changes to Internet Address is. Encapsulation format for IPv4 packets. Encapsulation format for IPv6 packets. Time when the reset counts interface command was last used to clear statistics on the subinterface. If the command was never used since the switch was started, this field displays Never. 4. # Display operating status information and related statistics of Layer 2 interface GigabitEthernet 3/0/1. <Sysname> display interface gigabitethernet 3/0/1 GigabitEthernet3/0/1 current state: UP IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-9512 : GigabitEthernet5/0/5 Interface Loopback is not set Media type is twisted pair, Port hardware type is 1000_BASE_T 100Mbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled The Maximum Frame Length is 9216 Broadcast MAX-ratio: 100% Unicast MAX-ratio: 100% Multicast MAX-ratio: 100% Allow jumbo frame to pass PVID: 3000 Mdi type: auto Link delay is 1(sec) 11

Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 3000 Port priority: 2 Last clearing of counters: Never Peak value of input: 60 bytes/sec, at 2011-04-02 08:47:37 Peak value of output: 220 bytes/sec, at 2011-04-02 09:34:06 Last 300 seconds input: 0 packets/sec 0 bytes/sec 0% Last 300 seconds output: 0 packets/sec 60 bytes/sec 0% Input (total): 85 packets, 16384 bytes 0 unicasts, 78 broadcasts, 7 multicasts, - pauses Input (normal): 85 packets, 16384 bytes 0 unicasts, 78 broadcasts, 7 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, 0 overruns, - aborts - ignored, - parity errors Output (total): 23364 packets, 2953373 bytes 11 unicasts, 2705 broadcasts, 20648 multicasts, - pauses Output (normal): 23364 packets, 2953373 bytes 11 unicasts, 2705 broadcasts, 20648 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions - lost carrier, - no carrier Table 5 display interface command (in bridge mode) output description Field GigabitEthernet3/0/1 current state IP Packet Frame Type 100Mbps-speed mode full-duplex mode Link speed type is autonegotiation link duplex type is autonegotiation Broadcast MAX-ratio Unicast MAX-ratio Physical state of the Ethernet interface. For more information, see Table 6. Ethernet framing format on the interface. The interface operates at 100 Mbps. This field displays Unknown-speed mode when the interface is disconnected from the peer that it will automatically negotiate a port speed with. The interface operates in full duplex mode. This field displays link duplex type is force link when the duplex mode of the interface is fixed and not configurable. The interface will negotiate a speed with its peer. The interface will negotiate a duplex mode with its peer. Broadcast suppression threshold as a percentage of the interface transmission capability. When the threshold is exceeded, the interface drops broadcast packets. Unknown unicast suppression threshold as a percentage of the interface transmission capability. When the threshold is exceeded, the interface drops unknown unicast packets. 12

Field Multicast MAX-ratio Allow jumbo frame to pass PVID Mdi type Link delay Port link-type Tagged VLAN ID Untagged VLAN ID Last clearing of counters: Never Peak value of input Peak value of output Last 300 seconds input: 0 packets/sec 0 bytes/sec Last 300 seconds output: 0 packets/sec 0 bytes/sec Input (total): 85 packets, 16384 bytes 0 unicasts, 78 broadcasts, 7 multicasts, - pauses Input (normal): 85 packets, 16384 bytes 0 unicasts, 78 broadcasts, 7 multicasts, 0 pauses input errors runts giants throttles Multicast suppression threshold as a percentage of the interface transmission capability. When the threshold is exceeded, the interface drops multicast packets. The maximum length of Ethernet frames that are allowed to pass through the interface. Port VLAN ID. Cable type. Physical state change suppression interval on an Ethernet interface. Link type of the interface, which could be access, trunk, and hybrid. VLANs for which the interface sends packets without removing VLAN tags. VLANs for which the interface sends packets after removing VLAN tags. Time when the reset counts interface command was last used to clear statistics on the interface. Never indicates that the reset counts interface command was never used since the switch was started. Peak value of inbound traffic, in Bps. Peak value of outbound traffic, in Bps. Average rate of input and output traffic over the last 300 seconds, in pps and Bps. Inbound traffic statistics (in packets and bytes) for the interface. All inbound normal and abnormal packets (including unicast, broadcast, and multicast), and pause frames were counted. Inbound normal traffic (including unicast, broadcast, and multicast) and pause frame statistics (in packets and bytes) for the interface. Inbound packets with errors. Inbound frames shorter than 64 bytes, in correct format, and containing valid CRCs. Inbound frames larger than the maximum frame length supported on the interface. For an Ethernet interface that does not permit jumbo frames, giants refer to frames larger than 1536 bytes (without VLAN tags) or 1540 bytes (with VLAN tags). For an Ethernet interface that permits jumbo frames, giants refer to frames larger than the maximum length of Ethernet frames that are allowed to pass through, which is configured when you configure jumbo frame support on the interface. The number of times that the port shut down due to buffer or CPU overload. 13

Field CRC frame overruns aborts ignored parity errors Output (total): 23364 packets, 2953373 bytes 11 unicasts, 2705 broadcasts, 20648 multicasts, - pauses Output (normal): 23364 packets, 2953373 bytes 11 unicasts, 2705 broadcasts, 20648 multicasts, 0 pauses output errors underruns buffer failures aborts deferred Total number of inbound frames that had a normal length, but contained checksum errors. Total number of inbound frames that contained checksum errors and a non-integer number of bytes. Number of packet drops because the input rate of the port exceeded the queuing capability. Total number of illegal inbound packets: Fragment frames CRC error frames shorter than 64 bytes. The length can be an integral or non-integral value. Jabber frames CRC error frames greater than the maximum frame length supported on the Ethernet interface (with an integral or non-integral length). For an Ethernet interface that does not permit jumbo frames, jabber frames refer to CRC error frames greater than 1518 bytes (without VLAN tags) or 1522 bytes (with VLAN tags). For an Ethernet interface that permits jumbo frames, jabber frames refer to CRC error frames greater than the maximum length of Ethernet frames that are allowed to pass through the interface (which is configured when you configure jumbo frame support on the interface). Symbol error frames Frames that contained at least one undefined symbol. Unknown operation code frames Non-pause MAC control frames Length error frames Frames whose 802.3 length fields did not accord with the actual frame length (46 to 1500 bytes). Number of inbound frames dropped because the receive buffer of the port ran low. Total number of frames with parity errors. Outbound traffic statistics (in packets and bytes) for the port. All outbound normal and abnormal packets (including unicast, broadcast, and multicast), and pause frames were counted. Outbound normal traffic (including unicast, broadcast, and multicast) and pause frame statistics (in packets and bytes) for the interface. Outbound packets with errors. Number of packet drops because the output rate of the interface exceeded the output queuing capability. This is a low-probability hardware anomaly. Number of packets dropped because the interface ran low on output buffers. Number of packets that failed to be transmitted due to causes such as Ethernet collisions. Number of frames that the interface deferred to transmit because of detected collisions. 14

Field collisions late collisions lost carrier no carrier Number of frames that the interface stopped transmitting because Ethernet collisions were detected during transmission. Number of frames that the interface deferred to transmit after transmitting their first 512 bits, because of detected collisions. Number of carrier losses during transmission. This counter applies to serial WAN interfaces. Number of times that the port failed to detect the carrier when attempting to send frames. This counter applies to serial WAN interfaces. NOTE: If an output field is not available, a hyphen (-) is displayed. Table 6 on the possible physical states of a Layer 2 Ethernet interface Field UP DOWN DOWN ( Administratively ) DOWN ( Link-Aggregation interface down ) DOWN ( OAM connection failure ) DOWN ( DLDP connection failure ) DOWN ( Loopback detection-protected ) DOWN ( BPDU-protected ) DOWN ( Monitor-Link uplink down ) The interface is physically up. The interface is physically down because no physical connection exists (possibly reason: the network cable is disconnected or faulty). The interface is physically down because it was shut down with the shutdown command. To restore its physical state, use the undo shutdown command. The interface is physically down because the aggregate interface corresponding to the aggregation group to which it belongs was shut down with the shutdown command. The interface is physically down because an OAM connection fails to be established on it or the OAM connection is disconnected. The interface is physically down because a DLDP connection fails to be established on it or the DLDP connection is disconnected. The interface is shut down because a loop is detected on it. The interface is shut down by the BPDU guard function. The interface is physically down because the uplink of the monitor link group to which it belongs is down. 5. # Display brief information about all interfaces. <Sysname> display interface brief The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP GE5/0/2 UP UP 192.168.10.2 M-E0/0/0 DOWN DOWN 192.168.1.250 NULL0 UP UP(s) -- Pos2/1/1 DOWN DOWN -- Pos2/1/2 DOWN DOWN -- 15

Pos2/1/3 DOWN DOWN -- Pos2/1/4 DOWN DOWN -- RPRPOS2/2/1 DOWN DOWN -- RPRPOS2/2/2 DOWN DOWN -- Tun2 DOWN DOWN -- Vlan1 ADM DOWN -- Vlan3000 UP UP 192.168.3.2 The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Speed or Duplex: (a)/a - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID GE5/0/1 DOWN auto A A 1 GE5/0/3 UP 100M(a) F(a) A 3000 GE5/0/4 ADM auto A A 1 GE5/0/5 UP 100M(a) F(a) A 3000 GE5/0/6 ADM auto A A 1 GE5/0/7 UP 100M(a) F(a) A 3000 GE5/0/8 UP 1G(a) F(a) A 3000 GE5/0/9 UP 1G(a) F(a) A 3000 6. # Filter the brief interface information to display the line starting with the (s) string and all subsequent lines. <Sysname> display interface brief begin (s) The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP NULL0 UP UP(s) -- Pos2/1/1 DOWN DOWN -- Pos2/1/2 DOWN DOWN -- Pos2/1/3 DOWN DOWN -- Pos2/1/4 DOWN DOWN -- RPRPOS2/2/1 DOWN DOWN -- RPRPOS2/2/2 DOWN DOWN -- Tun2 DOWN DOWN -- Vlan1 ADM DOWN -- Vlan3000 UP UP 192.168.3.2 When you use the begin keyword to filter the output, the system only searches the Layer 3 interface list or the Layer 2 interface list. If regular-expression is on the Layer 3 interface list, the system only displays the line that contains regular-expression, and all subsequent lines on the Layer 3 interface list. 7. # Display brief information about all UP interfaces. <Sysname> display interface brief include UP The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP 16

GE5/0/2 UP UP 192.168.10.2 NULL0 UP UP(s) -- Vlan3000 UP UP 192.168.3.2 The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Speed or Duplex: (a)/a - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID GE5/0/3 UP 100M(a) F(a) A 3000 GE5/0/5 UP 100M(a) F(a) A 3000 GE5/0/7 UP 100M(a) F(a) A 3000 GE5/0/8 UP 1G(a) F(a) A 3000 GE5/0/9 UP 1G(a) F(a) A 3000 8. # Display the brief information about all but GigabitEthernet interfaces. <Sysname> display interface brief exclude GE The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Main IP M-E0/0/0 DOWN DOWN 192.168.1.250 NULL0 UP UP(s) -- Pos2/1/1 DOWN DOWN -- Pos2/1/2 DOWN DOWN -- Pos2/1/3 DOWN DOWN -- Pos2/1/4 DOWN DOWN -- RPRPOS2/2/1 DOWN DOWN -- RPRPOS2/2/2 DOWN DOWN -- Tun2 DOWN DOWN -- Vlan1 ADM DOWN -- Vlan3000 UP UP 192.168.3.2 9. # Display information about interfaces in down state and the relevant causes. <Sysname> display interface brief down The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Interface Link Cause M-E0/0/0 DOWN Not connected Pos2/1/1 DOWN Not connected Pos2/1/2 DOWN Not connected Pos2/1/3 DOWN Not connected Pos2/1/4 DOWN Not connected RPRPOS2/2/1 DOWN Not connected RPRPOS2/2/2 DOWN Not connected Tun2 DOWN Not connected Vlan1 ADM Administratively The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby 17

Interface GE5/0/1 GE5/0/4 GE5/0/6 Link Cause DOWN Not connected ADM Administratively ADM Administratively Table 7 display interface brief command output description Field The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol The command displays brief information about Layer 3 interfaces. ADM The interface has been shut down by the network administrator. To recover its physical layer state, perform the undo shutdown command. Stby The interface is a standby interface. You can use the display standby state command to check the corresponding primary interface. If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, its protocol attribute includes the spoofing flag (an s in parentheses). This attribute is typical of interface Null 0 and the loopback interfaces. Abbreviated interface name. Physical link state of the interface: UP The link is up. DOWN The link is physically down. ADM The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. Stby The interface is a standby interface. Protocol connection state of the interface, which can be UP, DOWN, or UP(s). The interface description. The brief information of interface(s) under bridge mode: Information displayed in this field is restricted by the space. To view the complete interface description, use the display interface command without specifying the brief keyword. Brief information about Layer 2 interfaces. If the speed of an interface is automatically negotiated, its speed attribute includes the auto negotiation flag, letter a in parentheses. Speed or Duplex: (a)/a - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Speed If the duplex mode of an interface is automatically negotiated, its duplex mode attribute includes the following options: (a)/a Auto negotiation H Half negotiation F Full negotiation Link type options for Ethernet interfaces. Interface rate, in bps. 18

Field Duplex Type PVID Cause Duplex mode of the interface: A Auto-negotiation F Full duplex F(a) Auto-negotiated full duplex H Half duplex H(a) Auto-negotiated half duplex Link type of the interface: A Access H Hybrid T Trunk Port VLAN ID. Causes for the physical state of an interface to be DOWN. For more information, see Table 8. Table 8 Causes for the physical state of an interface to be DOWN Field Not connected Administratively Link-Aggregation interface down OAM connection failure DLDP connection failure Loopback detection-protected BPDU-protected Monitor-Link uplink down No physical connection exists (possibly because the network cable is disconnected or faulty). The port was shut down with the shutdown command. To restore the physical state of the interface, use the undo shutdown command. The aggregate interface corresponding to the aggregation group to which the interface belongs was shut down with the shutdown command. OAM connection fails (possibly because the connection fails to be established or the connection is disconnected). DLDP connection fails (possibly because the connection fails to be established or the connection is disconnected). The interface is shut down because a loop is detected on it. The interface is shut down by the BPDU guard function. The uplink of the monitor link group to which the interface belongs is down. duplex duplex { auto full half } undo duplex Ethernet interface view 19

auto: Sets the interface to operate in auto-negotiation mode. full: Sets the interface to operate in full duplex mode. half: Sets the interface to operate in half-duplex mode. This keyword is not available for the fiber combo ports. Use the duplex command to set the duplex mode for an Ethernet interface. Use the undo duplex command to restore the default duplex mode of the Ethernet interface. By default, Ethernet interfaces operate in auto-negotiation mode. 10-GE interfaces do not support this command. flag sdh # Configure the interface GigabitEthernet 3/0/1 to operate in full-duplex mode. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] duplex full flag { j0 j1 } sdh value undo flag { j0 j1 } sdh Ten-GigabitEthernet interface view j0: Sets the regenerator section trace byte. j1: Sets the path trace byte. value: Specifies the value for the J0 or J1 byte, a string of 1 to 15 characters. Use the flag sdh command to set a value for the overhead byte J0 or J1 in Synchronous Digital Hierarchy (SDH) frames when the 10-GE interface works in WAN mode. Use the undo flag sdh command to restore the default value of the J0 or J1 byte. By default, the value of J0 and J1 bytes is all 0s. Related commands: port-mode. NOTE: This command is available only on 10-GE interfaces operating in WAN mode. 20

# Set J0 bytes in SDH frames to Sysname for interface Ten-GigabitEthernet 3/0/1. [Sysname] interface ten-gigabitethernet 3/0/1 [Sysname-Ten-GigabitEthernet3/0/1] port-mode wan [Sysname-Ten-GigabitEthernet3/0/1] flag j0 sdh Sysname flow-control flow-control undo flow-control Ethernet interface view None Use the flow-control command to enable TxRx mode generic flow control on an Ethernet interface. Use the undo flow-control command to disable generic flow control on the Ethernet interface. TxRx mode flow control enables an Ethernet interface to receive common pause frames from its peer, and send common pause frames to notify its peer of congestions. By default, generic flow control on an Ethernet interface is disabled. With the flow-control command configured, an interface can both send and receive flow control frames: When congested, the interface sends a flow control frame to its peer. Upon receiving a flow control frame from the peer, the interface suspends sending packets. To implement flow control on a link, you must enable the generic flow control function at both ends of the link. # Enable TxRx mode generic flow control on the interface GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] flow-control flow-interval flow-interval interval undo flow-interval 21

interface Ethernet interface view interval: Sets the statistics polling interval, in seconds. It ranges from 5 to 300 and must be a multiple of 5. Use the flow-interval command to set the interface statistics polling interval. Use the undo flow-interval command to restore the default interval. By default, the interface statistics polling interval is 300 seconds. # Set the statistics polling interval to 100 seconds on GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] flow-interval 100 interface interface-type { interface-number interface-number.subnumber } System view interface-type: Specifies an interface type. interface-number: Specifies an interface number. interface-number.subnumber: Specifies a subinterface number, where interface-number is the number of a Layer 3 Ethernet interface, and subnumber is the number of a subinterface created under the interface. The subnumber argument ranges from 1 to 4093. Use the interface command to enter interface or subinterface view. With the interface-number.subnumber argument specified, if the subinterface identified by the argument does not exist, this command creates the subinterface first, and then enters subinterface view. # Enter GigabitEthernet 3/0/1 interface view (assuming that the interface is a Layer 2 Ethernet interface). [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] 22

link-delay # Create Ethernet subinterface GigabitEthernet 3/0/1.1 and enter GigabitEthernet 3/0/1.1 subinterface view (assuming that GigabitEthernet 3/0/1 is a Layer 2 Ethernet interface and the subinterface does not exist). [Sysname] interface gigabitethernet 3/0/1.1 [Sysname-GigabitEthernet3/0/1.1] port link-mode route [Sysname-GigabitEthernet3/0/1] quit [Sysname] interface gigabitethernet 3/0/1.1 [Sysname-GigabitEthernet3/0/1.1] link-delay delay-time undo link-delay Ethernet interface view delay-time: Sets the physical state change suppression interval on the Ethernet interface, ranging from 0 to 10 seconds. Use the link-delay command to set the physical state change suppression interval on an Ethernet interface. Use the undo link-delay command to restore the default. By default, the physical state change suppression interval on an Ethernet interface is 1 second. Do not use this command on Ethernet interfaces with RRPP, MSTP, or Smart Link enabled. # Set the physical state change suppression interval on GigabitEthernet 3/0/1 to 8 seconds. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] link-delay 8 link-delay enable trap updown link-delay enable trap updown undo link-delay enable trap updown Ethernet interface view 23

parameters None Use link-delay enable trap updown command to enable the damping function on an interface. Use undo link-delay enable trap updown command to cancel the configuration. By default, the damping function is disabled on interfaces. When both the link-delay and link-delay enable trap updown commands are configured on an interface, the interface does not report link layer state changes to upper layer modules, but generates traps and logs, informing the user to take corresponding actions. Related commands: link-delay. loopback # Enable the damping function on port GigabitEthernet 3/0/1. [Sysname] interface-range GigabitEthernet 3/0/1 [Sysname-GigabitEthernet 3/0/1] link-delay enable trap updown loopback { external internal } undo loopback Ethernet interface view external: Enables external loopback testing to test all on-chip functions related to Ethernet interfaces. This keyword is available on only the Ethernet interface cards supporting 10-G XFP transceiver modules. internal: Enables internal loopback testing to test the hardware of Ethernet interfaces. Use the loopback command to enable loopback testing on an Ethernet interface. Use the undo loopback command to disable loopback testing on an Ethernet interface. By default, loopback testing is disabled on Ethernet interfaces. 24

port-mode NOTE: Enable loopback testing for troubleshooting purposes, such as identifying an Ethernet problem. You cannot perform internal or external loopback testing on an administratively down (ADM DOWN) port. On a physically down (DOWN) port, you can perform only internal loopback testing. During loopback testing, the speed, duplex, mdi, and shutdown commands are not available. In addition, the port is operating in full duplex mode, regardless of its duplex configuration. After loopback testing is disabled, the duplex configuration of the port is restored. # Enable internal loopback testing on GigabitEthernet 3/0/1. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] undo shutdown [Sysname-GigabitEthernet3/0/1] loopback internal port-mode { lan wan } undo port-mode Ten-GigabitEthernet interface view lan: Configures the interface to operate in LAN mode. A port operating in this mode transmits Ethernet packets and connects an Ethernet network. wan: Configures the interface to operate in WAN mode. A port operating in this mode transmits SDH packets and connects an SDH network. In addition, it supports point-to-point packet transmission only. Use the port-mode command to configure a 10-GE interface to work in LAN or WAN mode. Use the undo port-mode command to restore the default. By default, a 10-GE interface operates in LAN mode. # Configure the interface Ten-GigabitEthernet 3/0/1 to operate in the WAN mode. [Sysname] interface ten-gigabitethernet 3/0/1 [Sysname-Ten-GigabitEthernet3/0/1] port-mode wan 25

port link-mode port link-mode { bridge route } undo port link-mode Ethernet interface view bridge: Specifies the Layer 2 mode. route: Specifies the Layer 3 mode. Use the port link-mode command to change the link mode of an Ethernet interface. Use the undo port link-mode command to restore the default. Depending on the layer at which the switch processes received data packets, Ethernet interfaces on the switch may operate either as Layer 2 Ethernet interfaces (in bridge mode), or as Layer 3 Ethernet interfaces (in route mode). By default, Ethernet interfaces operate in Layer 2 (bridge) mode. NOTE: The switch supports this command when the working mode is not the standard mode. The switch works in standard mode by default. For more information about system working modes, see Fundamentals Configuration Guide. After you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are restored to their defaults under the new link mode. Ethernet interfaces that do not support link mode switching include: Layer 3 Ethernet interfaces, link aggregation group member ports, reflector ports of a remote source mirroring group, Ethernet interface in IRF mode and with enhanced IRF enabled, and the internal ports of the LSR1IPS1A1/LSR1ACG1A1 cards. For more information about reflector ports, see Network Management and Monitoring Configuration Guide. For more information about the enhanced IRF mode, see IRF configuration guide. # Configure GigabitEthernet 3/0/1 to operate in Layer 2 mode. [Sysname] interface gigabitethernet 3/0/1 [Sysname-GigabitEthernet3/0/1] display this # interface GigabitEthernet3/0/1 port link-mode route # Return The output shows that GigabitEthernet 3/0/1 operates in route mode. 26

[Sysname-GigabitEthernet3/0/1] port link-mode bridge [Sysname-GigabitEthernet3/0/1] display this # interface GigabitEthernet3/0/1 port link-mode bridge # Return The output shows that GigabitEthernet 3/0/1 is now operating in bridge mode. NOTE: The display this command displays the configuration that takes effect in the current view. port link-mode interface-list port link-mode { bridge route } interface-list System view bridge: Specifies the Layer 2 mode. route: Specifies the Layer 3 mode. interface-list: Specifies an Ethernet interface list, in the format of interface-type interface-number [ to interface-type interface-number ] &<1-10>, where &<1-10> indicates that you can specify up to 10 interfaces or interface ranges. Use the port link-mode interface-list command to change the link mode of Ethernet interfaces. Depending on the layer at which the switch processes received data packets, Ethernet interfaces on the switch may operate either as Layer 2 Ethernet interfaces (in bridge mode), or as Layer 3 Ethernet interfaces (in route mode). You can use this command to change the operating mode of Ethernet interfaces in bulk. By default, Ethernet interfaces operate in Layer 2 mode (bridge mode). Configuring the port link-mode interface-list command in system view and configuring the port link-mode command in Ethernet interface view lead to the same result. The difference between the two commands is that the former changes the link mode of multiple Ethernet interfaces in batch, and the latter changes the link mode of one Ethernet interface at a time. 27

NOTE: The switch supports this command when the working mode is not the standard mode. The switch works in standard mode by default. For more information about system working modes, see Fundamentals Configuration Guide. After you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are restored to their defaults under the new link mode. The link mode configuration for an Ethernet interface in system view and that in interface view supersede each other, and the one configured last takes effect. # Configure GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to operate in Layer 2 mode. [Sysname] port link-mode bridge Gigabitethernet 3/0/1 to Gigabitethernet 3/0/4 # Configure GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to operate in Layer 3 mode. [Sysname] port link-mode route GigabitEthernet 3/0/1 to GigabitEthernet 3/0/5 reset counters interface User view reset counters interface [ interface-type [ interface-number ] ] interface-type: Specifies an interface type. interface-number: Specifies an interface number. Use the reset counters interface command to clear the Ethernet interface statistics. Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first. If no interface type is specified, this command clears statistics for all interfaces. If only the interface type is specified, this command clears statistics for all interfaces of that type. If both the interface type and number are specified, this command clears statistics for the specified interface. # Clear the statistics of GigabitEthernet 3/0/1. <Sysname> reset counters interface gigabitethernet 3/0/1 28