【實驗名稱】
(因爲本人目前學校設備是銳捷贊助,所以cisco設備也是第一次琢磨這個端口聚合)
cisco模擬器2960系列沒有端口聚合命令,所以用了一個三層交換機3560做!命令都一樣
Switch1>enable
Switch1#configure terminal
Switch1(config)#interface port-channel 1 (創建聚合組1)
Switch1(config-if)#switchport mode trunk (把聚合組1 都設置成TRUNK口,用來傳輸數據)
Switch1(config-if)#exit
Switch1(config)#interface fastEthernet 0/1 (把快速以太口0/1劃分到聚合組1)
Switch1(config-if)#channel-group 1 mode on
Switch1(config)#interface fastEthernet 0/2 (同理)
Switch1(config-if)#channel-group 1 mode on
Switch2#configure terminal
Switch2(config)#interface port-channel 1
Switch2(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch2(config)#interface fastEthernet 0/1
Switch2(config-if)#channel-group 1 mode on
Switch2(config-if)#channel-group 1 mode on
interface FastEthernet0/1
channel-group 1 mode on
!
interface FastEthernet0/2
channel-group 1 mode on
!
interface Port-channel 1
switchport mode trunk
!
interface FastEthernet0/1
channel-group 1 mode on
!
interface FastEthernet0/2
channel-group 1 mode on
!
interface Port-channel 1
switchport mode trunk
原創:胡斌
我會從簡單到難的發表一些我學過的知識,希望能給一些想入門的朋友幫助,也希望找一些志同道合的朋友、老師 給我些指教。 QQ 276200261!