23 Şub 2009

CCNA LAB:VLANs Configuration

Switch>enable

Switch#configure terminal

Switch(config)#hostname Switch2960

Switch2960(config)#vlan 2

Switch2960(config-vlan)#name Sales

Switch2960(config-vlan)#exit

Switch2960(config)#vlan 3

Switch2960(config-vlan)#name Engineering

Switch2960(config-vlan)#vlan 4

Switch2960(config-vlan)#name Marketing

Switch2960(config-vlan)#exit

Switch2960(config)#interface range fasthethernet 0/1 – 4

Switch2960(config-if-range)#switchport mode access

Switch2960(config-if-range)#switchport access vlan 4

Switch2960(config-if-range)#interface range fastethernet 0/5 – 9

Switch2960(config-if-range)#switchport mode access

Switch2960(config-if-range)#switchport access vlan 3

Switch2960(config-if-range)#interface range fastethernet 0/10-11

Switch2960(config-if-range)#switchport mode access

Switch2960(config-if-range)#switchport access vlan 2

Switch2960(config-if-range)#exit

Switch2960(config)#exit

Switch2960#copy running-config startup-config

Switch2960#

 

Hiç yorum yok:

Yorum Gönder