最佳答案
"# 创建聚合组1(根据具体情况选择下面两种方式之一)。 l采用静态聚合模式:创建二层聚合接口1 <SwitchA> system-view [SwitchA] interface bridge-aggregation 1 [SwitchA-Bridge-Aggregation1] quit l采用动态聚合模式:创建二层聚合接口,并配置动态聚合模式 <SwitchA> system-view [SwitchA] interface bridge-aggregation 1 [SwitchA-Bridge-Aggregation1] link-aggregation mode dynamic # 将以太网端口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,并将该配置批量下发到各成员端口上。 [SwitchA] interface bridge-aggregation 1 [SwitchA-Bridge-Aggregation1] port access vlan 20 [SwitchA-Bridge-Aggregation1] quit # 显示配置信息。 l采用静态聚合模式的链路聚合配置信息 [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 结果说明:本端加入到静态聚合组内的成员端口都处于Selected状态,与对端对应端口是否是Selected状态无关。 l采用动态聚合模式的链路聚合配置信息 [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}"
(0)
http://www.h3c.com/cn/d_201904/1168374_30005_0.htm#_Toc536092158
1) 配置Device A
# 创建VLAN 10,并将端口FortyGigE1/0/4加入到该VLAN中。
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port fortygige 1/0/4
[DeviceA-vlan10] quit
# 创建VLAN 20,并将端口FortyGigE1/0/5加入到该VLAN中。
[DeviceA] vlan 20
[DeviceA-vlan20] port fortygige 1/0/5
[DeviceA-vlan20] quit
# 创建二层聚合接口1。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] quit
# 分别将端口FortyGigE1/0/1至FortyGigE1/0/3加入到聚合组1中。
[DeviceA] interface fortygige 1/0/1
[DeviceA-FortyGigE1/0/1] port link-aggregation group 1
[DeviceA-FortyGigE1/0/1] quit
[DeviceA] interface fortygige 1/0/2
[DeviceA-FortyGigE1/0/2] port link-aggregation group 1
[DeviceA-FortyGigE1/0/2] quit
[DeviceA] interface fortygige 1/0/3
[DeviceA-FortyGigE1/0/3] port link-aggregation group 1
[DeviceA-FortyGigE1/0/3] quit
# 配置二层聚合接口1为Trunk端口,并允许VLAN 10和20的报文通过。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] port link-type trunk
[DeviceA-Bridge-Aggregation1] port trunk permit vlan 10 20
[DeviceA-Bridge-Aggregation1] quit
(2) 配置Device B
Device B的配置与Device A相似,配置过程略。
(1)
暂无评论
<Sysname> system-view
[Sysname] interface bridge-aggregation 1 /创建聚合组/
[Sysname] interface gigabitethernet 1/0/1 /将端口加入聚合组/
[Sysname-GigabitEthernet1/0/1] port link-aggregation group 1
设置好后,所有对端口的操作,比如打trunk或加入vlan,均对聚合口操作
<Sysname> display link-aggregation verbose / 显示聚合信息 /
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论