APT2050
APT2050
ID: 664210
Notes:Select the first range of ports and add them to the Data VLAN
2950(config)#int range faste0/3 – 12
2950(config-if-range)#switchport mode access
2950(config-if-range)#switchport access vlan 20
2950(config-if-range)#no shutdown
2950(config-if-range)#exit
Notes:Select the second range of ports and add them to the ISCSI VLAN
2950(config)#int range faste0/13 – 24
2950(config-if-range)#switchport mode access
2950(config-if-range)#switchport access vlan 30
2950(config-if-range)#no shutdown
2950(config-if-range)#exit
2950(config)#exit
1
Notes: Select the two ports 1 and 2 and configure them as trunks. While it’s not necessary, limit the trunk to only pass VLAN 20 and 30 traffic over
the trunk link
2950(config)#int range faste0/1 – 2
2950(config-if-range)#switchport mode trunk
2950(config-if-range)#switchport trunk allowed VLAN 20,30
2950(config-if-range)#no shutdown
2950(config-if-range)#exit
2950(config)#exit
Notes: Use the ‘show vlan’ command to display the VLANs that are locally defined. The output also displays which ports are assigned to which
VLANs. Note that the two trunk ports aren’t assigned to either VLAN.
2950#show vlan
2950#
Notes:
1) Now connect and configure hosts for VLAN 20 (access ports 3-12) and hosts for VLAN 30 (access ports 13-24);
2) Then specify default gateway on hosts so all VLANs can be routed (gateway is a sub-interface on router = on VLAN20 sub-interface in this
example is 172.25.22.4)
Now connect and configure hosts for VLAN 2 (access ports 3-12) and hosts for VLAN 3 (access ports 13-24);
NB:
2
Scree
nshot of the network
3
Show VLAN configuration
next page
4
Ping Command (Switch B)
Within VLAN 20
PC 8 to PC 9
Within VLAN 30
PC 10 to PC 11
5
From VLAN 20 to VLAN 30
PC 8 to PC 10
PC 11 to PC 9
6
From VLAN 20 to Router PRIZE
PC 9 to router
7
PC 8
PC 9
8
PC 10
PC 11
9
Router Configuration
Switch Configuration
10
Additional Lab Work to Complete and Submit
Configure the two VLANs as shown in the figure below. VLAN X straddles switch A and Switch B.
Similarly, VLAN Y straddles switch A and Switch B. The two VLANs communicate through the
half-router as shown. Make all necessary configurations on the switches, on the router as well as
on hosts and test communication between the different VLANs (show all IP settings on all the
device/host interfaces). Submit all the configurations and sample screen shots to illustrate
communication.
next page
next page
11
Screenshot of the network
12
Switch Configuration Switch B (show vlan command)
next page
13
Ping Command (Switch B)
Within VLAN 40
PC 6 to PC 0
Within VLAN 50
14
PC 7 to PC 1
PC 0 to router
15
16
From VLAN 50 to Router PRIZE
PC 7 to router
17
From VLAN 40 to VLAN 30
PC 0 to PC 12
18
From VLAN 50 to VLAN 30
PC 6 to PC 10
PC 8 to PC 0
19
From VLAN 20 to VLAN 50
PC 9 to PC 1
PC 10 to PC 6
20
21
From VLAN 30 to VLAN 50
PC 12 to PC 7
Router Configuration
22
Switch Configuration (Switch A)
23
Within VLAN 40
PC6
PC0
24
Within VLAN 50
PC7
PC1
25
PC 8
PC 9
26
PC 10
PC 12
27