2900 Series Switch
Enters VLAN database mode
2900#vlan database
Creates VLAN 2 and names it Sales
2900(vlan)#vlan 2 name Sales
Creates VLAN 3 and names it HR
2900(vlan)#vlan 3 name HR
2900(vlan)#exit
2950 Series Switch
2950Switch#config t
Creates VLAN 10 and enters VLAN config mode for further definitions
2950Switch(config)#vlan 10
Assigns a name to a VLAN
2950(config-vlan)#name Sales
2950(config-vlan)#exit
Creates VLAN 20 and enters VLAN config mode for further definitions
2950Switch(config)#vlan 20
Assigns a name to a VLAN
2950(config-vlan)#name HR
2950(config-vlan)#exit
Assigning ports to VLAN 2900/2950
2900Switch#config t
2900Switch(config)#int fa0/2
2900Switch(config-if)#switchport mode access
2900Switch(config-if)#switchport access vlan 2
2900Switch(config-if)#int fa0/3
2900Switch(config-if)#switchport mode access
2900Switch(config-if)#switchport access vlan 3
2900Switch(config-if)#exit
0 comments:
Post a Comment