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

Similar documents
HP A3100 v2 Switch Series

HP 3600 v2 Switch Series

Ethernet interface configuration commands

Ethernet interface commands

Ethernet Interface Configuration Commands

Ethernet Interface Configuration Commands

Ethernet interface configuration commands

HP 5130 EI Switch Series

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

Table of Contents 1 Ethernet Interface Configuration Commands 1-1

HP 6125G & 6125G/XG Blade Switches

HPE FlexNetwork 5510 HI Switch Series

HP 5920 & 5900 Switch Series

HP 5120 SI Switch Series

HP A3100 v2 Switch Series

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

HP FlexFabric 5700 Switch Series

H3C S6300 Switch Series

H3C S6800 Switch Series

H3C S7500E-XS Switch Series

H3C S5820X&S5800 Series Ethernet Switches

H3C S5500-HI Switch Series

H3C S3100V2 Switch Series

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

H3C S5130-HI Switch Series

H3C WX3000E Series Wireless Switches

H3C S6300 Switch Series

HP 6600/HSR6600 Routers

Table of Contents. Chapter 1 Port Configuration Overview

HP A6600 Routers Interface. Configuration Guide. Abstract

HP 5500 EI & 5500 SI Switch Series Troubleshooting Guide

HP 5800 & 5820X Switch Series Troubleshooting Guide

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

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

HP 5920 & 5900 Switch Series

Appendix A Command Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

FSOS. Ethernet Configuration Guide

HP FlexFabric 5700 Switch Series

HP A5120 EI Switch Series IRF. Command Reference. Abstract

HP Routing Switch Series

Configuring Interfaces

FSOS Ethernet Port Configuration

HP 5920 & 5900 Switch Series

Contents. Configuring LLDP 2

HP MSR Router Series Interface

HP 3600 v2 Switch Series

Contents. Configuring LLDP 2

Configuring Interfaces

Global Interface Commands on the Cisco ASR 9000 Series Router

Application Guide. VLANs for improved Q-SYS performance

ProCurve Switch G ProCurve Switch G

Table of Contents 1 LLDP Configuration 1-1

HP 6125 Blade Switch Series

Configuring Interfaces and Circuits

HP Load Balancing Module

HP VSR1000 Virtual Services Router

H3C SR6600/SR6600-X Routers

HP VPN Firewall Appliances

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

Configuring Port-Based Traffic Control

1 of :22

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

HP 5820X & 5800 Switch Series IRF. Command Reference. Abstract

Chapter 4 Configuring Switching

Appendix A Command Index

Table of Contents Chapter 1 MSTP Configuration

HP FlexFabric 5700 Switch Series

Loop detection commands 1

HP 5920 & 5900 Switch Series FAQ

Configuring Link Aggregation on the ML-MR-10 card

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

Loopback detection configuration commands

HP 6125 Blade Switch Series

HP 5920 & 5900 Switch Series

Configuring Interfaces

Contents. Configuring LLDP 2

HP A5500 EI & A5500 SI Switch Series Network Management and Monitoring. Configuration Guide. Abstract

HP FlexFabric 5930 Switch Series

HP 5920 & 5900 Switch Series

Configuring Port-Based Traffic Control

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

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

HP A3100 v2 Switch Series

H3C S10500 Switch Series

H3C SR G Core Routers

Configuring Interfaces

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

HP 6125 Blade Switch Series

HP FlexFabric 5700 Switch Series

Index. Numerics. Index p priority (QoS) definition Q VLAN standard w as a region 5-54

Figure 7-1 Unicast Static FDB window

HP 5820X & 5800 Switch Series Network Management and Monitoring. Configuration Guide. Abstract

HP 5120 SI Switch Series

HPE FlexFabric 7900 Switch Series

Contents. Configuring LLDP 2

Troubleshooting - Access

Configuring Gigabit Ethernet Interfaces

Table of Contents 1 VLAN Configuration 1-1

Configuring Port-Based Traffic Control

Configuring Rapid PVST+

Transcription:

HP A5120 EI Switch Series Layer 2 - LAN Switching Command Reference Abstract This document describes the commands and command syntax options available for the HP A Series products. This document is intended for network planners, field technical support and servicing engineers, and network administrators who work with HP A Series products. Part number: 5998-1790 Software version: Release 2208 Document version: 5W100-20110530

Legal and notice information Copyright 2011 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

