beautypg.com

Configuring the bpdu transmission rate, Configuring edge ports, Configuration restrictions and guidelines – H3C Technologies H3C S5560 Series Switches User Manual

Page 119: Configuration procedure

background image

85

Step Command

Remarks

2.

Configure the timeout factor

of the device.

stp timer-factor factor

The default setting is 3.

Configuring the BPDU transmission rate

The maximum number of BPDUs a port can send within each hello time equals the BPDU transmission

rate plus the hello timer value. Configure an appropriate BPDU transmission rate based on the physical

status of the port and the network structure.
The higher the BPDU transmission rate, the more BPDUs are sent within each hello time, and the more

system resources are used. By setting an appropriate BPDU transmission rate, you can limit the rate at

which the port sends BPDUs. Setting an appropriate rate also prevents spanning tree protocols from

using excessive network resources when the network topology changes. H3C recommends that you use

the default setting.
To configure the BPDU transmission rate:

Step Command Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet or
aggregate interface view.

interface interface-type interface-number

N/A

3.

Configure the BPDU

transmission rate of the ports. stp transmit-limit limit

The default setting is 10.

Configuring edge ports

If a port directly connects to a user terminal rather than another device or a shared LAN segment, this

port is regarded as an edge port. When network topology change occurs, an edge port will not cause

a temporary loop. Because a device does not determine whether a port is directly connected to a
terminal, you must manually configure the port as an edge port. After that, the port can rapidly transit

from the blocked state to the forwarding state.

Configuration restrictions and guidelines

If BPDU guard is disabled, a port set as an edge port becomes a non-edge port again if it receives

a BPDU from another port. To restore the edge port, re-enable it.

If a port directly connects to a user terminal, configure it as an edge port and enable BPDU guard
for it. This enables the port to quickly transit to the forwarding state when ensuring network security.

On a port, the loop guard function and the edge port setting are mutually exclusive.

Configuration procedure

To configure a port as an edge port: