05-19-2009 03:09 PM - edited 03-04-2019 04:48 AM
Is it possible to configure both trunk and access/voice vlan in a single switch port.i have seen a similar configuration in a live environment.
********
Int Fa5/12
Switchport access vlan 5
switchport voice vlan 10
switchport trunk native vlan 5
switchport trunk allowed vlan 5,10
**************
can anyone explain how it is working?.....
05-20-2009 12:47 AM
Hi ,
check the below link...hope it helps u ..
u need to configure switchport trunk encapsulation dot1q under f5/12.
Thanks,
satish
Thanks,
Satish
05-20-2009 12:49 AM
Hi ,
Example :
switchport trunk encapsulation dot1q
switchport trunk native vlan 16
switchport mode trunk
switchport voice vlan 201
and
switchport voice vlan 201
switchport mode access
switchport access vlan 16
First and second configurations are not same.
Second configuration port is defined as access port that is a member of VLAN 16. If you have other ports that are in this VLAN they all are essentially in the same broadcast domain - they can communicate with each other via layer 2. You would most likely be connecting a computer to this type of port.
In the first configuration the port is configured to be a trunk port with dot1q encapsulation. This port would be connected to another switch and frames would be tagged on egress. An example would be if switch 1 has ports in let's say VLAN 10 and 20 and switch 2 has ports in VLAN 10 and 20 you would trunk these VLANS over that port. The switch will tag the frame on egress so the switch on the other end of the trunk knows which VLAN the frame came from so the frame can be sent to the appropiate port(s) of the particular VLAN. the "switchport trunk native vlan" command tells the switch to send frames from that VLAN untagged.
Cheers ,
Satish
05-21-2009 05:20 PM
Thanx for the reply...
can i connect the port to a pc with the same configuration...Will it harm anything?..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide