H3C H3C S7500E Series Command Reference Manual

  • Hello! I am an AI chatbot trained to assist you with the H3C H3C S7500E Series Command Reference Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
H3C S7500E Series Ethernet Switches
Layer 2 - LAN Switching
Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version: 20100930-C-1.01
Product Version: Release 6613 and Later
Copyright © 2010, 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 S7500E documentation set includes 12 command references, which describe the commands
and command syntax options for the S7500E Release 66
10 Series.
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, transmitting customer network frames through the public
network, modifying VLAN tags of packets, remote managing the ONU device, and so on.
This preface includes:
z Audience
z Document Organization
z Conventions
z About the H3C S7500E Documentation Set
z Obtaining Documentation
z Documentation Feedback
Audience
This documentation is intended for:
z Network planners
z Field technical support and servicing engineers
z Network administrators working with the S7500E series
Document Organization
The Layer 2 – LAN Switching Command Reference comprises these parts:
Ethernet Interface
Configuration
Commands
OLT Configuration
Commands
ONU Remote
Management
Configuration
Commands
Alarm Configuration
Commands
Switch Feature-Related
Configuration
Commands
Loopback Interface and
Null Interface
Configuration
Commands
MAC Address Table
Configuration
Commands
MAC Information
Configuration
Commands
Ethernet Link
Aggregation
Configuration
Commands
Port Isolation
Configuration
Commands
MSTP Configuration
Commands
BPDU Tunneling
Configuration
Commands
VLAN Configuration
Commands
Super VLAN
Configuration
Commands
Isolate-User-VLAN
Configuration
Commands
Voice VLAN
Configuration
Commands
GVRP Configuration
Commands
QinQ Configuration
Commands
VLAN Mapping
Configuration
Commands
LLDP Configuration
Commands
Service Loopback Group
Configuration
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.
Symbols
Convention Description
Means reader be extremely careful. Improper operation may cause bodily
injury.
Means reader be careful. Improper operation may cause data loss or damage to
equipment.
Means a complementary description.
About the H3C S7500E Documentation Set
The H3C S7500E documentation set includes:
Category Documents Purposes
Marketing brochures Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software features
and technologies.
Product description
and specifications
Card datasheets Describe card specifications, features, and standards.
Category Documents Purposes
Installation guide
Provides a complete guide to hardware installation
and hardware specifications.
H3C N68 Cabinet
Installation and Remodel
Introduction
Guides you through installing and remodeling H3C
N68 cabinets.
H3C Pluggable SFP
[SFP+][XFP] Transceiver
Modules Installation Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
H3C Mid-Range Series
Ethernet Switches Pluggable
Modules Manual
Describes the hot-swappable modules available for
the Mid-Range Series Ethernet Switches, their
external views, and specifications.
H3C PoE DIMM Module
Installation Guide
Describes how to install the DIMM
(LSBM1POEDIMMH) for PoE master and slave power
management.
Hardware installation
Single PoE DIMM Module
Installation Guide
Describes how to install the 24-port DIMM
(LSQM1POEDIMMS0) for PoE power management.
Configuration guides
Describe software features and configuration
procedures.
Command references Provide a quick reference to all available commands.
Software
configuration
Configuration examples
Describe typical network scenarios and provide
configuration examples and instructions.
Operations and
maintenance
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software upgrading.
H3C PSR320-A[PSR320-D]
Power Module User Manual
Describes the appearance, specifications, LEDs, and
installation and removal of the H3C
PSR320-A/PSR320-D power module.
H3C PSR650-A[PSR650-D]
Power Module User Manual
Describes the appearance, specifications, LEDs, and
installation and removal of the H3C
PSR650-A/PSR650-D power module.
H3C
PSR1400-A[PSR1400-D]
Power Module User Manual
Describes the appearance, specifications, LEDs, and
installation and removal of the H3C
PSR1400-A/PSR1400-D power module.
H3C PSR2800-ACV Power
Module User Manual
Describes the appearance, specifications, LEDs, and
installation and removal of the H3C PSR2800-ACV
power module.
H3C PSR6000-ACV Power
Module User Manual
Describes the appearance, specifications, LEDs, and
installation and removal of the H3C PSR6000-ACV
power module.
H3C PWR-SPA Power
Module Adapter User
Manual
Describes the functions and appearance of the H3C
PWR-SPA power module adapter, and how to use it
with the PSR650 power module.
Power configuration
H3C S7500E Power
Configuration Guide
Guides you to select power modules in various cases.
Category Documents Purposes
Optional cards Card manuals
The S7500E series Ethernet switches support various
card models. Each model is provided with a card
manual that describes:
z The type, number, and transmission rate of
interfaces
z Applicable switches of the card
z Required software version
z Pluggable modules supported by the card
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 > Technical Documents] – Provides hardware installation, 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.
Documentation Feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Table of Contents
1 Ethernet Interface Configuration Commands·························································································1-1
Ethernet Interface Configuration Commands ·························································································1-1
broadcast-suppression····················································································································1-1
description·······································································································································1-2
display interface brief·······················································································································1-3
display counters·······························································································································1-7
display counters rate ·······················································································································1-8
display interface·····························································································································1-10
display loopback-detection············································································································1-15
display packet-drop interface ········································································································1-15
display packet-drop summary ·······································································································1-16
display port combo ························································································································1-17
display port-group manual·············································································································1-18
display storm-constrain··················································································································1-19
duplex············································································································································1-20
flow-control····································································································································1-21
flow-interval ···································································································································1-22
group-member·······························································································································1-22
interface·········································································································································1-23
jumboframe enable························································································································1-23
link-delay ·······································································································································1-24
link-delay mode up ························································································································1-25
loopback········································································································································1-26
loopback-detection action··············································································································1-26
loopback-detection control enable·································································································1-27
loopback-detection enable ············································································································1-28
loopback-detection interval-time····································································································1-29
loopback-detection multi-port-mode enable··················································································1-30
loopback-detection per-vlan enable ······························································································1-31
mdi·················································································································································1-31
multicast-suppression····················································································································1-32
port connection-mode····················································································································1-33
port-group manual·························································································································1-34
reset counters interface·················································································································1-34
reset packet-drop interface············································································································1-35
shutdown ·······································································································································1-36
speed·············································································································································1-37
speed auto·····································································································································1-38
storm-constrain······························································································································1-38
storm-constrain control··················································································································1-40
storm-constrain enable log············································································································1-40
storm-constrain enable trap···········································································································1-41
storm-constrain interval·················································································································1-41
ii
unicast-suppression·······················································································································1-42
virtual-cable-test····························································································································1-43
2 OLT Configuration Commands················································································································2-1
OLT Configuration Commands···············································································································2-1
dba-algorithm enable·······················································································································2-1
dba-algorithm update·······················································································································2-2
dba-parameters·······························································································································2-3
display epon-capability interface·····································································································2-4
display epon-oam interface·············································································································2-5
display epon-parameter slot············································································································2-7
display epon-version interface·········································································································2-8
display epon-workmode interface····································································································2-9
display epon statistics interface·····································································································2-10
display fiber-backup group ············································································································2-11
display onu-event interface ···········································································································2-12
display onuinfo·······························································································································2-13
display onuinfo mac-address·········································································································2-15
display onuinfo silent·····················································································································2-15
display optics-parameters interface·······························································································2-16
display transceiver diagnosis interface onu···················································································2-18
encryption timer·····························································································································2-20
epon-parameter ouilist···················································································································2-20
fiber-backup group·························································································································2-21
grant-filtering enable······················································································································2-22
group member·······························································································································2-22
max-rtt············································································································································2-23
multicast vlan-id dest-ip·················································································································2-24
port fiber-backup group ·················································································································2-24
port hybrid pvid vlan ······················································································································2-25
port hybrid vlan······························································································································2-25
port link-type hybrid·······················································································································2-26
port switch-over·····························································································································2-27
sme enable····································································································································2-27
using onu·······································································································································2-28
3 ONU Remote Management Configuration Commands··········································································3-1
ONU Remote Management Configuration Commands ··········································································3-1
bind onuid········································································································································3-1
dba-report queue-id threshold·········································································································3-1
dba-report queue-set-number ·········································································································3-2
deregister onu··································································································································3-3
display dhcp-client···························································································································3-3
display epon-multicast information··································································································3-4
display onu-protocol ························································································································3-6
display vendor-specific information·································································································3-7
display uni-information·····················································································································3-9
encrypt enable·······························································································································3-12
encrypt key····································································································································3-13
iii
forward-error-correction enable·····································································································3-13
ip address······································································································································3-14
linktest ···········································································································································3-15
loopback enable ····························································································································3-16
management-vlan··························································································································3-16
multicast-control host-aging-time ··································································································3-17
multicast-mode······························································································································3-17
onu bind auto·································································································································3-18
onu bind batch·······························································································································3-19
onu-event·······································································································································3-19
onu port-isolate enable··················································································································3-20
onu-protocol enable·······················································································································3-21
onu-protocol igmp-snooping··········································································································3-22
port access vlan·····························································································································3-23
port link-type··································································································································3-24
port trunk pvid vlan························································································································3-24
reboot onu ·····································································································································3-25
reset counters uni··························································································································3-25
shutdown management-vlan-interface··························································································3-26
uni auto-negotiation·······················································································································3-27
uni description ·······························································································································3-27
uni duplex······································································································································3-28
uni flow-control ······························································································································3-29
uni igmp-snooping fast-leave ········································································································3-29
uni mdi···········································································································································3-30
uni multicast vlan···························································································································3-30
uni multicast-control multicast-address·························································································3-31
uni multicast-group-number···········································································································3-33
uni multicast-strip-tag enable ········································································································3-34
uni port-isolate·······························································································································3-34
uni restart auto-negotiation············································································································3-35
uni shutdown ·································································································································3-35
uni speed·······································································································································3-36
uni virtual-cable-test ······················································································································3-37
uni vlan-mode tag pvid ··················································································································3-38
uni vlan-mode translation pvid·······································································································3-39
uni vlan-mode transparent·············································································································3-40
update onu filename······················································································································3-41
update onu onu-type······················································································································3-42
upstream-sla··································································································································3-44
upstream-sla service-mode enable·······························································································3-44
upstream-sla service ·····················································································································3-45
4 Alarm Configuration Commands·············································································································4-1
Alarm Configuration Commands·············································································································4-1
alarm bit-error-rate···························································································································4-1
alarm bit-error-rate enable···············································································································4-2
alarm device-fatal-error enable ·······································································································4-2
alarm frame-error-rate·····················································································································4-3
iv
alarm frame-error-rate enable·········································································································4-3
alarm llid-mismatch enable··············································································································4-4
alarm llid-mismatch threshold··········································································································4-4
alarm local-stable enable ················································································································4-5
alarm oam critical-event enable ······································································································4-6
alarm oam dying-gasp enable·········································································································4-6
alarm oam error-symbol-period·······································································································4-7
alarm oam error-symbol-period enable···························································································4-8
alarm oam error-frame-period·········································································································4-9
alarm oam error-frame-period enable ·····························································································4-9
alarm oam error-frame···················································································································4-10
alarm oam error-frame enable·······································································································4-11
alarm oam error-frame-seconds-summary····················································································4-12
alarm oam error-frame-seconds-summary enable········································································4-12
alarm oam local-link-fault enable···································································································4-13
alarm oam-vendor-specific enable································································································4-14
alarm onu-over-limitation enable···································································································4-14
alarm port bit-error-rate enable ·····································································································4-15
alarm registration-error enable······································································································4-15
alarm remote-stable enable···········································································································4-16
alarm software-error enable ··········································································································4-16
monitor enable·······························································································································4-17
sample enable·······························································································································4-17
timer monitor··································································································································4-18
timer sample··································································································································4-18
5 Switch Feature-Related Configuration Commands ···············································································5-1
OLT Port Configuration Commands········································································································5-1
ONU Port Configuration Commands·······································································································5-4
6 Loopback and Null Interface Configuration Commands·······································································6-1
Loopback and Null Interface Configuration Commands·········································································6-1
description·······································································································································6-1
display interface loopback···············································································································6-2
display interface null························································································································6-5
interface loopback ···························································································································6-6
interface null····································································································································6-7
reset counters interface loopback ···································································································6-8
reset counters interface null ············································································································6-8
shutdown ·········································································································································6-9
7 MAC Address Table Configuration Commands·····················································································7-1
MAC Address Table Configuration Commands······················································································7-1
display mac-address························································································································7-1
display mac-address aging-time······································································································7-3
display mac-address mac-learning··································································································7-4
display mac-address statistics·········································································································7-5
mac-address (interface view)··········································································································7-6
mac-address (system view)·············································································································7-7
mac-address mac-learning disable ·································································································7-8
v
mac-address max-mac-count (Interface view)················································································7-9
mac-address timer·························································································································7-10
8 MAC Information Configuration Commands··························································································8-1
MAC Information Configuration Commands···························································································8-1
mac-address information enable (Ethernet interface view)·····························································8-1
mac-address information enable (system view)··············································································8-2
mac-address information interval····································································································8-2
mac-address information mode·······································································································8-3
mac-address information queue-length···························································································8-3
9 Ethernet Link Aggregation Configuration Commands··········································································9-1
Ethernet Link Aggregation Configuration Commands ············································································9-1
description·······································································································································9-1
display interface bridge-aggregation·······························································································9-1
display lacp system-id ·····················································································································9-4
display link-aggregation load-sharing mode····················································································9-5
display link-aggregation member-port·····························································································9-7
display link-aggregation summary·································································································9-10
display link-aggregation verbose···································································································9-11
enable snmp trap updown·············································································································9-14
interface bridge-aggregation ·········································································································9-15
lacp port-priority·····························································································································9-15
lacp period short····························································································································9-16
lacp system-priority························································································································9-16
link-aggregation lacp traffic-redirect-notification enable································································9-17
link-aggregation load-sharing mode······························································································9-18
link-aggregation load-sharing mode local-first ··············································································9-20
link-aggregation mode···················································································································9-20
link-aggregation selected-port minimum ·······················································································9-21
port link-aggregation group ···········································································································9-21
reset counters interface·················································································································9-22
reset lacp statistics························································································································9-23
shutdown ·······································································································································9-23
synchronization mac-address enable····························································································9-24
10 Port Isolation Configuration Commands ····························································································10-1
Port Isolation Configuration Commands·······························································································10-1
display port-isolate group ··············································································································10-1
port-isolate enable·························································································································10-2
11 MSTP Configuration Commands ·········································································································11-1
MSTP Configuration Commands··········································································································11-1
active region-configuration ············································································································11-1
check region-configuration ············································································································11-1
display stp······································································································································11-3
display stp abnormal-port··············································································································11-9
display stp bpdu-statistics ···········································································································11-10
display stp down-port···················································································································11-13
display stp history························································································································11-14
display stp region-configuration···································································································11-15
vi
display stp root ····························································································································11-16
display stp tc································································································································11-17
instance ·······································································································································11-19
region-name ································································································································11-20
reset stp·······································································································································11-20
revision-level································································································································11-21
stp bpdu-protection······················································································································11-22
stp bridge-diameter······················································································································11-22
stp compliance·····························································································································11-23
stp config-digest-snooping ··········································································································11-24
stp cost ········································································································································11-24
stp edged-port ·····························································································································11-25
stp enable····································································································································11-26
stp loop-protection·······················································································································11-27
stp max-hops·······························································································································11-28
stp mcheck ··································································································································11-29
stp mode······································································································································11-29
stp no-agreement-check··············································································································11-30
stp pathcost-standard··················································································································11-31
stp point-to-point··························································································································11-31
stp port priority·····························································································································11-32
stp port-log···································································································································11-33
stp priority····································································································································11-34
stp region-configuration···············································································································11-34
stp root primary····························································································································11-35
stp root secondary·······················································································································11-36
stp root-protection························································································································11-36
stp tc-protection···························································································································11-37
stp tc-protection threshold···········································································································11-38
stp timer forward-delay················································································································11-38
stp timer hello······························································································································11-39
stp timer max-age························································································································11-40
stp timer-factor·····························································································································11-40
stp transmit-limit ··························································································································11-41
vlan-mapping modulo··················································································································11-42
12 BPDU Tunneling Configuration Commands·······················································································12-1
BPDU Tunneling Configuration Commands ·························································································12-1
bpdu-tunnel dot1q··························································································································12-1
bpdu-tunnel tunnel-dmac···············································································································12-2
13 VLAN Configuration Commands··········································································································13-1
VLAN Configuration Commands···········································································································13-1
description·····································································································································13-1
display interface vlan-interface······································································································13-2
display vlan····································································································································13-4
interface vlan-interface··················································································································13-6
ip address······································································································································13-7
name··············································································································································13-8
vii
reset counters interface vlan-interface··························································································13-8
shutdown ·······································································································································13-9
vlan················································································································································13-9
Port-Based VLAN Configuration Commands······················································································13-11
display port··································································································································13-11
port···············································································································································13-12
port access vlan···························································································································13-12
port hybrid pvid····························································································································13-13
port hybrid vlan····························································································································13-14
port link-type································································································································13-16
port trunk permit vlan···················································································································13-17
port trunk pvid······························································································································13-19
MAC Address-Based VLAN Configuration Commands······································································13-20
display mac-vlan··························································································································13-20
display mac-vlan interface···········································································································13-22
mac-vlan enable··························································································································13-22
mac-vlan mac-address················································································································13-23
mac-vlan trigger enable···············································································································13-24
port pvid disable ··························································································································13-25
vlan precedence··························································································································13-25
Protocol-Based VLAN Configuration Commands···············································································13-26
display protocol-vlan interface·····································································································13-26
display protocol-vlan vlan············································································································13-27
port hybrid protocol-vlan··············································································································13-28
protocol-vlan································································································································13-30
IP Subnet-Based VLAN Configuration Commands ············································································13-32
display ip-subnet-vlan interface···································································································13-32
display ip-subnet-vlan vlan··········································································································13-33
ip-subnet-vlan······························································································································13-34
port hybrid ip-subnet-vlan············································································································13-35
14 Super VLAN Configuration Commands ······························································································14-1
Super VLAN Configuration Commands································································································14-1
display supervlan···························································································································14-1
subvlan ··········································································································································14-3
supervlan·······································································································································14-4
15 Isolate-User-VLAN Configuration Commands····················································································15-1
Isolate-User-VLAN Configuration Commands······················································································15-1
display isolate-user-vlan················································································································15-1
isolate-user-vlan····························································································································15-3
isolate-user-vlan enable ················································································································15-4
isolated-vlan enable·······················································································································15-4
port isolate-user-vlan·····················································································································15-5
16 Voice VLAN Configuration Commands·······························································································16-1
Voice VLAN Configuration Commands·································································································16-1
display voice vlan oui·····················································································································16-1
display voice vlan state··················································································································16-2
voice vlan aging·····························································································································16-3
viii
voice vlan enable···························································································································16-4
voice vlan mac-address·················································································································16-4
voice vlan mode auto·····················································································································16-5
voice vlan qos································································································································16-6
voice vlan qos trust························································································································16-7
voice vlan security enable ·············································································································16-8
17 GVRP Configuration Commands·········································································································17-1
GVRP Configuration Commands··········································································································17-1
display garp statistics ····················································································································17-1
display garp timer··························································································································17-2
display gvrp local-vlan···················································································································17-3
display gvrp state···························································································································17-3
display gvrp statistics·····················································································································17-5
display gvrp status·························································································································17-6
display gvrp vlan-operation ···········································································································17-7
garp timer hold·······························································································································17-7
garp timer join································································································································17-8
garp timer leave·····························································································································17-9
garp timer leaveall·························································································································17-9
gvrp··············································································································································17-10
gvrp registration···························································································································17-11
reset garp statistics······················································································································17-11
18 QinQ Configuration Commands···········································································································18-1
QinQ Configuration Commands············································································································18-1
nest················································································································································18-1
qinq enable····································································································································18-2
qinq ethernet-type customer-tag ···································································································18-3
qinq ethernet-type service-tag·······································································································18-4
qinq transparent-vlan·····················································································································18-5
19 VLAN Mapping Configuration Commands··························································································19-1
VLAN Mapping Configuration Commands····························································································19-1
nest················································································································································19-1
remark customer-vlan-id················································································································19-2
remark service-vlan-id···················································································································19-2
20 LLDP Configuration Commands··········································································································20-1
LLDP Configuration Commands···········································································································20-1
display lldp local-information ·········································································································20-1
display lldp neighbor-information···································································································20-6
display lldp statistics····················································································································20-11
display lldp status························································································································20-13
display lldp tlv-config ···················································································································20-15
lldp admin-status ·························································································································20-17
lldp check-change-interval···········································································································20-18
lldp compliance admin-status cdp·······························································································20-18
lldp compliance cdp·····················································································································20-19
lldp enable···································································································································20-20
lldp encapsulation snap···············································································································20-20
ix
lldp fast-count······························································································································20-21
lldp hold-multiplier························································································································20-21
lldp management-address-format string······················································································20-22
lldp management-address-tlv······································································································20-23
lldp notification remote-change enable························································································20-23
lldp timer notification-interval·······································································································20-24
lldp timer reinit-delay ···················································································································20-24
lldp timer tx-delay ························································································································20-25
lldp timer tx-interval ·····················································································································20-25
lldp tlv-enable ······························································································································20-26
21 Service Loopback Group Configuration Commands·········································································21-1
Service Loopback Group Configuration Commands ············································································21-1
display service-loopback group·····································································································21-1
port service-loopback group··········································································································21-2
service-loopback group ·················································································································21-3
22 Command Index·····································································································································22-1
1-1
1 Ethernet Interface Configuration Commands
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.
For 100 Mbps port, the value range is 1 to 148810.
For a Gigabit port, the value range is 1 to 1488100.
For a 10-Gigabit port, 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.
For 100 Mbps port, the value range is 1 to 100000.
For a Gigabit port, the value range is 1 to 1000000.
For a 10-Gigabit port, the value range is 1 to 10000000.
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.
1-2
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.
Examples
# Set the broadcast suppression threshold to 20% on Ethernet interface GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] broadcast-suppression 20
# 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 2/0/1
[Sysname-port-group-manual-group1] group-member gigabitethernet 2/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.
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.
1-3
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, GigabitEthernet2/0/1
Interface for example.
Related commands: display interface.
Examples
# Change the description of interface GigabitEthernet 2/0/1 to lanswitch-interface.
<Sysname> system-view
[Sysname] interface gigabitEthernet 2/0/1
[Sysname-GigabitEthernet2/0/1] description lanswitch-interface
display interface brief
Syntax
display interface [ interface-type [ interface-number ] ] brief [ | { begin | exclude | include }
regular-expression ]
display interface [ interface-type ] brief down [ | { 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.
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 CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays 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, which is a case sensitive string of 1 to 256
characters.
Description
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 interface type and interface number are specified, this command displays information about
the specified interface.
Examples
# Display brief information about all interfaces.
1-4
<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
GE2/0/10 DOWN DOWN --
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 Description
GE2/0/1 DOWN 1G F A 1
GE2/0/2 DOWN 1G F A 1
GE2/0/3 DOWN 1G F A 1
GE2/0/4 DOWN 1G F A 1
GE2/0/5 DOWN 1G F A 1
GE2/0/6 DOWN 1G F A 1
GE2/0/7 DOWN 1G F A 1
GE2/0/8 DOWN 1G F A 1
GE2/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 Description
Loop0 UP UP(s) 2.2.2.9
NULL0 UP UP(s) --
Vlan1 UP DOWN --
Vlan999 UP UP 192.168.1.42
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
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
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 Description
1-5
GE2/0/3 UP 1G F A 3
GE2/0/4 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 Description
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 Description
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
GE2/0/8 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
GE2/0/1 DOWN Not connected
GE2/0/2 DOWN Not connected
GE2/0/4 DOWN Not connected
GE2/0/5 DOWN Not connected
Table 1-1 display interface brief 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
AMD
indicates that 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
/