Main contents of the experiment:
1.VTP of configuration
2.STP of configuration
3. Configuration of the switch
4. Configuration of routers
5. Test experiment topology:
The 1.VLAN divides the VLAN ID for the 2~5 VLAN 1 for the Management VLAN, without the role of the user VLAN. IP address planning for 2.VLAN
vlan ID |
ip address range /td> |
gateway address |
2 |
192.168.10.0/26 |
192.168.10.1/26192.168.10.2/26 |
3 |
192.168.10.65/ 26192.168.10.66/26 |
192.168.10.128/26 |
5 |
192.168.10.192/26 |
192.168.10.193/26192.168.10.194/26 |
3. Router IP address planning
Routing Interfaces |
IP Address |
Three-layer Switch routing interface |
172.16.1.1/30 |
f0/0 |
172.16.1.2/30 |
F0/1 |
10.1.1.10/24 |
4. Port Planning
Ports on a three-tier switch are assigned two three-tier switches F0/1 and F0/2 interface configuration Ethernetchannel
Ports F0/10, F0/11, F0/12, F0/13 Two-tier switches to connect to the access layer.
Sw-3l-2 F0/24 connecting routers, configuring the routing interface.
The port allocation of the two-tier switch f0/23~24 connected to the three-layer switch, CONFIGURED trunk (23 sw-3l-1,24 Sw-3l-2) f0/1~20 connect the host, and the VLAN is divided on average.
Configuration process:
VTP configuration
Two three tiers for the rest of the server two are Clientsw-3l-1 (config) #vtp domain cainiaosw-3l-1 (config) #vtp mode serversw-3l-1 (config) #vtp Password 1234sw-3l-1 (config) #vtp version 2sw-3l-1 (config) #vtp pruning
SW-3L-2 configuration is the same
Sw-a (config) #vtp domain cainiaosw-a (config) #vtp password 1234sw-a (config) #vtp version 2sw-a (config) #vtp pruningsw-a ( Config) #vtp mode client
B, C, d configuration of the same slightly
Add VLAN, enter the configuration of the port slightly (according to the planned configuration)
STP Configuration
Sw-3l-1 (config) #spanning-tree VLAN 2 root primarysw-3l-1 (config) #spanning-tree vlan 3 root primarysw-3l-2 (config) # Spanning-tree VLAN 4 priority 4096sw-3l-2 (config) #spanning-tree VLAN 5 priority 4096
Let Sw-3l-1 become VLAN2, VLAN3 Root Network Bridge, Sw-3l-2 become VLAN4, VLAN5 Root Network bridge, to achieve load sharing.
Sw-a (config) #spanning-tree uplinkfastsw-a (config) #int f0/23sw-a (config-if) #spanning-tree portfastsw-a (config) #int F0/24sw-a (config-if) #spanning-tree portfast
Configure upper Shuchong link and speed ports
B, C, D configuration slightly