How to Assign a Switchport to a specific VLAN

Here are some quick commands for putting a switch in a desired VLAN.

If you want to add a switchport to a voice vlan, use the following command:

Switch#conf t
Switch(config)#int gi 1/0/4
Switch(config-if)#switchport voice vlan 3

If you want to add a switchport to an untagged VLAN, use the following command:

Switch#conf t
Switch(config)#int gi 1/0/4
Switch(config-if)#switchport access vlan 3

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *