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

Created Nov 19, 2016 23:59:09Latest reply Nov 20, 2016 00:04:57 1176 1 0 0

Concepts

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.

Configuration

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:

user_2790689  Expert   Created Nov 20, 2016 00:04:57 Helpful(0) Helpful(0)

thank you
  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top