Connect to the switch console, telnet or SSH, login and enable.
To make the VLAN:
vlan [VLANNUMBER] name [VLANNAME]
To make a port an access port on that VLAN:
interface [INTERFACENAME] switchport access vlan [VLANNUMBER]
To make a port a trunk port (which allows all VLANs):
interface [INTERFACENAME] switchport mode trunk
To show a list of VLANs and the ports on them (only access ports):
show vlan brief
To show a list of trunk ports:
show interfaces trunk
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article