华三交换机新接入一条百兆光纤在25口,如何和原来的26口百兆光纤做成一条200兆光纤,具体命令是什么,需要断网么,谢谢
华三交换机新接入一条百兆光纤在25口,如何和原来的26口百兆光纤做成一条200兆光纤,具体命令是什么,需要断网么,谢谢
(0)
最佳答案
您好,请知:
可以使用链路聚合来实现,以下是参考命令:
[SW1]int Bridge-Aggregation 1 //创建链路聚合组1
[SW1-Bridge-Aggregation1]quit
[SW1]int range gi 1/0/1 to gi 1/0/2
[SW1-if-range]port link-aggregation group 1 //将链路聚合组应用到接口
[SW1-if-range]quit
[SW1]int Bridge-Aggregation 1 //继续配置链路聚合组1
[SW1-Bridge-Aggregation1]port link-type trunk
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]undo port trunk permit vlan 1
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]port trunk permit vlan 10
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[SW1-Bridge-Aggregation1]quit
(0)
您好,参考
· Device A与Device B通过各自的二层以太网端口GigabitEthernet1/0/1~GigabitEthernet1/0/3相互连接。
· 在Device A和Device B上分别配置二层静态链路聚合组,并使两端的VLAN 10和VLAN 20之间分别互通。
· 通过按照报文的源MAC地址和目的MAC地址进行聚合负载分担的方式,来实现数据流量在各成员端口间的负载分担。
(1) 配置Device A
# 创建VLAN 10,并将端口GigabitEthernet1/0/4加入到该VLAN中。
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port gigabitethernet 1/0/4
[DeviceA-vlan10] quit
# 创建VLAN 20,并将端口GigabitEthernet1/0/5加入到该VLAN中。
[DeviceA] vlan 20
[DeviceA-vlan20] port gigabitethernet 1/0/5
[DeviceA-vlan20] quit
# 创建二层聚合接口1。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] quit
# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组1中。
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1
[DeviceA-GigabitEthernet1/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
Please wait... Done.
Configuring GigabitEthernet1/0/1... Done.
Configuring GigabitEthernet1/0/2... Done.
Configuring GigabitEthernet1/0/3... Done.
[DeviceA-Bridge-Aggregation1] quit
# 配置全局按照报文的源MAC地址和目的MAC地址进行聚合负载分担。
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
(2) 配置Device B
Device B的配置与Device A相似,配置过程略。
(3) 检验配置效果
# 查看Device A上所有聚合组的摘要信息。
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
BAGG1 S none 3 0 Shar
以上信息表明,聚合组1为负载分担类型的二层静态聚合组,包含有三个选中端口。
# 查看Device A上全局采用的聚合负载分担类型。
[DeviceA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-mac address, source-mac address
以上信息表明,所有聚合组都按照报文的源MAC地址和目的MAC地址进行聚合负载分担。
· Device A与Device B通过各自的二层以太网端口GigabitEthernet1/0/1~GigabitEthernet1/0/3相互连接。
· 在Device A和Device B上分别配置二层动态链路聚合组,并使两端的VLAN 10和VLAN 20之间分别互通。
· 通过按照报文的源MAC地址和目的MAC地址进行聚合负载分担的方式,来实现数据流量在各成员端口间的负载分担。
图1-6 二层动态聚合配置组网图
(1) 配置Device A
# 创建VLAN 10,并将端口GigabitEthernet1/0/4加入到该VLAN中。
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port gigabitethernet 1/0/4
[DeviceA-vlan10] quit
# 创建VLAN 20,并将端口GigabitEthernet1/0/5加入到该VLAN中。
[DeviceA] vlan 20
[DeviceA-vlan20] port gigabitethernet 1/0/5
[DeviceA-vlan20] quit
# 创建二层聚合接口1,并配置该接口为动态聚合模式。
[DeviceA] interface bridge-aggregation 1
[DeviceA-Bridge-Aggregation1] link-aggregation mode dynamic
# 分别将端口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组1中。
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1
[DeviceA-GigabitEthernet1/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
Please wait... Done.
Configuring GigabitEthernet1/0/1... Done.
Configuring GigabitEthernet1/0/2... Done.
Configuring GigabitEthernet1/0/3... Done.
[DeviceA-Bridge-Aggregation1] quit
# 配置全局按照报文的源MAC地址和目的MAC地址进行聚合负载分担。
[DeviceA] link-aggregation load-sharing mode source-mac destination-mac
(2) 配置Device B
Device B的配置与Device A相似,配置过程略。
# 查看Device A上所有聚合组的摘要信息。
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
BAGG1 D 0x8000, 000f-e2ff-0002 3 0 Shar
以上信息表明,聚合组1为负载分担类型的二层动态聚合组,包含有三个选中端口。
# 查看Device A上全局采用的聚合负载分担类型。
[DeviceA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-mac address, source-mac address
以上信息表明,所有聚合组都按照报文的源MAC地址和目的MAC地址进行聚合负载分担。
· Device A与Device B通过各自的三层以太网端口GigabitEthernet1/0/1~GigabitEthernet1/0/3相互连接。
· 在Device A和Device B上分别配置三层静态链路聚合组,并为对应的三层聚合接口配置IP地址和子网掩码。
· 通过按照报文的源IP地址和目的IP地址进行聚合负载分担的方式,来实现数据流量在各成员端口间的分担。
图1-7 三层静态聚合配置组网图
(1) 配置Device A
# 创建三层聚合接口1,并为该接口配置IP地址和子网掩码。
<DeviceA> system-view
[DeviceA] interface route-aggregation 1
[DeviceA-Route-Aggregation1] ip address 192.168.1.1 24
[DeviceA-Route-Aggregation1] quit
# 分别将接口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组1中。
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/3] quit
# 配置全局按照报文的源IP地址和目的IP地址进行聚合负载分担。
[DeviceA] link-aggregation load-sharing mode source-ip destination-ip
(2) 配置Device B
Device B的配置与Device A相似,配置过程略。
(3) 检验配置效果
# 查看Device A上所有聚合组的摘要信息。
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
RAGG1 S none 3 0 Shar
以上信息表明,聚合组1为负载分担类型的三层静态聚合组,包含有三个选中端口。
# 查看Device A上全局采用的聚合负载分担类型。
[DeviceA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-ip address, source-ip address
以上信息表明,所有聚合组都按照报文的源IP地址和目的IP地址进行聚合负载分担。
· Device A与Device B通过各自的三层以太网端口GigabitEthernet1/0/1~GigabitEthernet1/0/3相互连接。
· 在Device A和Device B上分别配置三层动态链路聚合组,并为对应的三层聚合接口配置IP地址和子网掩码。
· 通过按照报文的源IP地址和目的IP地址进行聚合负载分担的方式,来实现数据流量在各成员端口间的分担。
图1-8 三层动态聚合配置组网图
(1) 配置Device A
# 创建三层聚合接口1,配置该接口为动态聚合模式,并为其配置IP地址和子网掩码。
<DeviceA> system-view
[DeviceA] interface route-aggregation 1
[DeviceA-Route-Aggregation1] link-aggregation mode dynamic
[DeviceA-Route-Aggregation1] ip address 192.168.1.1 24
[DeviceA-Route-Aggregation1] quit
# 分别将接口GigabitEthernet1/0/1至GigabitEthernet1/0/3加入到聚合组1中。
[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port link-aggregation group 1
[DeviceA-GigabitEthernet1/0/3] quit
# 配置全局按照报文的源IP地址和目的IP地址进行聚合负载分担。
[DeviceA] link-aggregation load-sharing mode source-ip destination-ip
(2) 配置Device B
Device B的配置与Device A相似,配置过程略。
# 查看Device A上所有聚合组的摘要信息。
[DeviceA] display link-aggregation summary
Aggregation Interface Type:
BAGG -- Bridge-Aggregation, RAGG -- Route-Aggregation
Aggregation Mode: S -- Static, D -- Dynamic
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Actor System ID: 0x8000, 000f-e2ff-0001
AGG AGG Partner ID Select Unselect Share
Interface Mode Ports Ports Type
-------------------------------------------------------------------------------
RAGG1 D 0x8000, 000f-e2ff-0002 3 0 Shar
以上信息表明,聚合组1为负载分担类型的三层动态聚合组,包含有三个选中端口。
# 查看Device A上全局采用的聚合负载分担类型。
[DeviceA] display link-aggregation load-sharing mode
Link-Aggregation Load-Sharing Mode:
destination-ip address, source-ip address
以上信息表明,所有聚合组都按照报文的源IP地址和目的IP地址进行聚合负载分担。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论