- By default the switch is set by vlan1
- Valid number for vlan range is from 2-4094
- When configure configure the interface, it is in a disable state until you enable it
Create VLAN and assign VLAN name
sw1>config terminal
sw1 (config) # vlan 20
sw1 (config) # name Student
sw1 (config) # no shut
sw1 (config) # exit
Remove VLAN
sw1> conf t
sw1(config) # no vlan 20
sw1(config) #exit
To show or check VLAN
sw1 # show vlan
Assign port on specific VLAN
sw1>conf t
sw1(config) # int fa0/2
sw1(config-if) # switchport mode access
sw1(config-if) # switchport access vlan 20
sw1(config-if) # no shut
sw1(config-if) # exit
No comments:
Post a Comment