switchport hybrid allowed vlan
This topic explains the command that adds an interface to one or more VLANs as a tagged or untagged member.
|
Syntax |
switchport hybrid allowed vlan add vlan-list [tagged | untagged] |
|
Parameter |
|
|
Default |
Each interface is an untagged member of VLAN 1. When you add an interface to a VLAN, by default it is a tagged member. |
|
Mode |
Interface Configuration |
|
Usage |
Use this command to add an interface to a VLAN. You can verify your setting in the output of the |
Switch (config)# interface g10
Switch (config-if)# switchport hybrid allowed vlan add 100-105
show interfaces switchport command for interface g10:
Switch# show interfaces switchport g10
Port : g10
Port Mode : Hybrid
Ingress Filtering : disabled
Acceptable Frame Type : tagged-only
Ingress UnTagged VLAN ( NATIVE ) : 100
Trunking VLANs Enabled:
Port is member in:
Vlan Name Egress rule
------- ------------------------------- -----------------
1 default Untagged
100 VLAN-one-hundred Tagged
101 VLAN0101 Tagged
102 VLAN0102 Tagged
103 VLAN0103 Tagged
104 VLAN0104 Tagged
105 VLAN0105 Tagged
Forbidden VLANs:
Vlan Name
------- -----------------------