cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
663
Views
0
Helpful
3
Replies

VTP

jonk34567
Level 4
Level 4
3 Replies 3

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi 

The layer 2 header includes the source and destination MAC addresses, and a trunk the interface verifies the frames and put a tag indicating the VLAN which this frame belongs. So the receiving trunk interface will check the frame and its tag and send it to the destination.

:-) 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Francesco Molino
VIP Alumni
VIP Alumni
Hi

Vtp is a Cisco proprietary protocol to exchange vlan database between all your switches.
In terms of devices, to separate them into different vlans, you configure your switchports in access or trunk mode. Trunk means that the end device will tag the Ethernet frame with its own vlan tag it belongs to. In access, the host doesn't have any clue of the vlan it belongs to but the switch knows and the switch will add the 802.1q tag.

Then, to answer your question, to separate devices into vlans it's done by using the 802.1q tag in the Ethernet frame.

When a device in a vlan wants to communicate with another device, an arp request is sent and due to this process you can see them an ip belongs to that mac that belongs to that vlan...

I've tried to explain it in a simply way using my iPhone :-)
If you want to learn, you can read some Cisco books or others about vlan basics.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Joseph W. Doherty
Hall of Fame
Hall of Fame
As the others have noted, multiple VLANs passed down the same link generally are "tagged" in some fashion to distinguish them between VLANs. (Note, on Cisco devices, some frames on a trunk might not be tagged. The Cisco trunk port is configured to treat such untagged frames as a particular VLAN.)

Within the switch, how VLANs are kept is up to the architecture of the switch.