Contents Ethernet interface configuration commands 1 broadcast-suppression 1 description 2 display counters 3 display counters rate 4 display interface 5 display interface brief 10 display loopback-detection 14 display packet-drop interface 15 display packet-drop summary 16 display port combo 16 display port-group manual 17 display storm-constrain 18 duplex 20 flow-control 20 flow-control receive enable 21 flow-interval 22 group-member 22 interface 23 jumboframe enable 23 link-delay 24 link-delay mode up 25 loopback 26 loopback-detection action 26 loopback-detection control enable 27 loopback-detection enable 28 loopback-detection interval-time 29 loopback-detection multi-port-mode enable 30 loopback-detection per-vlan enable 31 mdi 31 multicast-suppression 32 port auto-power-down 33 port bridge enable 34 port-group manual 35 reset counters interface 35 reset packet-drop interface 36 shutdown 36 speed 37 speed auto 38 storm-constrain 39 storm-constrain control 40 storm-constrain enable log 41 storm-constrain enable trap 41 storm-constrain interval 42 unicast-suppression 43 virtual-cable-test 44 Loopback and null interface configuration commands 46 description 46 display interface loopback 47 iii

display interface null 50 interface loopback 51 interface null 51 reset counters interface loopback 52 reset counters interface null 52 shutdown 53 MAC address table configuration commands 54 display mac-address 54 display mac-address aging-time 56 display mac-address mac-learning 56 display mac-address statistics 57 mac-address (interface view) 58 mac-address (system view) 59 mac-address mac-learning disable 60 mac-address max-mac-count (interface view) 61 mac-address timer 62 MAC Information configuration commands 64 mac-address information enable (Ethernet interface view) 64 mac-address information enable (system view) 64 mac-address information interval 65 mac-address information mode 66 mac-address information queue-length 66 Ethernet link aggregation configuration commands 68 description 68 display interface bridge-aggregation 68 display lacp system-id 71 display link-aggregation load-sharing mode 72 display link-aggregation member-port 74 display link-aggregation summary 76 display link-aggregation verbose 77 enable snmp trap updown 79 interface bridge-aggregation 80 lacp port-priority 81 lacp period short 81 lacp system-priority 82 link-aggregation lacp traffic-redirect-notification enable 82 link-aggregation load-sharing mode 83 link-aggregation load-sharing mode local-first 85 link-aggregation mode 86 port link-aggregation group 86 reset counters interface 87 reset lacp statistics 88 shutdown 88 Port isolation configuration commands 89 display port-isolate group 89 port-isolate enable 90 MSTP configuration commands 92 active region-configuration 92 bpdu-drop any 92 check region-configuration 93 display stp 94 display stp abnormal-port 100 iv

display stp bpdu-statistics 101 display stp down-port 104 display stp history 105 display stp region-configuration 106 display stp root 107 display stp tc 108 instance 109 region-name 110 reset stp 110 revision-level 111 stp bpdu-protection 112 stp bridge-diameter 112 stp compliance 113 stp config-digest-snooping 114 stp cost 115 stp edged-port 116 stp enable 117 stp loop-protection 118 stp max-hops 118 stp mcheck 119 stp mode 120 stp no-agreement-check 120 stp pathcost-standard 121 stp point-to-point 122 stp port priority 123 stp port-log 124 stp priority 124 stp region-configuration 125 stp root primary 126 stp root secondary 126 stp root-protection 127 stp tc-protection 128 stp tc-protection threshold 128 stp timer forward-delay 129 stp timer hello 130 stp timer max-age 130 stp timer-factor 131 stp transmit-limit 132 vlan-mapping modulo 133 BPDU tunneling configuration commands 134 bpdu-tunnel dot1q 134 bpdu-tunnel tunnel-dmac 135 VLAN configuration commands 137 VLAN configuration commands 137 description 137 display interface vlan-interface 138 display vlan 140 interface vlan-interface 141 ip address 142 name 143 reset counters interface vlan-interface 144 shutdown 144 vlan 145 Port-based VLAN configuration commands 146 v

