H3C S5120-SI Series Command Reference Manual

Type
Command Reference Manual
H3C S5120-SI Switch Series
Layer 2 - LAN Switching Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1505
Document version: 6W101-20111108
Copyright © 2011, Hangzhou H3C Technologies Co., Ltd. and its licensors
All rights reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C,
, Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, V
n
G, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C S5120-SI documentation set includes 10 command references, which describe the commands
and command syntax options for the H3C S5120-SI Switch Series, Release 1505.
The Layer 2 – LAN Switching Command Reference describes LAN switching configuration commands.
It covers commands for implementing flow control and load balancing, isolating users in the same VLAN,
eliminating Layer 2 loops, dividing VLANs, and modifying VLAN tags of packets.
This preface includes:
• Audience
• Added and modified commands
• Conventions
• About the H3C S5120-SI documentation set
• Obtaining documentation
• Technical support
• Documentation feedback
Audience
This documentation is intended for:
• Network planners
• Field technical support and servicing engineers
• Network administrators working with the S5120-SI series
Added and modified commands
Compared to Release1101, Release1505 adds, modifies, and deletes the following commands:
Command reference Added and modified commands
Ethernet interface
commands
Added commands:
• link-delay
• loopback-detection multi-port-mode enable
• display interface brief down
Modified commands:
• display brief interface is changed into display interface brief
Loopback and null
interface commands
—
MAC address table
commands
Modified commands: The disable-forwarding keyword is deleted from the
mac-address max-mac-count command.
Command reference Added and modified commands
Ethernet link aggregation
commands
Added commands:
• display link-aggregation load-sharing mode
• lacp period short
• link-aggregation lacp traffic-redirect-notification enable
• link-aggregation load-sharing mode
• link-aggregation load-sharing mode local-first
Modified commands:
The lacp port-priority command is changed to link-aggregation port-priority.
Port isolation commands —
MSTP commands
Added commands:
• bpdu-drop any
• display stp bpdu-statistics
VLAN commands
Added commands:
• MAC-based VLAN configuration commands
• Protocol-based VLAN configuration commands
• QoS priority configuration commands for voice packets
GVRP commands —
QinQ commands QinQ configuration commands are all newly added.
LLDP commands —
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Description
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which
you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from
which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical
bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical
bars, from which you may select multiple choices or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can
be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Description
Boldface
Window names, button names, field names, and menu items are in Boldface. For
example, the New User window appears; click OK.
> Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention Description
WARNING
An alert that calls attention to important information that if not understood or followed can
result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or followed can
result in data loss, data corruption, or damage to hardware or software.
IMPORTANT
An alert that calls attention to essential information.
NOTE
An alert that contains additional or supplementary information.
TIP
An alert that provides helpful information.
About the H3C S5120-SI documentation set
The H3C S5120-SI documentation set includes:
Category Documents Purposes
Marketing brochures Describe product specifications and benefits.
RPS Ordering Information for H3C
Low-End Ethernet Switches
Provides the RPS and switch compatibility matrix and
RPS cable specifications.
Product
description and
specifications
H3C Low End Series Ethernet
Switches Pluggable Modules
Manual
Describes the models, appearances, and
specifications of the pluggable modules available for
the products.
Quick Start Guide Provides a quick guide to hardware installation.
Installation Manual
Provides a complete guide to hardware installation
and hardware specifications.
Provides regulatory information and the safety
instructions that must be followed during installation.
Hardware
installation
Pluggable SFP[SFP+][XFP]
Transceiver Modules Installation
Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
Configuration guides
Describe software features and configuration
procedures.
Software
configuration
Command references Provide a quick reference to all available commands.
H3C Series Ethernet Switches
Login Password Recovery Manual
Describes how to find or recover a lost password.
Operations
and
maintenance
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
Category Documents Purposes
technical support information, and software
upgrading.
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at
http://www.h3c.com
.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Tech
nical Documents] – Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions]
– Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download]
– Provides the documentation released with the
software version.
Technical support
customer_service@h3c.com
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Contents
Ethernet interface configuration commands··············································································································· 1
broadcast-suppression ·············································································································································1
description·································································································································································2
display interface ·······················································································································································3
display loopback-detection··································································································································· 11
display port-group manual ··································································································································· 11
display storm-constrain ········································································································································· 12
duplex····································································································································································· 14
flow-control····························································································································································· 15
flow-interval···························································································································································· 15
group-member························································································································································ 16
interface·································································································································································· 16
jumboframe enable ··············································································································································· 17
link-delay ································································································································································ 17
loopback ································································································································································ 18
loopback-detection control enable ······················································································································ 19
loopback-detection enable ··································································································································· 19
loopback-detection interval-time··························································································································· 20
loopback-detection multi-port-mode enable ········································································································ 21
loopback-detection per-vlan enable ···················································································································· 22
mdi ·········································································································································································· 23
multicast-suppression············································································································································· 23
port auto-power-down··········································································································································· 24
port bridge enable ················································································································································ 25
port-group manual················································································································································· 26
reset counters interface ········································································································································· 26
shutdown ································································································································································ 27
speed ······································································································································································ 28
speed auto ····························································································································································· 28
storm-constrain ······················································································································································· 29
storm-constrain control ·········································································································································· 30
storm-constrain enable log ··································································································································· 31
storm-constrain enable trap ·································································································································· 31
storm-constrain interval ········································································································································· 32
unicast-suppression················································································································································ 33
virtual-cable-test ····················································································································································· 34
Loopback and null interface configuration commands····························································································36
description······························································································································································ 36
display interface loopback··································································································································· 37
display interface null ············································································································································· 40
interface loopback ················································································································································ 41
interface null··························································································································································· 41
reset counters interface loopback ························································································································ 42
reset counters interface null ·································································································································· 42
shutdown ································································································································································ 43
MAC address table configuration commands ·········································································································44
display mac-address ············································································································································· 44
display mac-address aging-time ·························································································································· 45
ii
display mac-address statistics ······························································································································ 46
mac-address (interface view)································································································································ 47
mac-address (system view) ··································································································································· 48
mac-address max-mac-count (interface view) ····································································································· 49
mac-address timer ················································································································································· 50
Ethernet link aggregation configuration commands································································································51
description······························································································································································ 51
display interface bridge-aggregation·················································································································· 51
display lacp system-id ··········································································································································· 53
display link-aggregation load-sharing mode······································································································ 54
display link-aggregation member-port ················································································································ 56
display link-aggregation summary······················································································································· 58
display link-aggregation verbose ························································································································ 59
enable snmp trap updown ··································································································································· 61
interface bridge-aggregation ······························································································································· 62
lacp period short ··················································································································································· 63
lacp system-priority················································································································································ 63
link-aggregation lacp traffic-redirect-notification enable··················································································· 64
link-aggregation load-sharing mode ··················································································································· 65
link-aggregation load-sharing mode local-first ··································································································· 65
link-aggregation port-priority································································································································ 66
link-aggregation mode·········································································································································· 67
port link-aggregation group ································································································································· 67
reset counters interface ········································································································································· 68
reset lacp statistics················································································································································· 68
shutdown ································································································································································ 69
Port isolation configuration commands ····················································································································70
display port-isolate group····································································································································· 70
port-isolate enable················································································································································· 71
port-isolate group ·················································································································································· 72
MSTP configuration commands·································································································································73
active region-configuration··································································································································· 73
bpdu-drop any ······················································································································································· 73
check region-configuration··································································································································· 74
display stp ······························································································································································ 75
display stp abnormal-port····································································································································· 80
display stp bpdu-statistics ····································································································································· 81
display stp down-port············································································································································ 84
display stp history·················································································································································· 85
display stp ignored-vlan········································································································································ 86
display stp region-configuration ·························································································································· 87
display stp root ······················································································································································ 88
display stp tc·························································································································································· 88
instance ·································································································································································· 89
region-name ··························································································································································· 90
reset stp ·································································································································································· 91
revision-level··························································································································································· 92
stp bpdu-protection················································································································································ 92
stp bridge-diameter ··············································································································································· 93
stp compliance······················································································································································· 93
stp config-digest-snooping ···································································································································· 94
stp cost···································································································································································· 95
stp edged-port························································································································································ 96
iii
stp enable······························································································································································· 97
stp ignored vlan····················································································································································· 98
stp loop-protection················································································································································· 99
stp max-hops ·························································································································································· 99
stp mcheck····························································································································································100
stp mode·······························································································································································101
stp no-agreement-check ······································································································································101
stp pathcost-standard ··········································································································································102
stp point-to-point ··················································································································································103
stp port priority ····················································································································································104
stp port-log ···························································································································································105
stp priority ····························································································································································105
stp region-configuration ······································································································································106
stp root primary ···················································································································································107
stp root secondary···············································································································································107
stp root-protection················································································································································108
stp tc-protection····················································································································································109
stp tc-protection threshold ···································································································································109
stp timer forward-delay·······································································································································110
stp timer hello·······················································································································································111
stp timer max-age ················································································································································111
stp timer-factor ·····················································································································································112
stp transmit-limit ···················································································································································113
vlan-mapping modulo ·········································································································································114
VLAN configuration commands ····························································································································· 115
VLAN configuration commands··································································································································115
description····························································································································································115
display interface vlan-interface ··························································································································116
display vlan··························································································································································118
interface vlan-interface········································································································································119
ip address ····························································································································································120
name·····································································································································································121
reset counters interface vlan-interface ···············································································································121
shutdown ······························································································································································122
vlan ·······································································································································································122
Port-based VLAN configuration commands···············································································································124
display port ··························································································································································124
port········································································································································································125
port access vlan···················································································································································125
port hybrid pvid···················································································································································126
port hybrid vlan ···················································································································································128
port link-type ························································································································································129
port trunk permit vlan··········································································································································130
port trunk pvid······················································································································································132
MAC address-based VLAN configuration commands ·····························································································133
display mac-vlan··················································································································································133
display mac-vlan interface··································································································································135
mac-vlan enable ··················································································································································135
mac-vlan mac-address·········································································································································136
mac-vlan trigger enable······································································································································137
port pvid disable ·················································································································································138
vlan precedence ··················································································································································138
Protocol-based VLAN configuration commands ·······································································································139
display protocol-vlan interface···························································································································139
iv
display protocol-vlan vlan···································································································································140
port hybrid protocol-vlan ····································································································································141
protocol-vlan ························································································································································143
Voice VLAN configuration commands··················································································································· 145
display voice vlan oui ·········································································································································145
display voice vlan state ······································································································································146
voice vlan aging··················································································································································147
voice vlan enable ················································································································································148
voice vlan mac-address ······································································································································148
voice vlan mode auto··········································································································································149
voice vlan qos······················································································································································150
voice vlan qos trust··············································································································································151
voice vlan security enable ··································································································································152
GVRP configuration commands ····························································································································· 153
display garp statistics··········································································································································153
display garp timer ···············································································································································154
display gvrp local-vlan········································································································································155
display gvrp state ················································································································································155
display gvrp statistics ··········································································································································157
display gvrp status···············································································································································158
display gvrp vlan-operation ·······························································································································159
garp timer hold····················································································································································159
garp timer join·····················································································································································160
garp timer leave ··················································································································································161
garp timer leaveall ··············································································································································161
gvrp·······································································································································································162
gvrp registration ··················································································································································163
reset garp statistics ··············································································································································163
QinQ configuration commands ····························································································································· 165
qinq enable··························································································································································165
qinq ethernet-type················································································································································166
qinq vid ································································································································································167
raw-vlan-id inbound ············································································································································168
LLDP configuration commands································································································································ 170
display lldp local-information·····························································································································170
display lldp neighbor-information······················································································································174
display lldp statistics ···········································································································································179
display lldp status················································································································································181
display lldp tlv-config ··········································································································································182
lldp admin-status··················································································································································184
lldp check-change-interval ··································································································································185
lldp compliance admin-status cdp ·····················································································································186
lldp compliance cdp ···········································································································································186
lldp enable ···························································································································································187
lldp encapsulation snap······································································································································187
lldp fast-count·······················································································································································188
lldp hold-multiplier···············································································································································189
lldp management-address-format string ············································································································189
lldp management-address-tlv······························································································································190
lldp notification remote-change enable·············································································································191
lldp timer notification-interval ·····························································································································191
lldp timer reinit-delay ··········································································································································192
v
lldp timer tx-delay················································································································································192
lldp timer tx-interval ·············································································································································193
lldp tlv-enable·······················································································································································193
Index ········································································································································································ 196
1
Ethernet interface configuration commands
broadcast-suppression
Syntax
broadcast-suppression { ratio | pps max-pps | kbps max-kbps }
undo broadcast-suppression
View
Ethernet interface view, port group view
Default level
2: System level
Parameters
ratio: Sets the broadcast suppression threshold as a percentage of the port transmission capability, in the
range 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, the value range is 1 to 1488100.
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, the value range is 1 to 1024000.
Description
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, confi
g
ure 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.
Examples
# Set the broadcast suppression threshold to 20% on Ethernet interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] broadcast-suppression 20
2
# Set the broadcast suppression threshold to 20% on all ports in manual port group group1.
<Sysname> system-view
[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
Syntax
description text
undo description
View
Ethernet interface view
Default level
2: System level
Parameters
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 (1 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 lo
g
in to the device throu
g
h remote lo
g
in 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.
Description
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, GigabitEthernet1/0/1
Interface for example.
Related commands: display interface.
Examples
# Change the description of interface GigabitEthernet 1/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] description lanswitch-interface
3
display interface
Syntax
display interface [ interface-type ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface interface-type interface-number [ brief ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
brief: Displays brief interface information. If you do not specify this keyword, the command displays
detailed interface information.
down: Displays information about interfaces in the 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 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, which is a case-sensitive string of 1 to 256 characters.
Description
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 is specified, this command displays
information about all interfaces of the particular type.
Related commands: interface.
Examples
# Display detailed information about Layer 2 interface GigabitEthernet 1/0/1.
<Sysname> display interface gigabitethernet1/0/1
GigabitEthernet1/0/1 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e000-0010
Description: GigabitEthernet1/0/1 Interface
Loopback is not set
Media type is twisted pair, Port hardware type is 1000_BASE_T
1000Mbps-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 10240
4
Broadcast MAX-ratio: 100%
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
PVID: 1
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: Never
Peak value of input: 1205 bytes/sec, at 2000-04-26 12:02:26
Peak value of output: 299 bytes/sec, at 2000-04-26 12:00:51
Last 300 seconds input: 7 packets/sec 659 bytes/sec 0%
Last 300 seconds output: 1 packets/sec 109 bytes/sec 0%
Input (total): 34606 packets, 3026637 bytes
1846 unicasts, 27572 broadcasts, 5188 multicasts, 0 pauses
Input (normal): 34606 packets, 3026637 bytes
1846 unicasts, 27572 broadcasts, 5188 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, - throttles
0 CRC, 0 frame, 0 overruns, 0 aborts
- ignored, - parity errors
Output (total): 1388 packets, 157690 bytes
1139 unicasts, 2 broadcasts, 247 multicasts, 0 pauses
Output (normal): 1388 packets, 157690 bytes
1139 unicasts, 2 broadcasts, 247 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
Table 1 Command output description
Field Description
GigabitEthernet1/0/1 current state
Physical state of the Ethernet interface, which can be one of the
following:
• DOWN ( Administratively )—The Ethernet interface was shut down
with the shutdown command, that is, 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..
IP Packet Frame Type Ethernet framing format on the interface
Description Description of the interface
Loopback Loopback testing status of the interface
5
Field Description
100Mbps-speed mode, half-duplex
mode
The interface operates at 100 Mbps and in half duplex mode.
Link speed type is autonegotiation The interface will negotiate a speed with its peer.
link duplex type is autonegotiation The interface will negotiate a duplex mode with its peer.
The Maximum Frame Length The maximum Ethernet frame length allowed on the interface
Broadcast MAX-ratio
Broadcast suppression threshold as a percentage of the interface
transmission capability. When the threshold is exceeded, the interface
drops broadcast packets.
Unicast MAX-ratio
Unknown unicast suppression threshold as a percentage of the
interface transmission capability. When the threshold is exceeded, the
interface drops unknown unicast packets.
Multicast MAX-ratio
Multicast suppression threshold as a percentage of the interface
transmission capability. When the threshold is exceeded, the interface
drops multicast packets.
PVID Default VLAN ID
Mdi type Cable type
Port link-type Link type of the interface, which could be access, trunk, and hybrid.
Tagged VLAN ID
VLANs for which the interface sends packets without removing VLAN
tags.
Untagged VLAN ID VLANs for which the interface sends packets after removing VLAN tags
Last clearing of counters: Never
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 device was started.
Peak value of input
Peak value of inbound traffic, in bytes/sec. Support for this field
depends on your device model.
Peak value of output
Peak value of outbound traffic, in bytes/sec. Support for this field
depends on your device model.
Last 300 seconds input: 7
packets/sec 659 bytes/sec 0%
Last 300 seconds output: 1
packets/sec 109 bytes/sec 0%
Average rate of input and output traffic in the last 300 seconds, in pps
and Bps
Input (total): 34606 packets,
3026637 bytes
1846 unicasts, 27572
broadcasts, 5188 multicasts, 0
pauses
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.
Input (normal): 34606 packets,
3026637 bytes
1846 unicasts, 27572
broadcasts, 5188 multicasts, 0
pauses
Inbound normal traffic (including unicast, broadcast, and multicast)
and pause frame statistics (in packets and bytes) for the interface.
input errors Inbound packets with errors
6
Field Description
runts
Inbound frames shorter than 64 bytes, in correct format, and
containing valid CRCs.
giants
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 1518 bytes (without VLAN tags) or 1522
bytes (with VLAN tags).
• For an Ethernet interface that permits jumbo frames, giants refer to
frames larger than 10236 bytes (without VLAN tags) or 10240
bytes (with VLAN tags).
- throttles
The number of times that the port shut down due to buffer or CPU
overload.
CRC
Total number of inbound frames that had a normal length, but
contained checksum errors
frame
Total number of inbound frames that contained checksum errors and a
non-integer number of bytes
overruns
Number of packet drops because the input rate of the port exceeded
the queuing capability
aborts
Total number of illegal inbound packets, including:
• 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 (the frame length may or
may not be integers). 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 10236 bytes (without VLAN tags)
or 10240 bytes (with VLAN tags).
• 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 bytes to 1500 bytes)
ignored
Number of inbound frames dropped because the receive buffer of the
port ran low.
- parity errors Total number of frames with parity errors
Output (total): 1388 packets,
157690 bytes
1139 unicasts, 2 broadcasts,
247 multicasts, 0 pauses
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.
Output (normal): 1388 packets,
157690 bytes
1139 unicasts, 2 broadcasts,
247 multicasts, 0 pauses
Outbound normal traffic (including unicast, broadcast, and multicast)
and pause frame statistics (in packets and bytes) for the interface.
output errors Outbound error packet statistics
7
Field Description
- underruns
Number of packet drops because the output rate of the interface
exceeded the output queuing capability. This is a low-probability
hardware anomaly.
- buffer failures
Number of packets dropped because the transmit buffer of the
interface ran low.
aborts
Number of packets that failed to be transmitted, for example, because
of Ethernet collisions.
deferred
Number of frames that the interface deferred to transmit because of
detected collisions.
collisions
Number of frames that the interface stopped transmitting because
Ethernet collisions were detected during transmission.
late collisions
Number of frames that the interface deferred to transmit after
transmitting their first 512 bits, because of detected collisions.
lost carrier
Number of carrier losses during transmission. This counter applies to
serial WAN interfaces.
- no carrier
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 2 Description on the possible physical states of a Layer 2 Ethernet interface
Field Description
UP The interface is physically up.
DOWN
The interface is physically down because no physical connection exists
(possibly reason: the network cable is disconnected or faulty).
DOWN ( Administratively )
The interface is physically down because it was shut down with the shutdown
command. To restore its physical state, use the undo shutdown command.
DOWN ( Link-Aggregation
interface down )
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.
DOWN ( OAM connection
failure )
The interface is physically down because an OAM connection fails to be
established on it or the current OAM connection is disconnected.
DOWN ( DLDP connection
failure )
The interface is physically down because a DLDP connection fails to be
established on it or the current DLDP connection is disconnected.
DOWN ( Loopback
detection-protected )
The interface is shut down because a loop is detected on it.
DOWN ( BPDU-protected ) The interface is shut down by the BPDU guard function.
DOWN ( Monitor-Link uplink
down )
The interface is physically down because the uplink of the monitor link group
to which it belongs is down.
# Display brief information about all interfaces.
8
<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 Description
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.0.89
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 Description
GE1/0/1 DOWN auto A T 400
GE1/0/2 DOWN auto A A 2
GE1/0/3 DOWN auto A A 3
GE1/0/4 DOWN auto A A 1
GE1/0/5 DOWN auto A A 1
GE1/0/6 UP 1G(a) F(a) A 1
GE1/0/7 DOWN auto A A 1
GE1/0/8 DOWN auto A A 1
GE1/0/9 DOWN auto A 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; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.0.89
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.
# 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 Description
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.0.89
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 Description
9
GE1/0/45 UP 1G(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 Description
NULL0 UP UP(s) --
Vlan1 UP UP 192.168.0.89
# 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
Vlan10 DOWN Not connected
The brief information of interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
GE1/0/1 DOWN Not connected
GE1/0/2 DOWN Not connected
GE1/0/3 DOWN Not connected
GE1/0/4 DOWN Not connected
GE1/0/5 DOWN Not connected
GE1/0/6 DOWN Not connected
Table 3 Command output description
Field Description
The brief information of
interface(s) under route
mode:
The command displays brief information about Layer 3 interfaces
Link: ADM -
administratively down;
Stby - standby
The interface has been shut down by the network administrator. To recover its
physical layer state, perform the undo shutdown command.
Stby indicates that the current interface is a standby interface.
Protocol: (s) - spoofing
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 Interface name
Link
Physical link state of the interface, which can be:
• 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 Protocol connection state of the interface, which can be UP, DOWN, or UP(s).
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209

H3C S5120-SI Series Command Reference Manual

Type
Command Reference Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI