BPDU Protection Is Enabled: Why Can a Loop Still Disrupt the Access Layer?
BPDU protection addresses edge ports receiving BPDUs, rather than every type of network loop. Check whether edge ports are explicitly configured, whether inter-switch ports were misclassified and how disabled ports recover through shutdown-interval or manual action. This article explains the prerequisites, device limitations and acceptance records using H3C spanning-tree guidance.
In the configuration for access to network switch stp bpdu-protectionThe lights are normal and nothing happens on a daily basis. One day someone brought a wireless router from home and plugged it in a walled information point, and Network began to cover a large area of packet loss; operations and maintenance restarted network switch and recovered again the following day.
Some of them are encountering a different expression: a retrofitted connection that doesn't make sense.display interface brief Displays Ports in a closed state, with a BPDU protected trigger record in the log.
Both phenomena fall into the same question: under what conditions this protective action would take place and how it would be restored after it had been shut down.
Precedent one. : Action to the edge. Ports , The trigger condition is receipt. BPDU
Generating tree configuration guides write Applications in detail:
For access layer equipment , Access Ports general Direct with user terminal ( Like PC) Or a file server Connect , Access at this time Ports Set as Edge Ports To make this happen. Ports Quick Migration ; When these... Ports Received BPDU Time the system will. automatic Take these. Ports Set to Non Edge Ports , Recalculate Generating Tree , Caused Network Changes in the structure of the pedestal 。
That is, after a Ports has been considered as edge Ports, it is in a normal state of "not getting BPDU". Once received, the system will reset it back to the non-margin Ports and recalculate the tree -- this is the source of the sudden packet loss office area, the tremor. BPDU protection is not recalculating, just turn off the mouth:
If the equipment is working, BPDU Protection Functions It's... Ports Copy that. BPDU, The system's got these. Ports Close , Notified at the same time network management These. Ports Already generated tree protocol closed 。
At this point, one can judge: Ports is closed, Description is now "Activating Ports protected by BPDU" and received BPDU. The private wireless router triggers this action if it opens the tree and sends BPDU.
Preconditions two : Global switches are not equal to all edges. Ports It's protected.
It's more common to be confused with a global switch and not to react. The document separates the effective range from:
Global Configuration BPDU Protection Functions Only Passes stp edged-port Command the edges of the manual configuration Ports Entry into force , For passing the edge Ports automatic Monitoring Functions Set to Edges Ports Not effective ; Yes. Ports Internal Configuration BPDU Protection Functions Time , The Ports Whether it's on the edge or not. Ports BPDU Protection Functions Entry into force 。
"Auto-Monitoring" means that the device determines itself that Ports looks like the edge Ports:
If Ports does not receive BPDU packets in seconds (2×Hello Time+1), automatic sets Ports to edge Ports.
And when you look at them together, the problem is clear: a lot of people on the scene just hit one whole thing. stp bpdu-protectionThe port has never been matched manually. stp edged-portPorts on the edge is "see" by the device itself, and at this point the global switch does not work for them. To actually get protection on Ports, you have to go with Ports-level configuration, or fit the hand edge Ports to a specific Ports.
This limitation explains that "same as no match" and that only one sentence in the Description configuration list is sufficient to "open BPDU protection" and to which Level One should be written.
Premise three: interconnection doesn't match mouths and shared grids, or you turn yourself off.
The root causes of the second problem on the ground are here:
Configure BPDU for Functions protection for Ports, configure Ports for direct-connect user terminals, not for Ports which connects other devices or shares a segment.
interconnection between network switch, uplink, and Ports shared hub, which was originally used to collect BPDU. The protections were activated on these doors and the BPDU sent to the end was closed, as “a retrofitted connection is not available”. Check this out first: the closed Ports should have been in network switch.
In the same document, a mutually exclusive relationship is identified, which can be easily planned:
On the same Ports, it is not allowed to configure the edges of Ports and the loop to protect Functions.
To get the terminal access as fast as it can, and to keep the edges of Ports and the perimeter protection, the configuration itself is a conflict. Such conflicts will not be reflected in the receipt or inspection form, but in the conduct of the day of the harvest.
Premise four. : Ports After being locked in, , No, it's not. automatic It's...
The port shut down is just a stop to the bleeding, and the way to recover depends on the configuration:
The closed Ports will be reactivated after a certain time interval, which can be configured by the shutdown-interval command.
There are two dimensions to this: shutdown-interval Together, this is a long time to plan, and the time to cut off the network from the user side is long; Short set. If the private device is still in, Ports will shut down again and again. Two is Ports when it is closed, the edge Ports attribute is not automatic reset - the document is written more directly for the unenabled protection:
Yes. Ports It's not on. BPDU Protection , If set to edge Ports It's... Ports I got it from the others. Ports It's... BPDU, And it's time Ports It'll be a new non-marginal. Ports 。 At this time, only rebooting Ports will restore the Ports to the edge Ports.
The order of disposal on the ground should therefore be to confirm that the violation equipment was removed and then restore Ports, otherwise the same result would remain.
Port type contrast: Which protects which is to be matched at what level
The following table is organized according to the applicable conditions given in the document for planning and verification (the configuration command is based on the configuration guidance for the corresponding version of the Model purchased):
| Port Use | Edge Port | BPDU protection | Roundabout protection | Basis |
|---|---|---|---|---|
| Straight-link office terminals, printer, AP | Manual Configuration | Enable Ports level (global switches only cover manual edges Ports) | Not fit (with edges) | Precedents one, two, three. |
| network switch Interconnection, Uplink | It's not worth it. | It's not worth it. | Demand (Ports/ Replace Ports, not matched to end Ports) | Premise three. |
| Port to share hub, liner | It's not worth it. | It's not worth it. | As required | Premise three. |
| Temporary test entrances, temporary meeting entrances | Recommended for disposal by terminal | Port Level Enabled | It's not worth it. | Preconditions one to three. |
The most vulnerable to skipping is in the second line: interconnection is neither a edge Ports nor a BPDU protection, but very multimode plates hook it together as a "safetener".
The kind of equipment it can't stop.
The trigger for BPDU protection is BPDU for each other. Model for home use router, portable adapter small network switch, which is not uncommon to turn off the tree or to do not run for the tree itself; The end-of-end BPDU, the edge Ports, keeps the edge of Ports and continues to be transmitted, the protection is not moving and the second-tier ring road is still in place.
This step is a engineering inference, not a conclusion of the manufacturer 's file, and needs to be verified on the site as follows: grab the bag on the surface of the suspected illegal wall to see if BPDU is received; It's on the same page. display stp brief See if there has been any role change at the port. I can't. BPDU And... Network Still. packet loss , We have to change our ways. —— Ports Security MAC Learning quantity Limits 、 Ports Segregation 、 The Ring Test. one Class characteristics , Is it possible? Supported 、 What's the order? , By purchase Model Configuration Guidance Check , This is not a substitute for that. one A document 。
The technical requirements for the procurement and delivery phases are two reciprocated sentences: the first is to specify that "terminal access to Ports enabled edge Ports and Ports class BPDU protection, interconnection Ports is not enabled"; The second is to make clear that "the disposal person, Ports recovery window after access to the violator device, shutdown-interval takes value”. The former decides whether protection is on Ports, and the latter decides how long the net will last.
I left these records during the acceptance.
The following is only the recommended inspection methodology and does not represent any completed project; The purpose of the record is to provide evidence of the next failure:
| Checkpoint | Record what? | Basis of judgement |
|---|---|---|
| Edge Port List | Port range, manual configuration or automatic recognition | display stp brief Center Edge Port Fields Matching Configure Commands |
| Scope of effectiveness of protection | Global switch, port switch. | In line with the scope of application of Scenario II, there is no Ports for a “global switch only” |
| Interlock | Port List | Not with edge port, not with BPDU protection |
| Recovery strategy | shutdown-interval Value taken, manual recovery responsible |
Consistent with the user side-to-side acceptable breakup time |
| Trigger Record | Log time, port number, devices that were connected at the time | Leave one before and after disposal to determine whether or not to return |

♪ One word of restraint ♪
BPDU protection addresses the risk category "Eightning Ports Received BPDU " and the configuration and scope of application determine whether it is actually effective; For unsent BPDU private equipment, it does not constitute Protection and requires a separate mechanism and is stated in the acceptance.











