Command
Function
Switch(config-if-GigabitEthernet-0/1)#
switch mode hybrid
Define the port type to be a 2 layer
hybrid port.
Switch(config-if-GigabitEthernet-0/1)#
switch hybrid native vlan
vlan-id
Assign a Native VLAN for this port.
Command
Function
Switch(config-if-GigabitEthernet-0/1)#
switch hybrid native vlan
vlan-id
Configure Native VLAN
6.4.2.
Configure a Hyhrid port
In the port configuration mode can configure a port to be a hybrid port.
Step 1
Step 2
6.4.3.
Define Hybrid permission VLAN list.
In port configuration mode can amend a HYBRID port’s permission VLAN list.
Below is an example to remove a VLAN 2 from GigabitEthernet 0/1
port’s permission list.
Switch(config)# interface gigabitEthernet 0/1
Switch(config-if-GigabitEthernet-0/1)#
no switch hybrid vlan
2
untagged
6.4.4.
Configure Native VLAN
Native vlan in the hybrid port confirm to recive without vlan marked packet and confirmitis transmitted
in that vlan.
In the port configuration can configure Native VLAN for a Hybrid.
。
Step 1
If you want to change Trunk’s Native VLAN list back to default VLAN1, please use Command
no
switch hybrid
native vlan
to configure.
。
6.5. Show VLAN
Only In the privilege mode can check the VLAN information.The information includes VLAN VID
、
VLAN status
、
VLAN member port and VLAN configuration information.
Command
Function
Switch(config-if-GigabitEthernet-0/1)
#
switch hybrid vlan
vlan-list
{
tagged
|
untagged
}
Choose to configure this Hybrid port’s
permission VLAN lsit.
Parameter “tagged” means the packets
transmitted from this VLAN with “VLAN”
Mark. Parameter “untagged” means the
packets transmitted from tthis VLAN
without”VLAN” mark.