Вы находитесь на странице: 1из 2

VLAN CONFIGURATION IN 2950 SERIES SWITCH

Telnet 192.168.20.65
Password:****
Switch>enable
Password:****
Switch#vlan database
Switch(vlan)#vlan 2 name ccna
Switch(vlan)#apply
Switch(vlan)#exit
Switch#config terminal
Switch(config)#interface fastethernet 0/1
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#^z
Switch#show vlan
VLAN TRUNKING IN 2950 SERIES SWITCH
Telnet 192.168.20.55
Password:****
Switch>enable
Password:****
Switch#vlan database
Switch(vlan)#vlan 2 name cisco
Switch(vlan)#apply
Switch(vlan)#exit
Switch#config terminal
Switch(config)#interface fastethernet 0/1
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#^z
Switch#show vlan
Switch#config terminal
Switch(config)#int fa0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan 2
Switch(configif)#^z
Switch#show vlan

Telnet 192.168.20.65
Password:****
Switch>enable
Password:****
Switch#vlan database
Switch(vlan)#vlan 2 name ccna
Switch(vlan)#apply
Switch(vlan)#exit
Switch#config terminal
Switch(config)#interface fastethernet 0/1
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#^z
Switch#show vlan
Switch#config terminal
Switch(config)#int fa0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk allowed vlan 2
Switch(configif)#^z
Switch#show vlan
How to check
Ping to the member of vlan 2 in other switch
INITIAL CONFIGURATION FOR SWITCH 2950
Would you like to setup initial configuration dialogue (yes/no) ? No
Switch>
Switch>enable
Switch#
Switch#config t
Switch(config)#hostname Switch65
Switch65(config)#interface vlan1
Switch65(config-if)#ip address 192.168.20.65 255.255.255.0
Switch65(config-if)#no shut
Switch65(config-if)#^z
Switch65#Show Running-config
Switch65#copy running-config startup-config

Вам также может понравиться