Home
11.
Types of Bridge Protocol data units (BPDU).
Three types of Bridge Protocol Data Units (BPDUs) are Configuration BPDU (CBPDU), Topology Change Notification(TCN) BPDU and Topology Change Notification Acknowledgment (TCA).
12.
What is the purpose of STA and BPDU ?
The basic purpose of the Bridge Protocol Data Units (BPDUs) and the Spanning Tree Algorithm (STA) is to avoid Layer 2 Switching loops and Broadcast storms.
13.
Define selection criteria of STP root bridge.

If a Switch has multiple paths to reach the Root Bridge (Switch), it must select one path and the associated port as theRoot Port. Following are the different steps for selecting the Root Bridge (Switch).

  • If there are two or more paths to reach the Root Bridge (Switch) select the path with the lowest accumulated path cost.
  • Select the neighboring switch with the lowest Switch ID value to reach the Root Bridge (Switch).
  • Select the port with the lowest Port Priority value, if you have multiple paths to reach the Root Bridge (Switch) via same neighbor switch.
  • If all the ports are configured with same priority number (32 by default), select the lowest port number on the switch.
14.
what are the Port states of spanning tree protocol ?
  • Blocking
  • listening
  • learning
  • Forwarding
  • disabled.
15.
How to enable or disable spanning tree protocol ?

Spanning Tree Protocol (STP) is enabled by default on modern switches. It is possible to disable or enable theSpanning Tree Protocol (STP) when required.

To enable Spanning Tree Protocol (STP) on an IOS based switch, use the "spanning-tree vlan vlan_number" command from global configuration mode as shown below.

switch01>
switch01>enable
switch01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch01(config)#spanning-tree vlan 1
switch01(config)#exit
switch01#

To disable Spanning Tree Protocol (STP) on an IOS based switch use "no spanning-tree vlan vlan_number" commandfrom global configuration mode as shown below.

switch01>enable
switch01#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch01(config)#no spanning-tree vlan 1
switch01(config)#exit
switch01#