Got it

How Do I Configure STP When a CE Series Switch Connects to a Server?

Latest reply: Nov 19, 2016 16:04:57 1698 1 0 0 0


If a specified port of a CE switch directly connects to a server but not another switch, you can configure the port as an edge port. Then the port does not participate in spanning tree calculation, which shortens the network topology convergence time and improves network stability.

Normally, an edge port will not receive BPDUs. If a switch is attacked by forged BPDUs, the edge port will receive the BPDUs. The switch then sets the edge port as a non-edge port and recalculates the spanning tree, resulting in network flapping. You can enable BPDU protection to prevent the attacks.


When a CE switch connects to a server, configure the port directly connects to the server as an edge port and configure BPDU protection simultaneously. The RSTP mode is used as the example:
<HUAWEI> system-view
[~HUAWEI] stp mode rstp  //Configure the device to work in RSTP mode.
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] stp edged-port enable  //Configure the port as the edge port.
[*HUAWEI-10GE1/0/1] quit
[*HUAWEI] stp bpdu-protection  //Enable BPDU protection.
[*HUAWEI] commit

  • x
  • convention:

Created Nov 19, 2016 16:04:57

thank you
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.