H3C H3C S7500E Series Command Reference Manual

Type
Command Reference Manual
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
  • 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
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368

H3C H3C S7500E 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