Three-layer Switch link aggregation (VTP + VLAN + STP)

Source: Internet
Author: User
Tags switches

Lab Requirements:

The dual-core architecture combines three-layer switching technology with VTP, STP, and Ethernet channels to achieve high-speed network conversion, high availability, high reliability and redundant backup functions, mainly for the network of dual-core topologies.

Experimental design:

1. Configure VLANs on the switch to control broadcast traffic.

2. Configure the Ethernetchannel between the 2 three-layer switches to achieve high-speed interoperability between the three-layer switches.

3. Configure VTP to implement a single platform management VLAN.

4. Configure STP to achieve a balanced load

5, three layer switches configure inter-VLAN routing for different VLAN interoperability

Topology diagram:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/85/E8/wKioL1euXJ6Bp8ThAADO9cnubjU224.jpg-wh_500x0-wm_3 -wmp_4-s_3037620922.jpg "title=" link aggregation. jpg "alt=" wkiol1euxj6bp8thaado9cnubju224.jpg-wh_50 "/>

Implementation plan:

I. VLAN partitioning and IP address planning:

VLAN Ten 192.168.10.0/24 gateway:192.168.10.1

VLAN 192.168.20.0/24 gateway:192.168.20.1

VLAN 192.168.30.0/24 gateway:192.168.30.1

VLAN 192.168.40.0/24 gateway:192.168.40.1

Second, the configuration

MSW1 three-layer switch

MSW1 (config) #ip routing turn on layer three switch routing feature

MSW1 (config) #int range fa0/19-22

MSW1 (config-if-range) #switchport Trunk Encapsulation dot1q Package 802.1Q protocol

MSW1 (config-if-range) #switchport mode trunk

MSW1 (config) #vtp domain test

MSW1 (config) #vtp mode server

MSW1 (config) #vtp password Cisco

MSW1 (config) #vtp version 2

MSW1 (config) #vtp pruning start VTP pruning feature the Cisco PT Simulator does not have this command

MSW1 (config) #vlan 10

MSW1 (Config-vlan) #name Caiwu

MSW1 (Config-vlan) #vlan 20

MSW1 (Config-vlan) #name Renshi

MSW1 (Config-vlan) #vlan 30

MSW1 (Config-vlan) #name Xinxi

MSW1 (Config-vlan) #vlan 40

MSW1 (Config-vlan) #name Xiaoshou

MSW1 (config-if) #int VLAN 10

MSW1 (config-if) #ip address 192.168.10.1 255.255.255.0

MSW1 (config-if) #no shutdown

MSW1 (config-if) #int VLAN 20

MSW1 (config-if) #ip address 192.168.20.1 255.255.255.0

MSW1 (config-if) #no shutdown

MSW1 (config-if) #int VLAN 30

MSW1 (config-if) #ip address 192.168.30.1 255.255.255.0

MSW1 (config-if) #no shutdown

MSW1 (config-if) #int VLAN 40

MSW1 (config-if) #ip address 192.168.40.1 255.255.255.0

MSW1 (config-if) #no shutdown

MSW1 (config) #spanning-tree vlan 10,20 Root Primary

MSW1 (config) #spanning-tree vlan 30,40 Root Secondary

MSW1 (config) #int range fa0/23-24

MSW1 (Config-if-range) #channel-group 1 mode on

MSW1 (config-if-range) #switchport trunk Encapsulation dot1q

MSW1 (config-if-range) #switchport mode trunk

MSW1 (config) #int Port-channel 1

MSW1 (config-if) #switchport trunk Encapsulation dot1q

MSW1 (config-if) #switchport mode trunk

MSW2 three-layer switching machine

MSW2 (config) #ip routing

MSW2 (config) #vtp domain test

MSW2 (config) #vtp mode server

MSW2 (config) #vtp password Cisco

MSW2 (config) #vtp version 2

MSW2 (config) #vtp pruning

MSW2 (config-if) #int VLAN 10

MSW2 (config-if) #ip address 192.168.10.1 255.255.255.0

MSW2 (config-if) #no shutdown

MSW2 (config-if) #int VLAN 20

MSW2 (config-if) #ip address 192.168.20.1 255.255.255.0

MSW2 (config-if) #no shutdown

MSW2 (config-if) #int VLAN 30

MSW2 (config-if) #ip address 192.168.30.1 255.255.255.0

MSW2 (config-if) #no shutdown

MSW2 (config-if) #int VLAN 40

MSW2 (config-if) #ip address 192.168.40.1 255.255.255.0

MSW2 (config-if) #no shutdown

MSW2 (config) #spanning-tree vlan 30,40 Root Primary

MSW2 (config) #spanning-tree vlan 10,20 Root Secondary

MSW2 (config) #int range fa0/23-24

MSW2 (Config-if-range) #channel-group 1 mode on

MSW2 (config-if-range) #switchport trunk Encapsulation dot1q

MSW2 (config-if-range) #switchport mode trunk

MSW2 (config) #int Port-channel 1

MSW2 (config-if) #switchport trunk Encapsulation dot1q

MSW2 (config-if) #switchport mode trunk

SW1 two-layer switch

SW1 (config) #vtp domain test

SW1 (config) #vtp mode client

SW1 (config) #vtp password Cisco

SW1 (config) #vtp version 2

SW1 (config) #int range fa0/3-4

SW1 (Config-if-range) #switchport mode access

SW1 (config-if-range) #switchport Access VLAN 10

SW1 (config-if-range) #spanning-tree portfast

SW2 two-layer switch

SW2 (config) #vtp domain test

SW2 (config) #vtp mode client

SW2 (config) #vtp password Cisco

SW2 (config) #vtp version 2

SW2 (config) #int range fa0/3-4

SW2 (Config-if-range) #switchport mode access

SW2 (config-if-range) #switchport Access VLAN 20

SW2 (config-if-range) #spanning-tree portfast

SW3 two-layer switch

SW3 (config) #vtp domain test

SW3 (config) #vtp mode client

SW3 (config) #vtp password Cisco

SW3 (config) #vtp version 2

SW3 (config) #int range fa0/3-4

SW3 (Config-if-range) #switchport mode access

SW3 (config-if-range) #switchport Access VLAN 30

SW3 (config-if-range) #spanning-tree portfast

SW4 two-layer switch

SW4 (config) #vtp domain test

SW4 (config) #vtp mode client

SW4 (config) #vtp password Cisco

SW4 (config) #vtp version 2

SW4 (config) #int range fa0/3-4

SW4 (Config-if-range) #switchport mode access

SW4 (config-if-range) #switchport Access VLAN 40

SW4 (config-if-range) #spanning-tree portfast


This article is from the "Chen Chinese" blog, please be sure to keep this source http://chenhuawen.blog.51cto.com/1998230/1837520

Three-layer Switch link aggregation (VTP + VLAN + STP)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.