最佳答案
参考手册:http://www.h3c.com/cn/d_201111/733115_30005_0.htm
# 创建聚合组1(根据具体情况选择下面两种方式之一)。
l 采用手工聚合方式:创建手工聚合组1
<SwitchA> system-view
[SwitchA] link-aggregation group 1 mode manual
l 采用静态LACP聚合方式:创建静态聚合组1
<SwitchA> system-view
[SwitchA] link-aggregation group 1 mode static
# 将以太网端口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
# 通过聚合端口组批量配置成员端口所属VLAN。
[SwitchA] port-group aggregation 1
[SwitchA-port-group aggregation-1] port access vlan 20
[SwitchA-Bridge-Aggregation1] quit
# 显示配置信息。
l 采用手工聚合方式的链路聚合配置信息
<Sysname> display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation ID: 1, AggregationType: Manual, Loadsharing Type: Shar
Aggregation Description:
System ID: 0x8000, 000f-e200-2200
Port Status: S -- Selected, U -- Unselected
Local:
Port Status Priority Oper-Key Flag
-------------------------------------------------------------------------
GE1/0/1 S 32768 1 {}
GE1/0/2 S 32768 1 {}
GE1/0/3 S 32768 1 {}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
-------------------------------------------------------------------------
GE1/0/1 0 0 0 0x0000,0000-0000-0000 {}
GE1/0/2 0 0 0 0x0000,0000-0000-0000 {}
GE1/0/3 0 0 0 0x0000,0000-0000-0000 {}
结果说明:结果显示本端加入到静态聚合组内的成员端口都处于Selected状态,与对端对应端口是否是Selected状态无关,且无法获知对端成员端口状态。
l 采用静态LACP聚合方式的链路聚合配置信息
<Sysname> display link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags: A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregation ID: 1, AggregationType: Static, Loadsharing Type: Shar
Aggregation Description:
System ID: 0x8000, 000f-e200-2200
Port Status: S -- Selected, U -- Unselected
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}
结果说明:结果显示本端和对端设备上聚合组内的成员端口都处于Selected状态,通过LACP协议报文交互,可使两端聚合组内的成员端口选中状态达成一致,可顺利实现对用户数据的转发。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论