Untitled
# For IP setting at PC Click on PC Select desktop tab then select "IP configuration" button Then set IP by selecting static option # For switch configuration Click on Switch Select CLI tab Then start configuration Switch Configuration: >enable (to make enable) #show vlan (to see the vlan status) #conf t (to access config terminal) #vlan 2 (to go to vlan configuration mode) #name section1 (assign a new name "sec1" to vlan 2) #vlan 3 #name section2 #exit #exit >en #show vlan (here will show that vlan 2 & vlan 3 are active) #configure terminal #interface fastEthernet 0/10 (or the command can be like "int fa 0/10"; the interface of the switch you want to make vlan) #switchport mode access (to access trunk port) #switchport access vlan 3 (assign vlan 3 to that fa 0/10 port) #end #sh running-config (or only "sh run") #sh vlan (you will see the vlan 3 named section2 is assigned against port f0/10) #conf t #int fa 0/5 #switchport mode access (to access trunk port) #switchport access vlan 2 (assign vlan 2 to that fa 0/5 port) #end #sh vlan (you will see the vlan 3 named section2 is assigned against port f0/10, and vlan 2 named section1 is assigned against port f0/5) #end
Leave a Comment