Creating VLAN on Cisco C9300 & C1000 Series Switches

In this article we will see how to Create VLAN on Cisco C9300 or C1000 Series Switches.

Creating VLAN:-
RouterX>enable
RouterX#configure terminal
RouterX(config)#vlan 100
RouterX(config-vlan)#name MGMT_VLAN
RouterX(config-vlan)#exit
RouterX(config)#vlan 1000
RouterX(config-vlan)#name GUEST_VLAN
RouterX(config-vlan)#exit
RouterX(config)#exit
RouterX#
Access Port Configuration:-
RouterX>enable
RouterX#configure terminal
RouterX(config)#interface GigabitEthernet 1/0/1
RouterX(config-if)#switchport mode access 
RouterX(config-if)#switchport access vlan 100
RouterX(config-if)#exit
RouterX(config)#exit
RouterX#
Trunk Port Configuration:-
RouterX>enable
RouterX#configure terminal
RouterX(config)#interface tenGigabitEthernet 1/1/1
RouterX(config-if)#switchport mode trunk 
RouterX(config-if)#switchport trunk allowed vlan all 
RouterX(config-if)#exit
RouterX(config)#exit
RouterX#

Leave a Comment