Limiting traffic on individual ports, Enabling flow control on a port – H3C Technologies H3C S3100 Series Switches User Manual
Page 144

1-3
z
After you configure auto-negotiation speed(s) for a port, if you execute the undo speed command
or the speed auto command, the auto-negotiation speed setting of the port restores to the default
setting.
z
The effect of executing speed auto 10 100 1000 equals to that of executing speed auto, that is,
the port is configured to support all the auto-negotiation speeds: 10 Mbps, 100 Mbps, and 1000
Mbps.
Limiting Traffic on individual Ports
By performing the following configurations, you can limit the incoming broadcast/ unknown
multicast/unknown unicast traffic on individual ports. When a type of incoming traffic exceeds the
threshold you set, the system drops the packets exceeding the traffic limit to reduce the traffic ratio of
this type to the reasonable range, so as to keep normal network service.
Table 1-2 Limit traffic on port
Operation
Command
Remarks
Enter system view
system-view
—
Limit broadcast traffic received on
each port
broadcast-suppression { ratio |
pps max-pps }
Optional
By default, the switch does not
suppress broadcast traffic.
Enter Ethernet port view
interface interface-type
interface-number
—
Limit broadcast traffic received on
the current port
broadcast-suppression { ratio |
bps max-bps | pps max-pps }
Optional
By default, the switch does not
suppress broadcast traffic.
Limit unknown multicast and
unknown unicast traffic received on
the current port
multicast-suppression bps
max-bps
Optional
The switch will suppress the
unknown multicast and unknown
unicast traffic simultaneously after
the configuration.
By default, the switch does not
suppress unknown multicast and
unknown unicast traffic.
Enabling Flow Control on a Port
Flow control is enabled on both the local and peer switches. If congestion occurs on the local switch:
z
The local switch sends a message to notify the peer switch of stopping sending packets to itself or
reducing the sending rate temporarily.
z
The peer switch will stop sending packets to the local switch or reduce the sending rate temporarily
when it receives the message; and vice versa. By this way, packet loss is avoided and the network
service operates normally.