How can I configure edge ports and BPDU protection on an S series switch

1

User-side devices (such as servers) of a switch do not need to run STP. If STP is enabled on the switch ports connected to these devices, it takes some time for the ports to enter the forwarding state when the ports alternate between Up and Down states or the STP topology changes. This is unacceptable for some services. To solve the preceding problem, you can configure these ports as edge ports. Edge ports can enter the forwarding state immediately after they go Up, and they do not send TC packets and have no impact on services on the STP network.
To configure a port as an edge port and enable the BPDU protection function on an S (except the S1700) or E series switch, perform the following operations:
1. Configure a port as an edge port to enable the port not to participate in spanning tree calculation.
Run the stp edged-port enable command in the interface view.
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] stp edged-port enable

2. Configure BPDU protection. After BPDU protection is enabled, the switch shuts down the edge port if the edge port receives a BPDU. The attributes of the edge port are not changed.
Run the stp bpdu-protection command in the system view.
[HUAWEI] stp bpdu-protection
For other configuration commands, visit "Common STP/RSTP Operations" in Common Operation Guide to view the related document.
Common STP/RSTP operations are the same for all switch models.

Other related questions:
How can I configure an edge port on a CE switch
When a port connected to a terminal is configured as an edge port on a Layer 2 network running a spanning tree protocol, the port no longer participates in the spanning tree calculation. This speeds up network topology convergence and enhances network stability.

# Run the stp edged-port enable command in the interface view to configure 10GE1/0/1 as the edge port.
system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] stp edged-port enable
[*HUAWEI-10GE1/0/1] commit

How to configure BPDU tunneling on S series switches to transparently transmit BPDUs
To configure S series (except the S1700) and E series switches to transparently transmit BPDUs, perform the following operations: 1. Configure interface-based Layer 2 protocol transparent transmission. (1) Run the l2protocol-tunnel group-mac command in the system view to replace the multicast destination MAC address of Layer 2 protocol packets with a specified multicast MAC address. (2) Run the port default vlan command on the inbound and outbound interfaces to transparently transmit untagged BPDUs. (3) Run the l2protocol-tunnel { all | protocol-type } enable command on the inbound and outbound interfaces to enable interface-based Layer 2 protocol transparent transmission. 2. Configure VLAN-based Layer 2 protocol transparent transmission. (1) Run the l2protocol-tunnel group-mac command in the system view to replace the multicast destination MAC address of Layer 2 protocol packets with a specified multicast MAC address. (2) Run the port link-type hybrid and port hybrid tagged vlan commands on the inbound and outbound interfaces to transparently transmit tagged BPDUs. (3) Run the l2protocol-tunnel { all | protocol-type } vlan command on the inbound and outbound interfaces to enable VLAN-based Layer 2 protocol transparent transmission.

How can I configure BPDU tunnel to transparently transmit BPDUs
To transparently transmit untagged BPDUs, run the port default vlan command on the inbound and outbound interfaces of the BPDUs. To transparently transmit tagged BPDUs, run the port default vlan command on the outbound interface of the BPDUs.

Configure STP on an interface of the S1728GWR-4P switch
Configure STP on an interface of an S1728GWR-4P switch as follows: 1. Choose Spanning Tree > STP. 2. Select Configure Interface from the Step drop-down list box. 3. Select Configure from the Action drop-down list box. 4. Configure the parameters such as Spanning Tree, Admin Link Type, Priority, and Admin Path Cost. 5. Click Apply.

Can the BPDU function be configured on Eth-Trunks of S series switches
The BPDU function can be configured on Eth-Trunks of S (except the S1700) and E series switches.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top