交換機鏈路靜態(tài)聚合(link aggregation)配置

配置思路
二層鏈路靜態(tài)聚合(link aggregation)配置
本實驗中,s5130交換機上聯(lián)為DMZ_S5120和NW_S5500交換機
NW側的二層聚合接口為BAG13
    要使去往NW的VLAN10與VLAN20的數據流量均能通過二層聚合接口13,須配置二層聚合接口的鏈路類型為Trunk端口,并允許VLAN10和VLAN20的報文通過。
DMZ側的二層聚合接口為BAG26
    要使去往DMZ的VLAN110與VLAN120的數據流量均能通過二層聚合接口26,須配置二層聚合接口的鏈路類型為Trunk端口,并允許VLAN110和VLAN120的報文通過。
配置注意事項
先配置二層鏈路聚合接口組,退出配置進入對應端口(所有需要加入的端口)依次加入聚合組,再次進入聚合組進行vlan放行,否則端口無法自動識別聚合組內vlan信息
配置步驟

1、配置NW_S5500交換機

1-1、創(chuàng)建二層聚合接口13

<Sysname> system-view 
[Sysname] sysname NW
[NW] interface bridge-aggregation 13
[NW-Bridge-Aggregation13] quit

1-2、分別將端口GigabitEthernet1/0/13至 GigabitEthernet1/0/14加入到聚合組13中

[NW] interface gigabitethernet 1/0/13
[NW-gigabitethernet1/0/13] port link-aggregation group 13
[NW-gigabitethernet1/0/13] quit
[NW] interface gigabitethernet 1/0/14
[NW-gigabitethernet1/0/14] port link-aggregation group 13
[NW-gigabitethernet1/0/14] quit

1-3-配置二層聚合接口13為Trunk端口,并允許vlan10和20的報文通過

[NW] interface bridge-aggregation 13
[NW-Bridge-Aggregation13] port link-type trunk
[NW-Bridge-Aggregation13] port trunk permit vlan 10 20
 Please wait... Done.
 Configuring GigabitEthernet1/0/13... Done.
 Configuring GigabitEthernet1/0/14... Done.
[NW-Bridge-Aggregation13] quit

2、配置S5130交換機(與NW交換機互聯(lián))

2-1、創(chuàng)建二層聚合接口13

<Sysname> system-view 
[Sysname] sysname S5130
[S5130] interface bridge-aggregation 13
[S5130-Bridge-Aggregation13] quit

2-2、分別將端口GigabitEthernet1/0/13至 Ten-GigabitEthernet1/0/14加入到聚合組13中

[S5130] interface gigabitethernet 1/0/13
[S5130-gigabitethernet1/0/13] port link-aggregation group 13
[S5130-gigabitethernet1/0/13] quit
[S5130] interface gigabitethernet 1/0/14
[S5130-gigabitethernet1/0/14] port link-aggregation group 13
[S5130-gigabitethernet1/0/14] quit

2-3、配置二層聚合接口13為Trunk端口,并允許vlan10和20的報文通過。

[S5130] interface bridge-aggregation 13
[S5130-Bridge-Aggregation13] port link-type trunk
[S5130-Bridge-Aggregation13] port trunk permit vlan 10 20
 Please wait... Done.
 Configuring Ten-GigabitEthernet1/0/13... Done.
 Configuring Ten-GigabitEthernet1/0/14... Done.
[S5130-Bridge-Aggregation13] quit

3、配置DMZ_S5120交換機

3-1、創(chuàng)建二層聚合接口26

<Sysname> system-view 
[Sysname] sysname DMZ
[DMZ] interface bridge-aggregation 26
[DMZ-Bridge-Aggregation26] quit

3-2、分別將端口GigabitEthernet1/0/26至 GigabitEthernet1/0/27加入到聚合組26中

[DMZ] interface gigabitethernet 1/0/26
[DMZ-gigabitethernet1/0/26] port link-aggregation group 26
[DMZ-gigabitethernet1/0/26] quit
[DMZ] interface gigabitethernet 1/0/27
[DMZ-gigabitethernet1/0/27] port link-aggregation group 26
[DMZ-gigabitethernet1/0/27] quit

3-3、配置二層聚合接口26為Trunk端口,并允許vlan110和120的報文通過

[DMZ] interface bridge-aggregation 26
[DMZ-Bridge-Aggregation26] port link-type trunk
[DMZ-Bridge-Aggregation26] port trunk permit vlan 110 120
 Please wait... Done.
 Configuring GigabitEthernet1/0/26... Done.
 Configuring GigabitEthernet1/0/27... Done.
[DMZ-Bridge-Aggregation26] quit

4、配置S5130堆疊交換機(與DMZ交換機互聯(lián))

4-1、創(chuàng)建二層聚合接口26

[S5130] interface bridge-aggregation 26
[S5130-Bridge-Aggregation26] quit

4-2、分別將端口Ten-GigabitEthernet1/0/26至 Ten-GigabitEthernet1/0/27加入到聚合組26中

[S5130] interface Ten-gigabitethernet 1/0/26
[S5130-Ten-gigabitethernet1/0/26] port link-aggregation group 26
[S5130-Ten-gigabitethernet1/0/26] quit
[S5130] interface Ten-gigabitethernet 1/0/27
[S5130-Ten-gigabitethernet1/0/27] port link-aggregation group 26
[S5130-gigabitethernet1/0/27] quit

4-3、配置二層聚合接口26為Trunk端口,并允許vlan110和120的報文通過

[S5130] interface bridge-aggregation 26
[S5130-Bridge-Aggregation26] port link-type trunk
[S5130-Bridge-Aggregation26] port trunk permit vlan 110 120
 Please wait... Done.
 Configuring Ten-GigabitEthernet1/0/26... Done.
 Configuring Ten-GigabitEthernet1/0/27... Done.
[S5130-Bridge-Aggregation13] quit
驗證配置
鏈路聚合配置信息   display link-aggregation verbose
鏈路聚合配置信息   display link-aggregation summary
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

  • 鏈路聚合,是將多個物理二層鏈路捆綁為一個邏輯二層鏈路的技術。不同的廠商有不同的叫法: Zte:Smartgroup...
    kummerwu閱讀 21,286評論 0 12
  • 通過consule進行配置: # 設置系統(tǒng)的日期、時間和時區(qū) <HUAWEI>clock timezone BJ ...
    lxx_call閱讀 1,532評論 0 3
  • 0×1.VLAN介紹VLAN(Virtual Local Area Network,虛擬局域網),通過在支持VLA...
    Zero___閱讀 6,774評論 3 9
  • 今天一天沒怎么吃東西,為了點小的事兒,搞了半天。沒有多大的必要,明天好好聽教授講課。學習鞏固一下知識,這個預售不能...
    拉伽瑜伽天天閱讀 114評論 0 0
  • 陽春三月,萬物復蘇,鳥語花香,正是春光燦爛的日子,生活本該也如此,可我的狀態(tài)在這美好的景色對比下卻顯得極其糟糕,不...
    青聲昔語閱讀 533評論 0 1

友情鏈接更多精彩內容