Command
Function
Switch(config-if-GigabitEthernet-0/1)#
switch trunk native vlan
vlan-id
Configure Native VLAN
If you want to recovery a Trunk port’s all trunk attributes to default, please use the Command
switch
mode access
。
6.3.3.
Identiy Trunk’s permission VLAN list.
You can limit some flow of VLAN can pass this Trunk port or not by configuring Truck port’s
permission VLAN list.
At the interface configuration mode, you can amend a Trunk port’s permission WLAN list.
Below is an example to remove a VLAN 2 from GigabitEthernet 0/1 permission list.
Switch(config)# interface gigabitEthernet 0/1
Switch(config-if-GigabitEthernet-0/1)#
no switch trunk allowed vlan
2
Switch(config-if-GigabitEthernet-0/1)#
end
6.3.4.
Configure Native VLAN
A Trunk can receive and send TAG or UNTAG 802.1Q frame.
。
UNTAG frame used to transmit
Native.
VLAN flow
。
Default Native VLAN is VLAN 1
。
In the port configuration mode, can configure Native VLAN fro a Trunk port.
Step 1
If you want to change Trunk’s Native VLAN list back to the default VLAN 1, please use
no switch
trunk
native vlan Command .
6.4. Configure Hybrid Vlan
6.4.1.
Hybrid OverView
Hybrid Vlan’s usage scenario is similar with Trunk Vlan
,
The only difference is that Hybrid Vlani is
assigned the packets sent from related ports whether print the specificed VLAN mark or not by user
manual.
Command
Function
Switch( config-if-GigabitEthernet-0/1)#
switch trunk allowed vlan
{
all
|
vlan-list
}
Can choose to configure this Trunk’s
permission VLAN list.
Parameter can be a VLAn,
,
“all “ means
permission VLAN list contains all supported
VLAN.