最佳答案
您好,参考链接
堆叠配置
https://www.h3c.com/cn/d_201806/1089146_30005_0.htm
端口聚合配置
(1) 采用手工汇聚方式:
# 创建手工汇聚组1。
<H3C> system-view
[H3C] link-aggregation group 1 mode manual
# 将以太网端口Ethernet1/0/1至Ethernet1/0/3加入汇聚组1。
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] port link-aggregation group 1
[H3C-Ethernet1/0/1] interface Ethernet1/0/2
[H3C-Ethernet1/0/2] port link-aggregation group 1
[H3C-Ethernet1/0/2] interface Ethernet1/0/3
[H3C-Ethernet1/0/3] port link-aggregation group 1
(2) 采用静态LACP汇聚方式:
# 创建静态汇聚组1。
<H3C> system-view
[H3C] link-aggregation group 1 mode static
# 将以太网端口Ethernet1/0/1至Ethernet1/0/3加入汇聚组1。
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] port link-aggregation group 1
[H3C-Ethernet1/0/1] interface Ethernet1/0/2
[H3C-Ethernet1/0/2] port link-aggregation group 1
[H3C-Ethernet1/0/2] interface Ethernet1/0/3
[H3C-Ethernet1/0/3] port link-aggregation group 1
(3) 采用动态LACP汇聚方式:
# 开启以太网端口Ethernet1/0/1至Ethernet1/0/3的LACP协议。
<H3C> system-view
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] lacp enable
[H3C-Ethernet1/0/1] interface Ethernet1/0/2
[H3C-Ethernet1/0/2] lacp enable
[H3C-Ethernet1/0/2] interface Ethernet1/0/3
[H3C-Ethernet1/0/3] lacp enable
注意:只有端口的基本配置、速率、双工等参数一致时,上述端口在开启LACP协议之后,才能汇聚到同一个动态汇聚组内,实现端口的负载分担。
(0)
您好,请知:
以下是链路聚合配置的参考命令:
<H3C>sys
[H3C]sysname SW1
[SW1]vlan 10
[SW1-vlan10]quit
[SW1]int gi 1/0/3
[SW1-GigabitEthernet1/0/3]port link-type access
[SW1-GigabitEthernet1/0/3]port access vlan 10
[SW1-GigabitEthernet1/0/3]description <connect to PC>
[SW1-GigabitEthernet1/0/3]quit
[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
以下是IRF部署的参考命令:
1、1号设备关键配置如下:
[H3C]irf member 1 renumber 1 //将1号设备设定为成员1
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1 //将物理端口绑定到IRF端口
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]irf-port-configuration active //激活IRF
[H3C]save
2、2号设备关键配置点如下:
[H3C]irf member 1 renumber 2 //将2号设备设定为成员2
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/2 //将物理端口绑定到IRF端口
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/51
[H3C-irf-port1/2]quit
[H3C]int range Ten-GigabitEthernet 1/0/50 to Ten-GigabitEthernet 1/0/51
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]irf-port-configuration active //激活IRF
[H3C]save
(0)
暂无评论
你好,请知:
IRF配置参考链接:
https://www.h3c.com/cn/d_202004/1284814_30005_0.htm#_Toc37771865
聚合配置参考链接:
https://www.h3c.com/cn/d_202004/1284821_30005_0.htm#_Toc37772090
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论