Operation Manual - Port
Quidway S3000-EI Series Ethernet Switches
Chapter 1 Ethernet Port Configuration
Huawei Technologies Proprietary
1-10
I. Port Traffic Threshold Configuration Task
Table 1-14
Port traffic threshold configuration task
Item
Command
Remarks
Enter system view
<Quidway>
system-view
–
Enter Ethernet port
view
[Quidway]
interface
{
interface_type
interface_num | interface_name
}
–
Configure t
[Quidway-EthernetX/X]
raffic
threshold on the port
flow-constrain
time-value
flow-value
{
|
}
Required
bps pps
Configure handling
pattern when actual
[Quidway-EthernetX/X]
method
Optional. By
default, the
traffic on the port
flow-constrain
{
shutdown
|
trap
}
exceeds the threshold
system
only sends trap
messages.
Note:
The prompt character for Ethernet port
ry with specific co
view may va
nfiguration.
II. Port Traffic Threshold Configuration Example
1
z
d o
5000pps and the detection interval
z
2) Config
ure
Enter system view.
system-view
System View: return to User View with Ctrl+Z.
# Enter Ethernet0/1 port view.
Quidway] interface ethernet0/1
# Configure the traffic threshold on the Ethernet0/1 port as 5000 pps and the detection
train 10 5000 pps
o
on th
[Quidway-Ethernet0/1] flow-constrain method shutdown
) Configuration
requirem
The traffic threshol
ents
n the Ethernet0/1 port is
is 10 seconds.
The system disables t
port exceeds the spec
uration
proced
he port and sends trap messages whe
ified threshold.
n actual traffic on the
#
<Quidway>
[
interval as 10 seconds.
[Quidway-Ethernet0/1] flow-cons
# C nfigure the system to disable the port and send trap messages when actual traffic
e port exceeds the threshold.