Note: Layer 3 switches require the encapsulation to be configured before the trunk mode
Prompt |
Command |
S1(config)# |
Interface fa0/1 |
S1(config-if)# |
Switchport mode trunk |
S1(config-if)# |
Switchport trunk native vlan 99 |
S1(config-if)# |
Switchport trunk allowed vlan 10,20,30,99 |
S1(config-if)# |
end |
Enter Config Interface
Set Interface to Trunk
Set Trunk native VLAN
Specify Allowed Traffic