Switches in a Spanning Tree domain have a Bridge ID (BID), which is used to uniquely identify the switch within the STP domain. The BID is also used to assist in the election of an STP Root Bridge, which will be described later in this chapter. The BID is an 8-byte field that is composed from a 6-byte MAC address and a 2-byte Bridge Priority. The BID is illustrated in Figure 3-11 below:

Fig. 3-11. Bridge ID Format
The Bridge Priority is the priority of the switch in relation to all other switches. The Bridge Priority values range from 0 to 65,535. The default value for Cisco Catalyst switches is 32,768. Figure 3-12 below illustrates how the Bridge Priority values are calculated:

Fig. 3-12. Calculating the Bridge Priority Values
The MAC address is the hardware address derived from the switch backplane or supervisor engine. In the 802.1D standard, each VLAN requires a unique BID. Figure 3-13 below illustrates the BID format in a Spanning Tree BPDU:

Fig. 3-13. Viewing the BID Format
Most Cisco Catalyst switches have a pool of 1,024 MAC addresses that can be used as bridge identifiers for VLANs. These MAC addresses are allocated sequentially, with the first MAC address in the range assigned to VLAN 1, the second to VLAN 2, the third to VLAN 3, and so forth. This provides the capability to support the standard range of VLANs, but more MAC addresses would be needed to support the extended range of VLANs. This issue was resolved in the 802.1t standard, which is described next.