04-25-2013 12:32 AM - edited 03-07-2019 01:01 PM
when a swith port type is changed from hybrid to trunk whether that port should be added as an untagged member of the default vlan(VLAN-1) ????
Also it is necessary to reset the PVID to 1(Default vlan)?
thanks
rajesh/Prabha
04-25-2013 12:46 AM
Hi Rajesh,
Plesae find below info let me know if this is any helpfull to you.
You typically don't want to use VLAN 1 in a tagged environment, and this might be where some confusion comes from. When using a hybrid port, you specify one or more tagged VLANs, and a single* untagged VLAN. The untagged VLAN should be the same as the default VLAN; for example, to have untagged traffic on VLAN 10 and tagged traffic for VLANs 20 and 30, something like:
interface Ethernet1/0/5
port link-type hybrid
port hybrid vlan 20 30 tagged
port hybrid vlan 10 untagged
undo port hybrid vlan 1
port hybrid pvid vlan 10
#
Note VLAN 10 as both untagged and pvid.
* You can have more than one untagged VLAN on a hybrid port, but incoming untagged traffic can belong to only one of them, unless you use protocol VLANs.
All incoming untagged traffic on a port, whether it is access, trunk or hybrid, is tagged with PVID (the port VLAN ID, previously also called the default VLAN of the port), which defaults to VLAN 1 and is user configurable. PVID is irrelevant to how the port handle the outgoing traffic from the PVID.
The "tagged" and "untagged" for the "port hybrid vlan" command are meaningful only for outgoing traffic.
For example, to enable a port tag incoming untagged traffic with VLAN 10 and sends the outgoing traffic from VLAN 10 with the VLAN tag removed, we configure
"port hybrid pvid vlan 10
port hybrid vlan 10 untagged"
To sends the outgoing traffic from VLAN 10 with the VLAN tag intact, we replace "port hybrid vlan 10 untagged" with "port hybrid vlan 10 untagged"
By default, a hybrid port sends outgoing VLAN 1 traffic untagged, however, you can configure "port hybrid vlan 1 tagged" so the port send outgoing traffic from VLAN 1 without removing the VLAN tag.
http://alliedtelesis.com/manuals/AT81V130MENUWEBCLIa/web-vlans.html#Rbd85828
HTH
REgards
Inayath
*Plz rate all usefull posts.
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