VLAN को create करना –
VLAN को create करने के लिए हम vlan कमांड का उपयोग करते है। इस command को global configuration mode में execute किया जाता है।
Switch(config)# vlan 200
VLAN को नाम देना –
VLAN को नाम देने के लिए हम name कमांड का उपयोग करते है। VLAN का नाम configure करना optional है।
Switch(config-vlan)#name marketing
VLANs को show करना –
सभी create किये गये VLANs को देखने के लिए show vlan और do show vlan कमांड को execute करते है।
यदि आप privileged execution mode में है तो सभी VLANs को इस प्रकार देख सकते है।
Switch#show vlan
यदि आप global configuration mode में है तो सभी VLANs को इस प्रकार देख सकते है।
Switch(config)#do show vlan

इसे भी पढ़े >> What is Vlan's in Hindi?
VLANs को remove करना –
किसी VLAN को remove करने के लिए no vlan कमांड का use किया जाता है। इस command के बाद वह VLAN number देते है जिसे आप remove करना चाहते है।
Switch(config)#no vlan 100
Access Port Configuration –
Switch(config)#int f0/1
f0/1 ,f0/2, f0/3, ……………. ये vlan के ports / interface होते है। जिस interface को आप access port बनाना चाहते है तो int के बाद उस interface को लिखे। जैसे की
Switch (config)#int f0/2
यदि एक साथ आप एक से अधिक इंटरफ़ेस को access port बनाना चाहते है तो निचे दी गयी कमांड को लिख सकते है।
Switch(config)#int range f0/2 -4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100