Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Experimental Analysis of stp vlan Link aggregation

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

The experimental analysis of stp vlan link convergence, aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

Experiment name: stp vlan Link Convergence large Comprehensive experiment

Purpose of experiment: proficient in using and configuring stp vlan link aggregation

Experimental design:

1. Configure VLAN on the switch to control broadcast traffic

2. Configure EthernetChannel between two layer 3 switches to realize high-speed interworking between layer 3 switches.

3. Configure VTP to manage layer 2 switching VLAN from a single layer 3 switching platform.

4. Configure STP to realize load sharing and redundant interworking.

5. Configure inter-VLAN routing on layer 3 switch to realize interworking between different VLAN.

Experimental topology diagram:

Main configuration:

Configuration on layer 3 switch

Sw1:

Interface FastEthernet0/19

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/20

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/21

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/22

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/23

Channel-group 1 mode on

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/24

Channel-group 1 mode on

Switchport trunk encapsulation dot1q

Switchport mode trunk

Interface Port-channel 1

Switchport trunk encapsulation dot1q

Switchport mode trunk

Interface Vlan10

Ip address 192.168.10.1 255.255.255.0

!

Interface Vlan20

Ip address 192.168.20.1 255.255.255.0

!

Interface Vlan30

Ip address 192.168.30.1 255.255.255.0

!

Interface Vlan40

Ip address 192.168.40.1 255.255.255.0

Spanning-tree vlan 10,20 priority 24576

Spanning-tree vlan 30,40 priority 28762

Sw2:

Interface FastEthernet0/19

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/20

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/21

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/22

Switchport trunk encapsulation dot1q

Switchport mode trunk

Interface FastEthernet0/23

Channel-group 1 mode on

Switchport trunk encapsulation dot1q

Switchport mode trunk

!

Interface FastEthernet0/24

Channel-group 1 mode on

Switchport trunk encapsulation dot1q

Switchport mode trunk

Interface Port-channel 1

Switchport trunk encapsulation dot1q

Switchport mode trunk

Interface Vlan10

Ip address 192.168.10.1 255.255.255.0

!

Interface Vlan20

Ip address 192.168.20.1 255.255.255.0

!

Interface Vlan30

Ip address 192.168.30.1 255.255.255.0

!

Interface Vlan40

Ip address 192.168.40.1 255.255.255.0

Spanning-tree vlan 30,40 priority 24576

Spanning-tree vlan10,20 priority 28762

For the other four layer 2 switches, set the uplink ports to trunk, and then add the ports connected to pc to their respective vlan.

Verify:

Enter the command show spanning-tree on the layer 2 switch to observe:

2cengsw2: (switch with vlan 20 in layer 2)

VLAN0020

Spanning tree enabled protocol ieee

Root ID Priority 24596

Address 00D0.FF9E.E492

Cost 19

Port 23 (FastEthernet0/23)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)

Address 000B.BE88.6471

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

Interface Role Sts Cost Prio.Nbr Type

Fa0/1 Desg FWD 19 128.1 P2p

Fa0/2 Desg FWD 19 128.2 P2p

Fa0/23 Root FWD 19 128.23 P2p

Fa0/24 Altn BLK 19 128.24 P2p

2cengsw3: (switch with vlan 30 in layer 2)

VLAN0030

Spanning tree enabled protocol ieee

Root ID Priority 24606

Address 0090.2156.B192

Cost 19

Port 24 (FastEthernet0/24)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32798 (priority 32768 sys-id-ext 30)

Address 00D0.5822.D844

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

Interface Role Sts Cost Prio.Nbr Type

Fa0/1 Desg FWD 19 128.1 P2p

Fa0/2 Desg FWD 19 128.2 P2p

Fa0/23 Altn BLK 19 128.23 P2p

Fa0/24 Root FWD 19 128.24 P2p

The load sharing and redundant interworking of vlan traffic of the switch are realized by using stp.

The answers to the experimental analysis questions about stp vlan link convergence are shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report