Command Manual - Port
Quidway S3500 Series Ethernet Switches Chapter 1 Ethernet Port Configuration Commands
Huawei Technologies Proprietary
1-8
Use the undo flow-constrain command to remove the traffic threshold configuration
on the port.
By default, no traffic threshold is defined on the port.
After you define traffic threshold and handling pattern on the port, the system detects
and counts the traffic in a specified interval. If the actual traffic exceeds the threshold,
the system handles the port based on the defined pattern.
Example
# Configure the traffic threshold on the Ethernet0/1 port as 5000pps and detection
interval as 10 seconds.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet0/1
[Quidway-Ethernet0/1] flow-constrain 10 5000 pps
1.1.8 flow-constrain method
Syntax
flow-constrain method { shutdown | trap }
undo flow-constrain method
View
Ethernet port view
Parameter
shutdown: Disables the port and sends trap messages.
trap: Sends trap messages only.
Description
Use the flow-constrain method command to define handling pattern when actual
traffic on the port exceeds the threshold.
Use the undo flow-constrain command to restore the default handling pattern.
By default, only trap messages are sent when actual traffic on the port exceeds the
threshold.
Example
# Configure the system to disable the port and send trap messages when actual traffic
on the port exceeds the threshold.
<Quidway> system-view
System View: return to User View with Ctrl+Z.