display port 146 port 147 port access vlan 148 port hybrid pvid 149 port hybrid vlan 150 port link-type 151 port trunk permit vlan 152 port trunk pvid 154 MAC address-based VLAN configuration commands 155 display mac-vlan 155 display mac-vlan interface 157 mac-vlan enable 157 mac-vlan mac-address 158 mac-vlan trigger enable 159 port pvid disable 159 vlan precedence 160 Protocol-based VLAN configuration commands 161 display protocol-vlan interface 161 display protocol-vlan vlan 162 port hybrid protocol-vlan 163 protocol-vlan 164 IP subnet-based VLAN configuration commands 166 display ip-subnet-vlan interface 166 display ip-subnet-vlan vlan 167 ip-subnet-vlan 168 port hybrid ip-subnet-vlan 169 Isolate-user-VLAN configuration commands 171 display isolate-user-vlan 171 isolate-user-vlan 172 isolate-user-vlan enable 174 isolated-vlan enable 174 port isolate-user-vlan 175 Voice VLAN configuration commands 177 display voice vlan oui 177 display voice vlan state 178 voice vlan aging 179 voice vlan enable 180 voice vlan mac-address 180 voice vlan mode auto 181 voice vlan qos 182 voice vlan qos trust 183 voice vlan security enable 184 GVRP configuration commands 185 display garp statistics 185 display garp timer 186 display gvrp local-vlan 187 display gvrp state 187 display gvrp statistics 189 display gvrp status 190 display gvrp vlan-operation 191 garp timer hold 191 garp timer join 192 garp timer leave 193 vi

garp timer leaveall 193 gvrp 194 gvrp registration 195 reset garp statistics 195 QinQ configuration commands 197 qinq enable 197 qinq ethernet-type 198 qinq transparent-vlan 199 qinq vid 200 raw-vlan-id inbound 200 LLDP configuration commands 202 display lldp local-information 202 display lldp neighbor-information 206 display lldp statistics 211 display lldp status 213 display lldp tlv-config 214 lldp admin-status 216 lldp check-change-interval 217 lldp compliance admin-status cdp 218 lldp compliance cdp 218 lldp enable 219 lldp encapsulation snap 219 lldp fast-count 220 lldp hold-multiplier 221 lldp management-address-format string 221 lldp management-address-tlv 222 lldp notification remote-change enable 223 lldp timer notification-interval 223 lldp timer reinit-delay 224 lldp timer tx-delay 224 lldp timer tx-interval 225 lldp tlv-enable 225 Support and other resources 228 Contacting HP 228 Subscription service 228 Related information 228 Documents 228 Websites 228 Conventions 229 Index 231 vii

Ethernet interface configuration commands broadcast-suppression broadcast-suppression { ratio pps max-pps kbps max-kbps } undo broadcast-suppression Ethernet interface view, port group view ratio: Sets the broadcast suppression threshold as a percentage of the port transmission capability, ranging from 1 to 100. The smaller the percentage, the less broadcast traffic is allowed to pass through. pps max-pps: Sets the broadcast suppression threshold in pps to limit the number of broadcast packets passing through the Ethernet port per second. For a Gigabit port, the value range is 1 to 1488100. For a 10-Gigabit port, the value range is 1 to 14881000. kbps max-bps: Sets the broadcast suppression threshold in kbps to limit the number of kilobits of broadcast traffic passing through the Ethernet port per second. For a Gigabit port, the value range is 1 to 1000000. For a 10-Gigabit port, the value range is 1 to 10000000. Use the broadcast-suppression command to set the broadcast suppression threshold on one or multiple Ethernet interfaces. Use the undo broadcast-suppression command to restore the default. By default, Ethernet interfaces do not suppress broadcast traffic. If you execute this command in Ethernet interface, the configuration takes effect only on the current interface. If you execute this command in port-group view, the configuration takes effect on all the ports in the port group. When broadcast traffic exceeds the broadcast suppression threshold, the interface discards broadcast packets until the broadcast traffic drops below the threshold. NOTE: If you set different broadcast suppression thresholds in Ethernet interface view or port-group view multiple times, the one configured last takes effect. For a particular type of traffic, configure either storm suppression or storm control, but not both. If both of them are configured, you may fail to achieve the expected storm control effect. 1

