Task |
IOS Command |
Enter global configuration mode. |
Switch# configure terminal |
Enter interface configuration mode. |
Switch(config)# interface interface-id |
Set the port to permanent trunking mode. |
Switch(config-if)# switchport mode trunk |
Sets the native VLAN to something other than VLAN 1. |
Switch(config-if)# switchport trunk native vlan vlan-id |
Specify the list of VLANs to be allowed on the trunk link. |
Switch(config-if)# switchport trunk allowed vlan vlan-list |
Return to the privileged EXEC mode. |
Switch(config-if)# end |