Cisco PT 案例七:配置鏈路聚合 / 負載均衡


環境

  • Cisco Packet Tracer 5.3
  • Windows 10

操作

操作:按照如圖所示連接拓撲圖

image.png

配置交換機0
Switch>enable
Switch#configure terminal
Switch(config)#hostname SA              (更改交換機名字)
SA(config)#interface port-channel 1         (聚合通道1)
SA(config-if)#exit
SA(config)#interface fa0/22
SA(config-if)#channel-group 1 mode on      (開啟聚合通道1)
SA(config-if)#interface fa0/23
SA(config-if)#channel-group 1 mode on
SA(config-if)#interface fa0/24
SA(config-if)#channel-group 1 mode on
SA(config-if)#exit
SA(config)#interface port-channel 1
SA(config-if)#switchport mode trunk            (交換機間鏈路類型為trunk)
SA(config-if)#switchport trunk allowed vlan all     (允許所有VLAN通過)

配置交換機1

Switch>enable
Switch#configure terminal
Switch(config)#hostname SB
SB(config)#interface port-channel 1
SB(config-if)#exit
SB(config)#interface range fa0/22-fa0/24       (同時開啟聚合通道1)
SB(config-if)#channel-group 1 mode on
SB(config-if)#exit
SB(config)#interface port-channel 1
SB(config-if)#switchport mode trunk
SB(config-if)#switchport trunk allowed vlan all


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM