日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

etherchannel

發布時間:2025/3/20 编程问答 35 豆豆
生活随笔 收集整理的這篇文章主要介紹了 etherchannel 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

?etherchannel特性在switch到switch、switch到router之間提供冗余的、高速的連接方式,簡單說就是將兩個設備間多條FE或GE物理鏈路捆在一起組成一條設備間邏輯鏈路,從而達到增加帶寬,提供冗余的目的。下面具體結合配置了解它的特點:

?

  構成etherchannel的端口必須配置成相同的特性,如雙工模式、速度、同為FE或GE端口、native VLAN,、VLAN range,、and trunking status and type.等

?

  當etherchannel中某一條link failed時,etherchannel中其它link照常工作。

?

  當配置layer 2端口作etherchannel時只要在成員端口配置模式下用channel-group n命令指定該端口要加入的channel-group組,這時switch會自動創建port-channel接口,而當配置layer 3端口作etherchannel時,還需現在全局配置模式下用 interface port-channel n 命令手工創建port-channel接口。

3550(config)#interface ?gigabitethernet 0/1

3550(config-if)#switchport

3550(config-if)#channel-group ?1 ?mode ?desirable

3550(config-if)#exit

3550(config)#interface ?gigabitethernet 0/2

3550(config-if)#switchport

3550(config-if)#channel-group ?1 ?mode ?desirable

3550(config-if)#exit

3550(config)#interface ?port-channel ?1

3550(config-if)#switchport ?mode ?trunk

?

show etherchannel 1 summary

show etherchannel ?summary ?查看所有的group

?

配置三層channel

3550(config)#interface ?gigabitethernet 0/1

3550(config-if)#no ?switchport

3550(config-if)#channel-group ?1 ?mode ?desirable

3550(config-if)#exit

3550(config)#interface ?gigabitethernet 0/2

3550(config-if)#no ?switchport

3550(config-if)#channel-group ?1 ?mode ?desirable

3550(config-if)#exit?

3550(config)#interface ?port-channel ?1

3550(config-if)#ip ?address ?100.1.1.1 ?255.255.255.0

?

還有一種好的辦法是先對每個接口封裝trunk,再劃入channel-group中,channel-group接口會自動繼承trunk

?

配置etherchannel負載均衡

?

port-channel load-balance [dst-mac|src-mac]

?

show etherchannel load-balance

http://www.9ihlw.com

轉載于:https://blog.51cto.com/cc94p/679261

總結

以上是生活随笔為你收集整理的etherchannel的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。