H3C交換機(jī)配置鏈路聚合
H3C交換機(jī)配置鏈路聚合
H3C交換機(jī)配置鏈路聚合如何?要如何弄H3C交換機(jī)配置鏈路聚合.下面是學(xué)習(xí)啦小編收集整理的H3C交換機(jī)配置鏈路聚合,希望對(duì)大家有幫助~~
H3C交換機(jī)配置鏈路聚合
創(chuàng)建聚合組1(根據(jù)具體情況選擇下面兩種方式之一)。
l采用靜態(tài)聚合模式:創(chuàng)建二層聚合接口1
system-view
[SwitchA] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] quit
l采用動(dòng)態(tài)聚合模式:創(chuàng)建二層聚合接口,并配置動(dòng)態(tài)聚合模式
system-view
[SwitchA] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] link-aggregation mode dynamic
# 將以太網(wǎng)端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入聚合組1。
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] port link-aggregation group 1
[SwitchA-GigabitEthernet1/0/1] interface GigabitEthernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] port link-aggregation group 1
[SwitchA-GigabitEthernet1/0/2] interface GigabitEthernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] port link-aggregation group 1
[SwitchA-GigabitEthernet1/0/3] quit
# 配置二層聚合接口1所屬VLAN,并將該配置批量下發(fā)到各成員端口上。
[SwitchA] interface bridge-aggregation 1
[SwitchA-Bridge-Aggregation1] port access vlan 20
[SwitchA-Bridge-Aggregation1] quit
# 顯示配置信息。
l采用靜態(tài)聚合模式的鏈路聚合配置信息
[SwitchA] display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation Interface: Bridge-Aggregation1
Aggregation Mode: Static
Loadsharing Type: Shar
Port Status Oper-Key
--------------------------------------------------------------------------------
GE1/0/1 S 1
GE1/0/2 S 1
GE1/0/3 S 1
結(jié)果說(shuō)明:本端加入到靜態(tài)聚合組內(nèi)的成員端口都處于Selected狀態(tài),與對(duì)端對(duì)應(yīng)端口是否是Selected狀態(tài)無(wú)關(guān)。
l采用動(dòng)態(tài)聚合模式的鏈路聚合配置信息
[SwitchA]display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation Interface: Bridge-Aggregation1
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 000f-e234-5678
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1 {ACDEF}
GE1/0/2 S 32768 1 {ACDEF}
GE1/0/3 S 32768 1 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
GE1/0/1 17 32768 1 0x8000, 0000-fc00-6504 {ACDEF}
GE1/0/2 18 32768 1 0x8000, 0000-fc00-6504 {ACDEF}
GE1/0/3 19 32768 1 0x8000, 0000-fc00-6504 {ACDEF}
H3C交換機(jī)配置鏈相關(guān)文章: