华三堆叠-irf |
|
|
两台交换机 | 配置 xg1/0/50---xg2/0/50, |
|
1. 设置优先级 | sw2:编号为2 irf member 1 renumber 2 reboot
sw1:为master,1~32,越大越优 irf member 1 priority 10 | irf-port1/2对应irf-port2/1或者irf-port1/1对应irf-port2/2。 成员端口带宽在10G或10G以上,一定要跨单板、多端口添加物理成员端口。 修改irf编号,要重启设备。 |
2. 加irf堆叠端口 | dis irf
sw1: interface range Ten-g1/0/50 to Ten-g1/0/51 sh
irf-port 1/2 port group interface Ten-g1/0/50 port group interface Ten-g1/0/51
interface range Ten-g 1/0/50 to Ten-g1/0/51 un sh
sw2: interface range Ten-g 2/0/50 to Ten-g2/0/51 sh
irf-port 2/1 port group interface Ten-g2/0/50 port group interface Ten-g2/0/51
interface range Ten-g2/0/50 to Ten-g2/0/51 un sh
save f |
|
3. 配置激活 | sw1:irf-port-configuration active sw2:irf-port-configuration active
save f |
|
|
|
|
链路聚合 |
|
|
配置 | dis link-aggregation summary dis link-aggregation verbose
Sw1: interface bridge-aggregation 1 开启lacp模式: link-aggregation mode dynamic port link-type trunk port trunk permit vlan all
interface range g1/0/47 g2/0/47 port link-aggregation group 1
interface bridge-aggregation 2 link-aggregation mode dynamic port link-type trunk port trunk permit vlan all
interface range g1/0/48 g2/0/48 port link-aggregation group 2
SW3: interface bridge-aggregation 1 link-aggregation mode dynamic port link-type trunk port trunk permit vlan all
int range g1/0/47 g1/0/48 port link-aggregation group 1
SW4: interface bridge-aggregation 1 link-aggregation mode dynamic port link-type trunk port trunk permit vlan all
int range g1/0/47 g1/0/48 port link-aggregation group 1 |
|
|
|
|
多主检测-mad | master使用lacp-组播向其他交换机发送 我是master的心跳信息, 如果irf链路断了,master和slave都会发我是master的心跳信息, 双方都接受到:会比较成员id,小的成为master,slave的接口会全部down。
都认为自己是master,同一个局域网下, 两台交换机接口下有相同ip地址,ip地址冲突,导致断网。 | 在链路聚合上配置-mad: 只能在交换机上配置,路由器的三层聚合不行。 |
配置 | dis mad verbose
sw1: interface Bridge-Aggregation1 mad enable
interface Bridge-Aggregation2 mad enable
irf domain id:0 全部选择0
sw3: interface Bridge-Aggregation1 mad enable
irf domain id:0 全部选择0
sw4: interface Bridge-Aggregation1 mad enable
irf domain id:0 全部选择0 |
|
华三堆叠-irf
最新推荐文章于 2024-05-26 22:58:39 发布