核心交换机的堆叠命令或者交换机的链路聚合
(0)
最佳答案
您好,请知:
以下是IRF的配置脚本及案例连接,请参考:
https://zhiliao.h3c.com/theme/details/96463
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
以下是交换机二层链路聚合配置的脚本及案例连接,请参考:
https://zhiliao.h3c.com/theme/details/97573
<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
MSW:
<H3C>sys
[H3C]sysname MSW
[MSW]vlan 10
[MSW-vlan10]quit
[MSW]int vlan 10
[MSW-Vlan-interface10]ip address 192.168.10.1 24
[MSW-Vlan-interface10]quit
[MSW]int Bridge-Aggregation 1
[MSW-Bridge-Aggregation1]quit
[MSW]int range gi 1/0/1 to gi 1/0/2
[MSW-if-range]port link-aggregation group 1
[MSW-if-range]quit
[MSW]int Bridge-Aggregation 1
[MSW-Bridge-Aggregation1]port link-type trunk
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[MSW-Bridge-Aggregation1]undo port trunk permit vlan 1
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[MSW-Bridge-Aggregation1]port trunk permit vlan 10
Configuring GigabitEthernet1/0/1 done.
Configuring GigabitEthernet1/0/2 done.
[MSW-Bridge-Aggregation1]quit
(0)
有木有h3c产品文档
您好,有的,由于不明确您交换机的具体型号,以下临时给您发一个S7500E系列的产品文档连接: https://www.h3c.com/cn/Service/Document_Software/Document_Center/Switches/Catalog/S7500E/S7500E/
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
您好,有的,由于不明确您交换机的具体型号,以下临时给您发一个S7500E系列的产品文档连接: https://www.h3c.com/cn/Service/Document_Software/Document_Center/Switches/Catalog/S7500E/S7500E/