CCNP學習筆記13-交換部分---EthernetChannel

            etherchannel 配置鏈路聚合
負載均衡


- 提升骨幹鏈路帶寬ide

- 提供骨幹鏈路冗餘spa

- 負載均衡:(區別於路由中的負載均衡)orm

        基於源IP或源mac
繼承

        基於目標IP,或目標IP
接口



產生鏈路聚合 2種方法 
ip

    1,靜態配置
ci

    2,動態協商:
路由

            動態協商協議 dynamic trunk negotiation protocols
it

            PAgP:cisco私有

            LACP:IEEE 802.3ad標準


    靜態配置: 

       SW1  s0/5-6 ================================== s-/5-6 SW2

        int range f0/5 -6                                int range f0/5 -6       

            no shut                                            no shut         

            channel-group 1 mode on                            channel-group 1 mode on

        兩端 channel-group 編號本地有效,無需一致

        show etherchannel summary

                

    PAgP  

        模式 -1, desirable 主動協商

             -2, auto 被動協商

        配置:

        SW1:int range f0/5 -6                        SW2:int range f0/5 -6

        模式1:   channel-group 1 mode desirable                chann-group 1 mode des

            sho ether summ

        模式2:   chann 1 mode auto                             chann mode auto

            sho ether summ 

        模式3;    chann 1 mode on                               channe mode des

            sho ether summ 正常                            sho ether summ 就不正常


    捆綁access口 

        inter port-channel 1

            swithcport mode access

        sho int port-channel 1 swi

    捆綁 3 層口 

        int rnag f0/5 -6

            chann 1 mode on

            no shu

        int port-channel 1 

            ip add 12.1.1.1 255.255.255.0

捆綁總結:

        1,設備接口支持捆綁

        2,速率 雙工 一致

        3,捆綁後,沒法抓包

        4,捆綁3層口,配置IP時,必須配在port口上

        5,捆綁access口,必須屬於相同vlan

        6,捆綁trunk口,容許經過的vlan必須相同

        7,接口配置STP,cost值只對stp協議生效,cost值不一致不影響portchannel的創建

        8,portchannel配置,會直接影響其下的物理口。反過來不影響

            捆綁以前,port會繼承物理口的配置


ethernet channel 負載均衡  

 - 默認 基於源MAC的負載均衡

    配置 全局下:

    port-channel load-banlance src-mac

 - 查看

    sho ethernetchannel load-banlance

相關文章
相關標籤/搜索