Showing posts with label vlan trunking protocol. Show all posts
Showing posts with label vlan trunking protocol. Show all posts

Monday, July 29, 2013

VLAN related info ......


Number of Vlan's supported on cisco switches

In general old 2950 switches will support upto 64 vlans and newer 2960 switches will support upto 255 vlans.

When we talk about 64 and 250 vlans it does not mean that you cannot create more than 64 vlans it just means that only 64 vlans will be having per vlan spanning tree instance.

For example 2950 as a VTP client will learn all normal-range VLANs, with VLAN IDs 1 to 1005; VLAN IDs greater than 1005 are extended-range VLANs and are not stored in the VLAN database. The switch must be in VTP transparent mode when you create VLAN IDs from 1006 to 4094.

Again mostly all switches support normal vlans upto 1005 but if we talk of per vlan spanning tree it depends on hardware and also on image it is running.
Like 2950 running standard image only supports 64 per vlan spanning tree and 2950 with enhance image supports upto 250 per vlan spanning tree instance but still both will let you create more than 64 and 250 vlans just that per vlan spanning tree instance will be only supported on 64 and 250 vlans depending upon image they are running.

And in this situation when you have more than 64 vlans on switch running standard image it is recommended not to run PVST+ but to confiure MST.

Tuesday, April 9, 2013

Vlan Trunking Protocol

Vlan Trunking Protocols - Message Types



Once the VLAN Trunking Protocol (VTP) is configured on the switches, the switches start advertising VTP information between them on their trunk ports. The main information which the switches advertise are management domain name, configuration revision number and the configured VLANs. VTP advertisements are sent as multicast frames and all neighbor devices receive the frames.

Three types of VLAN Trunking Protocol (VTP) advertisement messages are


1 Client advertisement request: A client advertisement request message is a VTP message which a client generates for VLAN information to aserver. Servers respond with both summary and subset advertisements.


A switch needs a VTP advertisement request in these situations:
  • The switch has been reset.
  • The VTP domain name has been changed.
  • The switch has received a VTP summary advertisement with a higher configuration revision than its own.
Upon receipt of an advertisement request, a VTP device sends a summary advertisement. One or more subset advertisements follow the summary advertisement.

2 Summary advertisement: Summary advertisements are sent out every 300 seconds (5 minutes) by default or when a configuration change occurs, which is the summarized VLAN information.


By default, Catalyst switches issue summary advertisements in five-minute increments. Summary advertisements inform adjacent Catalysts of the current VTP domain name and the configuration revision number.
When the switch receives a summary advertisement packet, the switch compares the VTP domain name to its own VTP domain name. If the name is different, the switch simply ignores the packet. If the name is the same, the switch then compares the configuration revision to its own revision. If its own configuration revision is higher or equal, the packet is ignored. If it is lower, an advertisement request is sent.

3 Subset advertisement: Subset advertisements are sent when a configuration change takes place on the server switch. Subset advertisements are VLAN specific and contain details about each VLAN

When you add, delete, or change a VLAN in a Catalyst, the server Catalyst where the changes are made increments the configuration revision and issues a summary advertisement. One or several subset advertisements follow the summary advertisement. A subset advertisement contains a list of VLAN information. If there are several VLANs, more than one subset advertisement can be required in order to advertise all the VLANs.