您好,登錄后才能下訂單哦!
stp vlan 鏈路匯聚的實驗分析,針對這個問題,這篇文章詳細介紹了相對應的分析和解答,希望可以幫助更多想解決這個問題的小伙伴找到更簡單易行的方法。
實驗名稱:stp vlan 鏈路匯聚 大綜合實驗
實驗目的:熟練運用和配置stp vlan 鏈路匯聚
實驗設計:
1、 在交換機上配置VLAN,控制廣播流量
2、 配置2臺三層交換機之間的EthernetChannel,實現三層交換機之間的高速互通
3、 配置VTP,實現從三層交換單一平臺管理下面二層交換的VLAN
4、 配置STP,實現負載分擔和冗余互通
5、 在三層交換機上配置VLAN間路由,實現不同VLAN之間互通
實驗拓撲圖:
主要配置:
三層交換機上的配置
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
其他四個二層的交換機,把上聯端口設trunk,再把pc相連的端口加入各自的vlan即可。
驗證:
在二層交換機上輸入命令show spanning-tree來觀察:
2cengsw2:(二層里加入vlan 20的交換機)
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:(二層里加入vlan 30的交換機)
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
利用stp實現了交換機vlan流量的負載分擔和冗余互通。
關于stp vlan 鏈路匯聚的實驗分析問題的解答就分享到這里了,希望以上內容可以對大家有一定的幫助,如果你還有很多疑惑沒有解開,可以關注億速云行業資訊頻道了解更多相關知識。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。