cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3169
Views
5
Helpful
3
Replies

BPDUs in PVST+

limtohsoon
Level 1
Level 1

Hi Sir,

In a switched network running PVST+, I'm curious to know how does a switch differentiate BPDUs of one VLAN from another?

I understand that the Configuration BPDU message contains the following fields:

- Protocol ID

- Version

- Message Type

- Flags

- Root Bridge ID

- Root Path Cost

- Sender Bridge ID

- Port ID

- Message Age

- Maximum Age

- Hello Time

- Forward Delay

Please advise.

Thank you.

B.Rgds,

Lim TS

3 Replies 3

Amit Singh
Cisco Employee
Cisco Employee

Lim,

We actually send several different BPDUs on an 802.1Q trunk port:

* An 802.1d BPDU for VLAN 1 is sent untagged to the IEEE MAC address (0180.c200.0000) on the native VLAN of the trunk

* A Cisco STP BPDU for the native VLAN of the trunk is sent untagged to the STP MAC address (0100.0ccc.cccd) on the native VLAN of the trunk

* Additional Cisco STP BPDUs, one for each of the other VLANs carried on the trunk, are sent 802.1Q tagged to the STP MAC address with the appropriate VLAN ID

The format of the STP BPDU is 100% identical to the 802.1d BPDU after the SNAP header, except that we also add a "PVID" TLV field at the end of the frame, which identifies the VLAN ID of he source port (eg, if we send an STP BPDU on vLAN 10, the TLV contains vlan 10).

The TLV as the type (2 bytes), which is 0x0,the length (2 bytes) which is 0x2, and then 2 bytes of VLAN ID. There is also usually some padding in there.

HTH,Please rate if it does.

-amit singh

Hi Amit,

Thanks for the info. Can you please point me to the sources of the info for my further reading?

My customer experienced a brief network disruption today when they trunk a Catalyst 6509 to a Nortel Blade switch.

The Cisco port config is as follows:

!

int Gi12/13

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 1-3,913,917

switchport mode trunk

switchport nonegotiate

spanning-tree guard root

!

It is not known to us the Nortel switchport config. However, we've been told they configured 802.1Q and run the same set of VLANs across the trunk. I suppose their Native VLAN (if I'm not mistaken, in Nortel term it is called PVID) is VLAN 1, same as Cisco.

I believe this is all that is needed to make CST on the Nortel switch to interoperate correctly with PVST+ on the Cisco switch.

The impact is some hosts on other VLANs lost network connectivity. I don't have the full picture here. However, stability is restored after VLAN 1 is disallowed from the trunk on Cisco side.

Are you able to relate anything here?

Thank you.

B.Rgds,

Lim TS

ankbhasi
Cisco Employee
Cisco Employee

Hi Lim,

You can have a look at this link for more details

http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00801d11a0.shtml#topic1

HTH

Ankur

*Pls rate all helpfull post

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card