Packet Path Troubleshoot
PREVIEW — for evaluation, not the live site

Troubleshoot › Error Decoder › %SPANTREE-2-BLOCK_BPDUGUARD

Decoder

What does %SPANTREE-2-BLOCK_BPDUGUARD mean?

BPDU Guard shut the port: something switch-like appeared on an access port

%SPANTREE-2-BLOCK_BPDUGUARD: Received BPDU on port GigabitEthernet1/0/5 with BPDU Guard enabled. Keeping interface in errdisable state
In plain English: BPDU Guard is a tripwire on ports meant for end devices — PCs, phones, printers.

Platform: Cisco IOS / IOS XE. Values shown are the documented defaults — confirm them on your platform with the check commands below.

What it means

BPDU Guard is a tripwire on ports meant for end devices — PCs, phones, printers. If such a port receives a spanning-tree message (a BPDU), the kind of message only switches send, the switch assumes something switch-like was plugged in where it does not belong and shuts the port immediately. It exists because one rogue switch, or one looped cable, on an access port can destabilize the whole LAN.

Likely causes, in order

Check, in order

  1. show interfaces status err-disabledConfirms this port and shows whether others shut at the same time — a pattern points at rack or office work rather than one desk.
  2. show mac address-table interface Gi1/0/5How many devices sit behind the port. Many MAC addresses means a switch or hub is down there.
  3. show cdp neighbors Gi1/0/5 detailIf the device beyond speaks CDP, this names it — it often identifies itself as a switch outright.

The fix

Did this fix it for you? One tap — anonymous, nothing to type, and nothing you send is ever published.

Full case: this error is one stop in a bigger fault. Work the complete playbook: Port Keeps Going Err-Disabled — checks, ranked causes, the fix, and verification.

Sources

More error messages

Decoder

%ETHCNTR-3-LOOP_BACK_DETECTED

Loop-back detected: the switch heard its own voice come back

Decoder

%PM-4-ERR_DISABLE

Port shut itself off (err-disabled): link-flap

Decoder

%PORT_SECURITY-2-PSECURE_VIOLATION

Port security violation: port shut down