Configuring the Maximum Transmission Rate of an Interface
Context
If a large number of BPDUs sent from an interface within a Hello Time interval, a lot of system resources will be consumed. Setting a proper transmission rate (packet-number) on an interface prevents excess bandwidth usage when network flapping occurs.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The view of an Ethernet interface participating in STP calculation is displayed.
- Run stp transmit-limit packet-number
The maximum transmission rate of BPDUs (BPDUs per second) is set for the interface.
By default, the maximum transmission rate of BPDUs on an interface is the value configured by the stp transmit-limit (system view) command. If the stp transmit-limit (system view) command is not configured, an interface sends a maximum of six BPDUs per Hello Time interval.If the same maximum transmission rate of BPDUs needs to be set for each interface on a device, run the stp transmit-limit (system view) command. The stp transmit-limit (interface view) command takes precedence over the stp transmit-limit (system view) command. If the stp transmit-limit (interface view) command is configured on an interface, the stp transmit-limit (system view) command does not take effect on that interface.
- Run commit
The configuration is committed.