description # Set the broadcast suppression threshold to 20% on Ethernet interface GigabitEthernet 1/0/1. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] broadcast-suppression 20 # Set the broadcast suppression threshold to 20% on all ports in manual port group group1. [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/1 [Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/2 [Sysname-port-group-manual-group1] broadcast-suppression 20 description text undo description Ethernet interface view text: Creates an interface description, a string of 1 to 80 characters. Valid characters and symbols include English letters (A to Z, a to z), digits (0 to 9), special English characters, spaces, and other Unicode characters and symbols. NOTE: Each Unicode character takes the space of two regular characters. To use a type of Unicode characters or symbols in an interface description, install the specific input method editor and log in to the device through remote login software that supports this 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 current interface. Use the undo description command to restore the default. The default description of an interface is the interface name plus Interface. For example, GigabitEthernet1/0/1 Interface. Related commands: display interface. # Change the description of interface GigabitEthernet 1/0/1 to lanswitch-interface. [Sysname] interface gigabitethernet 1/0/1 2

[Sysname-GigabitEthernet1/0/1] description lanswitch-interface display counters display counters { inbound outbound } interface [ interface-type ] [ { begin exclude include } regular-expression ] Any view 1: Monitor level inbound: Displays inbound traffic statistics. outbound: Displays outbound traffic statistics. interface-type: Specifies an interface type as GE port or 10-GE port.. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 the inbound traffic statistics for all GigabitEthernet interfaces. <Sysname> display counters inbound interface gigabitethernet Interface Total(pkts) Broadcast(pkts) Multicast(pkts) Err(pkts) GE1/0/1 100 100 0 0 GE1/0/2 0 0 0 0 GE1/0/3 Overflow Overflow Overflow Overflow GE1/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 Abbreviated interface name. 3

Field Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts) Overflow: more than 14 decimal digits(7 digits for column "Err"). Total number of packets received or sent through the interface. You can specify the direction of the packets by using the inbound or outbound keyword. Total number of broadcast packets received/sent through the interface. You can specify the direction of the packets by using the inbound or outbound keyword. Total number of multicast packets received/sent through the interface. You can specify the direction of the packets by using the inbound or outbound keyword. Total number of error packets received/sent through the interface. You can specify the direction of the packets by using the inbound or outbound keyword. The command displays Overflow, if any of the following apply: The data length of an error statistic is greater than 7 decimal digits. The data length of a statistic of any other type is greater than 14 decimal digits. --: not supported. The statistical item is not supported. display counters rate display counters rate { inbound outbound } interface [ interface-type ] [ { begin exclude include } regular-expression ] Any view 1: Monitor level inbound: Displays inbound traffic rate statistics. outbound: Displays outbound traffic rate statistics. interface-type: Specifies an interface type as GE port or 10-GE port.. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 rate command to display traffic rate statistics over the last sampling interval. 4

The statistics cover only interfaces in the 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. As for the sampling interval, you can use the flow-interval command to set the sampling interval. The system default is five minutes. Related commands: flow-interval. # Display 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) GE1/0/1 0 -- -- 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/sending packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword. Average rate (packets per second) of receiving/sending broadcast packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword. Average rate (packets per second) of receiving/sending multicast packets during the sampling interval. You can specify the direction of the packets using the inbound and outbound keyword. The command displays Overflow, if any of the following apply: The data length of an error statistic is greater than 7 decimal digits. The data length of a statistic of any other type is greater than 14 decimal digits. --: not supported. The statistical item is not supported. display interface display interface [ interface-type [ interface-number ] ] [ { begin exclude include } regularexpression ] Any view 1: Monitor level interface-type: Specifies an interface type. 5

