cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4482
Views
1
Helpful
3
Replies

BPDU packets - fast way to verify all interfaces on a switch

mikecowdell
Level 1
Level 1

Is there a "range" command to verify if BPDU packets are being sent/recieved on all the interfaces on a switch at the same time?  Or do you have to run the command:



switch#show spanning-tree interface g1/0/52 detail | i BPDU
   BPDU: sent 3, received 351096
   BPDU: sent 3, received 351087
   BPDU: sent 198, received 350950

For each interface individually?

Thanks,

Mike

3 Replies 3

Dennis Mink
VIP Alumni
VIP Alumni

Try   show spanning-tree active detail  

Please remember to rate useful posts, by clicking on the stars below.

Hmmm, that didn't work.

switch#show spanning-tree active detail
                                              ^
% Invalid input detected at '^' marker.

switch#
switch#show spanning-tree active ?
  |  Output modifiers
  <cr>

switch#show spanning-tree active

VLAN0001
  Spanning tree enabled protocol rstp
  Root ID    Priority    4097
             Address     0035.1a3f.c080
             Cost        4
             Port        51 (GigabitEthernet1/0/51)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     bcc4.93af.3b00
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi1/0/51            Root FWD 4         128.51   P2p
Gi1/0/52            Altn BLK 4         128.52   P2p

Zulqadar Ahmad
Level 1
Level 1

Hi Mice, 

Please use below commands to get all the ports details which exclude other stuff.

sh spanning-tree detail | include Port|BPDU
sh spanning-tree detail | include Gi|BPDU
show interface | include L2|line|broadcast

CCNA :)

Review Cisco Networking for a $25 gift card