两台路由器三层口做二层链路动态聚合怎么做 ,创建了聚合组 ,跑端口下加入聚合组会提示:The link aggregation group does not exist. 聚合组不存在
(0)
最佳答案
# 进入系统视图,创建VLAN 10,并将端口GigabitEthernet1/0/4加入到该VLAN 10中。
<H3C> system-view
[H3C]vlan 10
[H3C-vlan10]port gigabitethernet 1/0/4
[H3C-vlan10]quit
# 创建VLAN 20,并将端口GigabitEthernet1/0/5加入到该VLAN 20中。
[H3C] vlan 20
[H3C-vlan20] port gigabitethernet 1/0/5
[H3C-vlan20] quit
# 创建二层聚合接口1。(根据具体情况选择下面两种方式之一)
l 采用静态聚合模式:创建二层聚合接口1
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] quit
l 采用动态聚合模式:创建二层聚合接口,并配置动态聚合模式
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] link-aggregation mode dynamic
[H3C-Bridge-Aggregation1] quit
# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组1中。
[H3C]interface gigabitethernet 1/0/1
[H3C-GigabitEthernet1/0/1] port link-aggregation group 1
[H3C-GigabitEthernet1/0/1] quit
[H3C]interface gigabitethernet 1/0/2
[H3C-GigabitEthernet1/0/2] port link-aggregation group 1
[H3C-GigabitEthernet1/0/2] quit
[H3C]interface gigabitethernet 1/0/3
[H3C-GigabitEthernet1/0/3] port link-aggregation group 1
[H3C-GigabitEthernet1/0/3] quit
# 配置二层聚合接口1为Trunk端口,并允许VLAN 10和VLAN 20的报文通过。
[H3C]interface bridge-aggregation 1
[H3C-Bridge-Aggregation1] port link-type trunk
[H3C-Bridge-Aggregation1] port trunk permit vlan 10 20
Please wait... Done.
Configuring GigabitEthernet 1/0/1... Done.
Configuring GigabitEthernet 1/0/2... Done.
Configuring GigabitEthernet 1/0/3... Done.
[H3C-Bridge-Aggregation1] quit
# 保存配置信息
[H3C]save force
Switch B上的配置与Switch A完全相同,此处不再赘述。
# 通过display link-aggregation verbose命令来显示聚合组的相关信息,以验证配置是否成功。
l 采用静态聚合模式的链路聚合配置信息
[H3C] 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 Priority Oper-Key
--------------------------------------------------------------------------------
GE1/0/1 S 32768 1
GE1/0/2 S 32768 1
GE1/0/3 S 32768 1
结果说明:本端加入到静态聚合组内的成员端口都处于Selected状态,与对端对应端口是否是Selected状态无关。
l 采用动态聚合模式的链路聚合配置信息
[H3C]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-Aggregation11
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 14 32768 1 0x8000, 0000-fc00-7506 {ACDEF}
GE1/0/2 15 32768 1 0x8000, 0000-fc00-7506 {ACDEF}
GE1/0/3 16 32768 1 0x8000, 0000-fc00-7506 {ACDEF}
结果说明:本端和对端设备上聚合组内的成员端口都处于Selected状态。原因是在动态链路聚合中通过LACP协议报文交互,可使两端聚合组内的成员端口选中状态达成一致,可顺利实现对用户数据的转发。
(0)
interface GigabitEthernet0/0 port link-mode bridge port access vlan 777 combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port link-a [1-GigabitEthernet0/0]port link-a [1-GigabitEthernet0/0]port ? access Set access port attributes hybrid Set hybrid port attributes link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type trunk Set trunk port attributes
不行啊 进端口后都敲不出port link-aggregation group 1的命令
[1]int Bridge-Aggregation 11 [1-Bridge-Aggregation11]dis th # interface Bridge-Aggregation11 link-aggregation mode dynamic # return [1-Bridge-Aggregation11]int g 0/0 [1-GigabitEthernet0/0]dis th # interface GigabitEthernet0/0 port link-mode bridge combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port lin [1-GigabitEthernet0/0]port link- [1-GigabitEthernet0/0]port link-? link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type [1-GigabitEthernet0/0]port link-
您好,请知:
(4)
还是不可以
已经改成二层口了 并且加入了VLAN 还是敲不出port link-agg group的命令
[1]int Bridge-Aggregation 11 [1-Bridge-Aggregation11]dis th # interface Bridge-Aggregation11 link-aggregation mode dynamic # return [1-Bridge-Aggregation11]int g 0/0 [1-GigabitEthernet0/0]dis th # interface GigabitEthernet0/0 port link-mode bridge combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port lin [1-GigabitEthernet0/0]port link- [1-GigabitEthernet0/0]port link-? link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type [1-GigabitEthernet0/0]port link-
[1]int b 11 [1-Bridge-Aggregation11]dis th # interface Bridge-Aggregation11 port link-type trunk port trunk permit vlan all link-aggregation mode dynamic # return [1-Bridge-Aggregation11]int g 0/0 [1-GigabitEthernet0/0]dis th # interface GigabitEthernet0/0 port link-mode bridge port link-type trunk port trunk permit vlan all combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port link [1-GigabitEthernet0/0]port link- [1-GigabitEthernet0/0]port link-type [1-GigabitEthernet0/0]port link-? link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type [1-GigabitEthernet0/0]port link-
还是不可以
sy
int b 1
int gi 0/1
port link-mode bridge
port link-agg group 1
(0)
port link-?后面有三个选项的
已经改成二层口了 敲不出port link-agg group 1
[1]int Bridge-Aggregation 11 [1-Bridge-Aggregation11]dis th # interface Bridge-Aggregation11 link-aggregation mode dynamic # return [1-Bridge-Aggregation11]int g 0/0 [1-GigabitEthernet0/0]dis th # interface GigabitEthernet0/0 port link-mode bridge combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port lin [1-GigabitEthernet0/0]port link- [1-GigabitEthernet0/0]port link-? link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type [1-GigabitEthernet0/0]port link-
先创建聚合组,然后再进接口加进去
[FW-F1020-GigabitEthernet1/0/15]port link-aggregation group 1 ? <cr>
port link-?后面有三个选项的
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
[1]int Bridge-Aggregation 11 [1-Bridge-Aggregation11]dis th # interface Bridge-Aggregation11 link-aggregation mode dynamic # return [1-Bridge-Aggregation11]int g 0/0 [1-GigabitEthernet0/0]dis th # interface GigabitEthernet0/0 port link-mode bridge combo enable copper # return [1-GigabitEthernet0/0]po [1-GigabitEthernet0/0]port lin [1-GigabitEthernet0/0]port link- [1-GigabitEthernet0/0]port link-? link-mode Switch the specified interface to layer2 or layer3 ethernet link-type Set the link type [1-GigabitEthernet0/0]port link-