interface-number: Specifies an interface number. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 detailed information about interfaces, including their operating status. If neither interface type nor interface number is specified, the command displays detailed information about all interfaces. If only interface type is specified, the command displays detailed information about all interfaces of the particular type. If both interface type and interface number are specified, the command displays detailed information about only the specified interface. Related commands: interface. # Display detailed information about GigabitEthernet 1/0/2. <Sysname> display interface gigabitethernet 1/0/2 GigabitEthernet1/0/1 current state: DOWN IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-8927-b001 : GigabitEthernet1/0/1 Interface Loopback is not set Media type is twisted pair Port hardware type is 1000_BASE_T Unknown-speed mode, unknown-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: 1 Mdi type: auto Link delay is 0(sec) Port link-type: access Tagged VLAN ID : none Untagged VLAN ID : 1 Port priority: 0 Peak value of input: 0 bytes/sec, at 2000-04-26 17:18:22 Peak value of output: 0 bytes/sec, at 2000-04-26 17:18:22 Last 300 seconds input: 0 packets/sec 0 bytes/sec -% Last 300 seconds output: 0 packets/sec 0 bytes/sec -% 6

Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier Table 3 display interface command (in bridge mode) output description Field current state IP Packet Frame Type Hardware address Loopback Unknown-speed mode unknown-duplex mode The Maximum Frame Length Broadcast MAX-ratio Unicast MAX-ratio Multicast MAX-ratio PVID Mdi type Port link-type Tagged VLAN ID Untagged VLAN ID Peak value of input Peak value of output Physical state of the Ethernet interface. For more information, see Table 4. Ethernet framing format on the port. Hardware address of the port. of the port. Loopback testing status on the port. The port will negotiate a speed with its peer. The port will negotiate a duplex mode with its peer. The maximum Ethernet frame length allowed on the port. Broadcast suppression threshold as a percentage of the port transmission capability. When the threshold is exceeded, the port drops broadcast packets. Unknown unicast suppression threshold as a percentage of the port transmission capability. When the threshold is exceeded, the port drops unknown unicast packets. Multicast suppression threshold as a percentage of the port transmission capability. When the threshold is exceeded, the port drops multicast packets. Port VLAN ID. Cable type. Link type of the port, which could be access, trunk, or hybrid. VLANs for which the port sends packets without removing VLAN tags. VLANs for which the port sends packets after removing VLAN tags. Peak value of inbound traffic, in Bps. Peak value of outbound traffic, in Bps. 7

