Give a member of VLAN by using switch's port number
#vlan database
(vlan)#vlan <vlan number> name <vlan name>
(vlan)#exit
#conf t
(config)#interface interface-type //interface fa0/1
(config-if)#switchport mode access
(config-if)#switchport access vlan <vlan number>
(config-if)#end
#show vlan
Dynamic VLAN : mac address
Give a member of VLAN by using mac address
- when computer connect to switch
- switch checks computer's mac address
- switch send mac address to database on server*
- server check mac address if exist send Vlan number back to computer
- give vlan to computer
*server: VLAN Membership Policy Server (VMPS)