[c-nsp] Determining which ports have another switch attached?

Peter Rathlev peter at rathlev.dk
Thu Jul 21 09:51:42 EDT 2011


On Thu, 2011-07-21 at 09:36 -0400, Peter Pauly wrote:
> Is there an easy way to determine which swtich ports have another
> switch attached to them (assume non-CDP supporting) before enabling
> bpduguard?

If you specifically want to see if the port received any BPDUs you can
issue the "show spanning-tree interface GiX/Y detail" command.

If it's a trunk port you might want to filter out only the relevant
information by appending "| include BPDU:", or maybe even "| include
BPDU:.*received [^0]" to only get ports with non-zero received BPDUs.

-- 
Peter




More information about the cisco-nsp mailing list