Field Last 300 seconds input: 0 packets/sec 0 bytes/sec Last 300 seconds output: 0 packets/sec 0 bytes/sec Input (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Input (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses input errors runts giants throttles frame - overruns aborts - ignored Average rate of input and output traffic in the last 300 seconds, in pps and Bps. Inbound traffic statistics (in packets and bytes) for the port. All inbound normal and abnormal packets, and pause frames were counted. Inbound normal traffic and pause frame statistics (in packets and bytes) for the port. Inbound error packet statistics. Inbound frames shorter than 64 bytes, in correct format, and containing valid CRCs. Frames received that were longer than the maximum frame length supported on the interface. For an Ethernet interface that forbids jumbo frames, giants refer to frames that are longer than 1536 bytes (without VLAN tags) or 1540 bytes (with VLAN tags). For an Ethernet interface that permits jumbo frames, giants refer to frames that are longer than 9212 bytes (without VLAN tags) or 9216 bytes (with VLAN tags). The number of times that the port shut down because of buffer or CPU overload. 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 could be an integer or non-integer value. Jabber frames Frames that were longer than the maximum frame length supported on the Ethernet interface and contained checksum errors (the frame lengths in bytes may or may not be integers). For an Ethernet interface that permits jumbo frames, jabber frames refer to frames that are longer than 9212 bytes (without VLAN tags) or 9216 bytes (with VLAN tags) and contain checksum errors; for an Ethernet interface that forbids jumbo frames, jabber frames refer to frames that are longer than 1536 bytes (without VLAN tags) or 1540 bytes (with VLAN tags) and contain checksum errors. 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 bytes to 1500 bytes). Number of inbound packets dropped because the receive buffer of the port ran low. 8

Field - parity errors Total number of frames with parity errors. Output (total): 0 packets, 0 bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses Output (normal): 0 packets, - bytes 0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses output errors - underruns - buffer failures aborts deferred collisions late collisions lost carrier - no carrier Outbound traffic statistics (in packets and bytes) for the port. All outbound normal and abnormal packets, and pause frames were counted. Outbound normal traffic and pause frame statistics (in packets and bytes) for the port. Outbound error packet statistics. Number of packet drops because the output rate of the port exceeded the output queuing capability. This is a low probability hardware anomaly. Number of packets dropped because the transmit buffer of the port ran low. Number of packets that failed to be transmitted, for example, because of Ethernet collisions. Number of frames that the port deferred to transmit because of detected collisions. Number of frames that the port stopped transmitting because Ethernet collisions were detected during transmission. Number of frames that the port 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 4 on the possible physical states of a Ethernet interface Field UP DOWN DOWN ( Administratively ) DOWN ( Link-Aggregation interface down ) DOWN ( OAM connection failure ) 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 brought 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 current OAM connection is disconnected. 9

Field DOWN ( DLDP connection failure ) DOWN ( Loopback detection-protected ) DOWN ( BPDU-protected ) DOWN ( Monitor-Link uplink down ) The interface is physically down, because a DLDP connection fails to be established on it or the current 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. display interface brief display interface [ interface-type [ interface-number ] ] brief [ { begin exclude include } regularexpression ] display interface [ interface-type ] brief down [ { begin exclude include } regular-expression ] Any view 1: Monitor level interface-type: Specifies an interface type. interface-number: Specifies an interface number. down: Displays information about interfaces in DOWN state and the relevant causes. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 brief interface command to display brief interface information. If neither interface type nor interface number is specified, this command displays information about all interfaces. If only interface type is specified, this command displays information about interfaces of the specified type. If both the interface type and interface number are specified, this command displays information about the specified interface. # Display brief information about all interfaces. 10

<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 NULL0 UP UP(s) -- Vlan1 UP UP 192.168.0.102 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 GE1/0/1 DOWN 1G F A 1 GE1/0/2 DOWN 1G F A 1 GE1/0/3 DOWN 1G F A 1 GE1/0/4 DOWN 1G F A 1 GE1/0/5 DOWN 1G F A 1 GE1/0/6 DOWN 1G F A 1 GE1/0/7 DOWN 1G F A 1 GE1/0/8 DOWN 1G F A 1 GE1/0/9 DOWN 1G F A 1 # 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 Protocol: (s) - spoofing Interface Link Protocol Main IP Loop0 UP UP(s) 2.2.2.9 NULL0 UP UP(s) -- Vlan1 UP DOWN -- Vlan999 UP UP 192.168.1.42 # 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 Protocol: (s) - spoofing Interface Link Protocol Main IP NULL0 UP UP(s) -- Vlan1 UP DOWN -- Vlan999 UP UP 192.168.1.42 The brief information of interface(s) under bridge mode: Link: ADM - administratively down Speed or Duplex: (a)/a - auto; H - half; F - full Type: A - access; T - trunk; H - hybrid Interface Link Speed Duplex Type PVID 11

GE1/0/3 UP 1G F A 3 GE1/0/3 UP 100M(a) F(a) A 1 # Display the brief information about all but Ethernet 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 NULL0 UP UP(s) -- Vlan1 UP UP 192.168.0.102 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 BAGG1 DOWN auto A A 1 # Display information about interfaces in DOWN state and the relevant causes. <Sysname> display interface brief down The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Vlan102 DOWN Not connected The brief information of interface(s) under bridge mode: Link: ADM - administratively down; Stby - standby Interface Link Cause BAGG1 DOWN Not connected GE1/0/1 DOWN Not connected GE1/0/2 DOWN Not connected GE1/0/4 DOWN Not connected GE1/0/5 DOWN Not connected Table 5 Output description Field The brief information of interface(s) under route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface 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. 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. Interface name. 12

Field Link Protocol The brief information of interface(s) under bridge mode: 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, including UP, DOWN, and UP(s). 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 Duplex Type PVID Cause 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. 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 (PVID) of the interface. Causes for the physical state of an interface to be DOWN. For more information, see Table 6. Table 6 Causes for the physical state of an interface to be DOWN Field Not connected Administratively Link-Aggregation interface down No physical connection exists (possibly because the network cable is disconnected or faulty). The port was brought 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 current interface belongs was shut down with the shutdown command. 13

Field OAM connection failure DLDP connection failure Loopback detection-protected BPDU-protected Monitor-Link uplink down OAM connection fails (possibly because the connection fails to be established or the current connection is disconnected). DLDP connection fails (possibly because the connection fails to be established or the current 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 current monitor link group to which the current interface belongs is down. display loopback-detection display loopback-detection [ { begin exclude include } regular-expression ] Any view 1: Monitor level : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 loopback-detection command to display the status of the loopback detection function. If loopback detection is enabled, this command also displays the detection interval and ports in a loop condition. # Display information about loopback detection. <Sysname> display loopback-detection Loopback-detection is running. Loopback-detection is in multi-port mode. Detection interval is 30 seconds. No port is detected with loopback. 14

display packet-drop interface display packet-drop interface [ interface-type [ interface-number ] ] [ { begin exclude include } regular-expression ] Any view 1: Monitor level interface-type: Specifies an interface type as GE port or 10-GE port. interface-number: Specifies an interface number. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 packet-drop interface command to display information about packets dropped on an interface or multiple interfaces. If you do not specify an interface type or interface number, this command displays information about dropped packets on all the interfaces on the device. If you specify an interface type only, this command displays information about dropped packets on the specified type of interfaces. If you specify both the interface type and interface number, this command displays information about dropped packets on the specified interface. # Display information about dropped packets on GigabitEthernet 1//01. <Sysname> display packet-drop interface gigabitethernet 1/0/1 GigabitEthernet1/0/1: Packets dropped by GBP full or insufficient bandwidth: 301 Packets dropped by FFP: 261 Packets dropped by STP non-forwarding state: 321 Table 7 Output description Field Packets dropped by GBP full or insufficient bandwidth Packets dropped by FFP Packets that are dropped because the buffer is used up or the bandwidth is insufficient. Inbound packets that are filtered out. 15

Field Packets dropped by STP non-forwarding state Packets that are dropped because STP is in the nonforwarding state. display packet-drop summary display packet-drop summary [ { begin exclude include } regular-expression ] Any view 1: Monitor level : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 packet-drop summary command to display the summary information about dropped packets on all interfaces. # Display information about dropped packets on all interfaces. <Sysname> display packet-drop summary All interfaces: Packets dropped by GBP full or insufficient bandwidth: 301 Packets dropped by FFP: 261 Packets dropped by STP non-forwarding state: 321 For the description of some fields in the output, see Table 7. display port combo display port combo [ { begin exclude include } regular-expression ] Any view 1: Monitor level 16

: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all the 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 port combo command to display the combo interfaces of the device and the corresponding optical ports and electrical ports. # Display the combo interfaces of the device and the corresponding optical ports and electrical ports. <Sysname> display port combo Combo-group Active Inactive 1 GigabitEthernet2/0/11 GigabitEthernet2/0/25 2 GigabitEthernet2/0/12 GigabitEthernet2/0/26 3 GigabitEthernet2/0/23 GigabitEthernet2/0/27 4 GigabitEthernet2/0/24 GigabitEthernet2/0/28 Table 8 Output description Field Combo-group Active Inactive Combo interfaces of the device, represented by combo interface numbers that are generated by the system. Active ports of the combo interfaces. Inactive ports of combo interfaces. In a combo interface, the optical or electrical port with the smaller port number is active by default. You can determine whether a port is an optical port or an electrical port by checking the Media type is field of the display interface command. display port-group manual display port-group manual [ all name port-group-name ] [ { begin exclude include } regularexpression ] Any view all: Displays information about all port groups. name port-group-name: Specifies the name of a port group, a string of 1 to 32 characters. 17

: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 port-group manual command to display information about port groups. If the all keyword is specified, this command displays the name and member Ethernet interfaces of each port group on the device. If a port group is specified, this command displays its name and member Ethernet interfaces. If you specify neither the all keyword nor a port group name, the command displays the name of each port group on the device. # Display the names of all port groups. <Sysname> display port-group manual The following manual port group exist(s): group1 # Display detailed information about all port groups. <Sysname> display port-group manual all Member of group1: group2 GigabitEthernet1/0/3 GigabitEthernet1/0/4 GigabitEthernet1/0/5 GigabitEthernet1/0/6 GigabitEthernet1/0/7 Member of group2: None # Display detailed information about port group group1. <Sysname> display port-group manual name group1 Member of group1: GigabitEthernet1/0/3 GigabitEthernet1/0/4 GigabitEthernet1/0/5 GigabitEthernet1/0/6 display storm-constrain GigabitEthernet1/0/7 display storm-constrain [ broadcast multicast unicast ] [ interface interface-type interface-number ] [ { begin exclude include } regular-expression ] Any view 1: Monitor level 18

broadcast: Displays broadcast storm control settings and statistics. multicast: Displays multicast storm control settings and statistics. unicast: Displays unknown unicast storm control settings and statistics. interface interface-type interface-number: Specifies an interface by its type and number with the interfacetype interface-number argument. : Filters command output by specifying a regular expression. For more information about regular expressions, see the 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 storm-constrain command to display storm control settings and statistics. If you provide no argument or keyword, this command displays all storm control settings on all storm control-enabled interfaces. # Display the storm control settings on all storm control-enabled ports. <Sysname> display storm-constrain Abbreviation: BC - broadcast; MC - multicast; UC - unicast Flow Statistic Interval: 5(second) PortName Type LowerLimit UpperLimit CtrMode Status Trap Log SwiNum Unit ------------------------------------------------------------------------------ GE1/0/1 BC 11 1111 N/A normal on on 0 pps Table 9 Output description Field Flow Statistic Interval PortName Type LowerLimit UpperLimit CtrMode Status The traffic polling interval of the storm control module. Abbreviated port name Type of traffic subjected to storm control. Options include broadcast, multicast and unknown unicast. Lower storm control threshold, in pps, kbps, or percentage. Upper storm control threshold, in pps, kbps, or percentage. Protective action (block or shutdown) taken on the port when the upper threshold is reached. If you have not configured any protective action, N/A is displayed. Packet forwarding status: Normal The port is forwarding traffic normally. Control The port is in controlled mode (the actual mode depends on the Ctrmode setting, which may be block or shutdown). 19

Field Trap Log Swinum Status of the storm control threshold event trap switch: On The port sends threshold event traps. Off The port does not send threshold event traps. Status of the storm control threshold event log switch: On The port sends threshold event log messages. Off The port does not send threshold event log messages. Number of times the forwarding state of the interface changes. When the Swi-num count reaches 65,535, it resets automatically. duplex duplex { auto full half } undo duplex Ethernet interface view 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 optical port of an SFP port, or electrical (copper) Ethernet ports operating at 1000 Mbps 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. Related commands: speed. # Configure interface GigabitEthernet 1/0/1 to operate in full-duplex mode. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] duplex full flow-control flow-control undo flow-control 20

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, enable the generic flow control function at both ends of the link. # Enable TxRx mode generic flow control on interface GigabitEthernet 1/0/1. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] flow-control flow-control receive enable flow-control receive enable undo flow-control Ethernet interface view None Use the flow-control receive enable command to enable Rx mode generic flow control on an Ethernet port. Use the undo flow-control command to disable generic flow control on an Ethernet interface. Rx mode generic flow control enables an Ethernet interface to receive and process common pause frames from its peer. The interface does not send common pause frames when it is congested. 21

By default, Rx flow control is disabled on Ethernet interfaces. With the flow-control receive enable command configured, an interface can receive, but not send flow control frames. When the interface receives a flow control frame from its peer, it suspends sending packets to the peer. When traffic congestion occurs on the interface, it cannot send flow control frames to the peer. To handle unidirectional traffic congestion on a link, configure the flow-control receive enable command at one end, and the flow-control command at the other. To enable both ends of the link to handle traffic congestion, configure the flow-control command at both ends. # Enable Rx mode generic flow control on GigabitEthernet 1/0/1. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] flow-control receive enable flow-interval flow-interval interval undo flow-interval Ethernet interface view interval: Sets a 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. The default interface statistics polling interval is 300 seconds. # Set the statistics polling interval to 100 seconds on GigabitEthernet 1/0/1. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] flow-interval 100 group-member group-member interface-list undo group-member interface-list Port group view 22

interface interface-list: Specifies a 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 ports or port ranges. Use the group-member command to assign Ethernet interfaces to a port group. Use the undo group-member command to remove Ethernet interfaces from the port group. By default, a port group does not contain any member ports. # Assign Ethernet interface GigabitEthernet 1/0/1 to port group group1. [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/1 interface interface-type interface-number System view interface-type: Specifies an interface type. interface-number: Specifies an interface number. Use the interface command to enter interface view. # Enter GigabitEthernet 1/0/1 interface view. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] jumboframe enable jumboframe enable undo jumboframe enable 23

Ethernet interface view, port group view.none link-delay Use the jumboframe enable command to allow frames no longer than 9216 bytes to pass through an Ethernet interface. Use the undo jumboframe enable command to prevent frames longer than 1536 bytes from passing through an Ethernet interface. By default, the device allows frames no larger than 9216 bytes to pass through an Ethernet interface. In Ethernet interface view, the command applies only to the current Ethernet interface. In port group view, the command applies to every Ethernet interface in the port group. # Enable jumbo frames to pass through all the Ethernet interfaces in the manual port group named group1. [Sysname] port-group manual group1 [Sysname-port-group-manual-group1] group-member GigabitEthernet 1/0/1 [Sysname-port-group-manual-group1] jumboframe enable # Enable jumbo frames to pass through GigabitEthernet 1/0/1. [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] jumboframe enable link-delay delay-time undo link-delay Ethernet interface view delay-time: Sets a link down suppression interval, ranging from 2 to 10 seconds. Use the link-delay command to enable an Ethernet port to suppress link down events. When the physical link of the port goes down, the port suppresses the link down event and starts a timer. When the timer expires, the physical layer reports the event to the upper layers. 24