04-两级DRNI组网配置举例(Spine作网关,ECMP到外网)
本章节下载: 04-两级DRNI组网配置举例(Spine作网关,ECMP到外网) (533.02 KB)
配置两级DRNI组网,具体需求如下:
· 两台Spine设备配置DRNI系统,作为网关。
· 四台接入交换机配置为两组DRNI系统,作为Server的接入设备。
· 服务器使用聚合口双上行到接入设备或通过单挂上行到接入设备。
· Leaf设备使用DR聚合口双上行到Spine设备。
· Router设备为外网设备。
图1-1 两级DRNI组网图
设备 |
接口 |
IP地址 |
接口说明及对接设备和接口 |
Spine 1 |
HGE2/0/1 |
- |
IPP接口 Spine 2:HGE2/0/1 |
HGE2/0/2 |
2.0.0.1/30 |
Keepalive接口 Spine 2:HGE2/0/2 |
|
HGE1/0/5 |
25.1.1.1/24 |
Router:HGE1/0/25 |
|
FGE3/0/1 |
- |
Leaf 1:FGE1/0/50 |
|
FGE3/0/2 |
- |
Leaf 2:FGE1/0/50 |
|
FGE3/0/3 |
- |
Leaf 3:FGE1/0/50 |
|
FGE3/0/4 |
- |
Leaf 4:FGE1/0/50 |
|
Vlan-interface21 |
21.1.1.1/24 |
Leaf 1&2 业务VLAN |
|
Vlan-interface31 |
31.1.1.1/24 |
Leaf 3&4 业务VLAN |
|
Vlan-interface2000 |
192.168.2.1/30 |
东西向逃生VLAN |
|
Spine2 |
HGE2/0/1 |
- |
IPP接口 Spine 1:HGE2/0/1 |
HGE2/0/2 |
2.0.0.2/30 |
Keepalive链接口 Spine 1:HGE2/0/2 |
|
HGE2/0/3 |
23.1.1.1/24 |
Router:HGE1/0/26 |
|
FGE3/0/1 |
- |
Leaf 1:FGE1/0/49 |
|
FGE3/0/2 |
- |
Leaf 2:FGE1/0/49 |
|
FGE3/0/3 |
- |
Leaf 3:FGE1/0/49 |
|
FGE3/0/4 |
- |
Leaf 4:FGE1/0/49 |
|
Vlan-interface21 |
21.1.1.1/24 |
Leaf 1&2 业务VLAN |
|
Vlan-interface31 |
31.1.1.1/24 |
Leaf 3&4 业务VLAN |
|
Vlan-interface2000 |
192.168.2.2/30 |
东西向逃生VLAN |
|
Leaf 1 |
XGE1/0/1 |
- |
DR成员口 Server A |
FGE1/0/49 |
- |
Spine 2:FGE3/0/1 |
|
FGE1/0/50 |
- |
Spine 1:FGE3/0/1 |
|
FGE1/0/51 |
- |
IPP接口 Leaf 2:FGE1/0/51 |
|
FGE1/0/52 |
1.0.0.1/30 |
Keepalive接口 Leaf 2:FGE1/0/52 |
|
FGE1/0/53 |
- |
单挂链路 Server C |
|
Leaf 2 |
XGE1/0/1 |
- |
DR成员口 Server A |
FGE1/0/49 |
- |
Spine 2:FGE3/0/2 |
|
FGE1/0/50 |
- |
Spine 1:FGE3/0/2 |
|
FGE1/0/51 |
- |
IPP接口 Leaf 1:FGE1/0/51 |
|
FGE1/0/52 |
1.0.0.2/30 |
Keepalive接口 Leaf 1:FGE1/0/52 |
|
Leaf3 |
XGE1/0/1 |
- |
DR成员口 Server B |
FGE1/0/49 |
- |
Spine 2:FGE3/0/3 |
|
FGE1/0/50 |
- |
Spine 1:FGE3/0/3 |
|
FGE1/0/51 |
- |
IPP接口 Leaf 4:FGE1/0/51 |
|
FGE1/0/52 |
1.0.0.5/30 |
Keepalive接口 Leaf 4:FGE1/0/52 |
|
Leaf4 |
XGE1/0/1 |
- |
DR成员口 Server B |
FGE1/0/49 |
- |
Spine 2:FGE3/0/4 |
|
FGE1/0/50 |
- |
Spine 1:FGE3/0/4 |
|
FGE1/0/51 |
- |
IPP接口 Leaf 3:FGE1/0/51 |
|
FGE1/0/52 |
1.0.0.6/30 |
Keepalive接口 Leaf 3:FGE1/0/52 |
|
Router1 |
HGE1/0/25 |
25.1.1.2 |
Spine 1:HGE2/0/3 |
HGE1/0/26 |
23.1.1.2 |
Spine 2:HGE2/0/3 |
请在适用软件版本的基础上安装当前最新补丁。
角色 |
设备 |
软件版本 |
Spine |
S12500X-AF/S12500F-AF |
R2820版本 |
S12500G-AF |
R7624P12版本 |
|
Border/Leaf |
S6800/S6860/S6900 |
F2715及以上的27xx版本,不推荐使用28xx系列版本 |
S6805/S6825/S6850/S9850/S9820-64H/S9820-8C |
R6635版本 |
|
S6890 |
R2820版本 |
|
S6812/S6813 |
版本开发中,请联系技术支持获取最新版本信息 |
· 同一级DRNI系统的两台设备要配置相同的DR系统MAC地址;不同级DRNI系统一定要配置不同的DR系统MAC地址,并保证全网唯一。
· 建议Spine设备使用动态路由协议连接外部网络。如果选用静态路由协议,重启Spine时可能出现断流(当IPP接口、Keepalive接口、DR接口所在业务板重启速度慢于其他业务板时可能出现),此时可以采用如下两种解决方案:
¡ 方案一:各业务板都选择一个相同速率端口加入IPP聚合组,保证IPP总是被最先恢复。如果各业务板加入IPP聚合组的接口速率无法相同,需要IPP聚合口配置link-aggregation ignore speed,令不同速率的成员端口都能被选中。该方案可能会存在由于选中端口太少而造成聚合链路上的流量拥塞、负载不均问题风险。
¡ 方案二:在Spine设备上配置Monitor Link,将所有上行口配置为Monitor Link的上行接口,将所有下行DR聚合成员口配置为Monitor Link的下行接口,以确保Spine的上行口比DR聚合口先UP。该方案的可维护性较弱,每当组网中有DR组的增删改,都需要对该Monitor Link组的下行接口进行配置更新。
· 配置分布式聚合
Leaf 3和Leaf 4配置与Leaf 1和Leaf 2相似,本文以Leaf 1和Leaf 2的配置为例,Leaf 3和Leaf 4配置略。
Leaf 1(S6800) |
Leaf 2(S6800) |
命令来源 |
命令说明 |
注意事项 |
interface FortyGigE1/0/52 |
interface FortyGigE1/0/52 |
手动 |
配置Keepalive接口 |
- |
port link-mode route |
port link-mode route |
手动 |
将以太网接口切换到三层工作模式 |
- |
ip address 1.0.0.1 255.255.255.252 |
ip address 1.0.0.2 255.255.255.252 |
手动 |
Keepalive接口的IP地址 |
- |
quit |
quit |
手动 |
退回到系统视图 |
- |
drni system-mac 00e0-fc00-5800 |
drni system-mac 00e0-fc00-5800 |
手动 |
配置DR系统MAC地址 |
同一分布式聚合组中,所有DR设备的系统MAC地址必须相同 |
drni system-number 1 |
drni system-number 2 |
手动 |
配置DR系统编号 |
DR系统中不同DR设备的系统编号必须不同 |
drni system-priority 100 |
drni system-priority 100 |
手动 |
(可选)配置DR系统优先级 |
为了组成分布式聚合组,同一分布式聚合组中,所有DR设备的系统优先级必须相同 缺省情况下,DR系统优先级为32768该数值越小,优先级越高。 |
drni standalone enable |
drni standalone enable |
手动 |
开启DR设备独立工作模式 |
- |
drni keepalive ip destination 1.0.0.2 source 1.0.0.1 |
drni keepalive ip destination 1.0.0.1 source 1.0.0.2 |
手动 |
配置Keepalive报文的目的IP地址和源IP地址 |
若IP地址所在的接口为非DRNI保留接口,则配置将接口配置为保留接口 |
drni mad exclude interface FortyGigE1/0/52 |
drni mad exclude interface FortyGigE1/0/52 |
配置Keepalive链路接口为DRNI保留接口 |
- |
- |
drni restore-delay 300 |
drni restore-delay 300 |
手动 |
配置延迟恢复时间 |
在延迟恢复时间内确保表项同步完成,再将接口UP起来 |
interface Bridge-Aggregation1 |
interface Bridge-Aggregation1 |
手动 |
创建聚合组并进入二层聚合接口视图 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan all |
port trunk permit vlan all |
手动 |
配置允许所有VLAN通过该Trunk端口 |
- |
interface FortyGigE1/0/51 |
interface FortyGigE1/0/51 |
手动 |
进入端口视图 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan all |
port trunk permit vlan all |
手动 |
配置允许所有VLAN通过该Trunk端口 |
- |
port link-aggregation group 1 |
port link-aggregation group 1 |
手动 |
将接口加入聚合组 1 |
- |
interface Bridge-Aggregation1 |
interface Bridge-Aggregation1 |
手动 |
进入二层聚合接口视图 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
手动 |
配置该接口为IPP口 |
- |
undo mac-address static source-check enable |
undo mac-address static source-check enable |
手动 |
关闭报文入接口与静态MAC地址表项匹配检查功能 |
Leaf上与Spine互联的上行口,IPP口都要配置 |
Leaf 1(S6800) |
Leaf 2(S6800) |
命令来源 |
命令说明 |
注意事项 |
VLAN 21 |
VLAN 21 |
手动 |
创建VLAN 21 |
- |
quit |
quit |
- |
- |
- |
interface Bridge-Aggregation101 |
interface Bridge-Aggregation101 |
手动 |
创建服务器接入的DR聚合口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port drni group 1 |
port drni group 1 |
手动 |
加入DR组1 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
手动 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
quit |
quit |
- |
- |
- |
interface Ten-GigabitEthernet1/0/1 |
interface Ten-GigabitEthernet 1/0/1 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
port link-aggregation group 101 |
port link-aggregation group 101 |
手动 |
将接口加入聚合组 101 |
- |
quit |
quit |
手动 |
- |
- |
Leaf 1(S6800) |
Leaf 2(S6800) |
命令来源 |
命令说明 |
注意事项 |
interface FortyGigE1/0/53 |
interface FortyGigE1/0/53 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
|
单挂设备尽量接在主设备上,避免IPL Down导致从设备MAD Down,对流量转发造成影响。
Leaf 1(S6800) |
Leaf 2(S6800) |
命令来源 |
命令说明 |
注意事项 |
interface Bridge-Aggregation102 |
interface Bridge-Aggregation102 |
手动 |
创建DR聚合接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port drni group 2 |
port drni group 2 |
手动 |
加入DR组2 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
手动 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
quit |
quit |
- |
- |
- |
interface FortyGigE1/0/49 |
interface FortyGigE1/0/49 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
port link-aggregation group 102 |
port link-aggregation group 102 |
手动 |
将接口加入聚合组 102 |
- |
interface FortyGigE1/0/50 |
interface FortyGigE1/0/50 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
port link-aggregation group 102 |
port link-aggregation group 102 |
手动 |
将接口加入聚合组 102 |
- |
quit |
quit |
- |
- |
- |
· 配置分布式聚合
· 配置与外网互联口
Spine 1 |
Spine 2 |
命令来源 |
命令说明 |
注意事项 |
interface HundredGigE2/0/2 |
interface HundredGigE2/0/2 |
手动 |
配置Keepalive接口 |
- |
port link-mode route |
port link-mode route |
手动 |
将以太网接口切换到三层工作模式 |
- |
ip address 2.0.0.1 255.255.255.252 |
ip address 2.0.0.2 255.255.255.252 |
手动 |
配置IP地址 |
- |
quit |
quit |
手动 |
退回到系统视图 |
- |
drni restore-delay 300 |
drni restore-delay 300 |
手动 |
配置延迟恢复时间 |
盒式设备建议设置为200 |
drni role priority 100 |
drni role priority 101 |
手动 |
指定DR设备的角色优先级 |
设备角色优先级用于两台设备间进行主从协商,值越小优先级越高,优先级高的为Primary设备 |
drni system-mac 542b-de0c-0300 |
drni system-mac 542b-de0c-0300 |
手动 |
配置DR系统MAC地址 |
同一分布式聚合组中,所有DR设备的系统MAC地址必须相同 |
drni system-number 1 |
drni system-number 2 |
手动 |
配置DR系统编号 |
DR系统中不同DR设备的系统编号必须不同 |
drni system-priority 100 |
drni system-priority 100 |
手动 |
(可选)配置DR系统优先级 |
为了组成分布式聚合组,同一分布式聚合组中,所有DR设备的系统优先级必须相同 缺省情况下,DR系统优先级为32768该数值越小,优先级越高 |
drni standalone enable |
drni standalone enable |
手动 |
开启DR设备独立工作模式 |
- |
drni keepalive ip destination 2.0.0.2 source 2.0.0.1 |
drni keepalive ip destination 2.0.0.1 source 2.0.0.2 |
手动 |
配置Keepalive报文的目的IP地址和源IP地址
|
接口有vpn就指定vpn参数,没有vpn就不指定vpn参数。 其他非DRNI保留接口,要配置exclude |
drni mad exclude interface HundredGigE2/0/2 |
drni mad exclude interface HundredGigE2/0/2 |
手动 |
配置Keepalive链路接口为DRNI保留接口 |
- |
interface Bridge-Aggregation 1 |
interface Bridge-Aggregation 1 |
手动 |
创建聚合接口1 |
- |
quit |
quit |
手动 |
退回到系统视图 |
- |
interface HundredGigE2/0/1 |
interface HundredGigE2/0/1 |
手动 |
配置该接口作为IPP口的成员接口 |
- |
port link-aggregation group 1 |
port link-aggregation group 1 |
手动 |
将接口加入聚合组 1 |
- |
quit |
quit |
- |
- |
- |
interface Bridge-Aggregation 1 |
interface Bridge-Aggregation 1 |
手动 |
进入二层聚合口1视图 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
手动 |
配置该接口为IPP口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan all |
port trunk permit vlan all |
手动 |
配置允许所有VLAN通过该Trunk端口 |
|
port trunk pvid vlan 4094 |
port trunk pvid vlan 4094 |
手动 |
配置Trunk端口的缺省VLAN为4094 |
- |
Spine 1 |
Spine 2 |
命令来源 |
命令说明 |
注意事项 |
Vlan 21 31 |
Vlan 21 31 |
手动 |
创建VLAN |
- |
quit |
quit |
手动 |
退回到系统视图 |
- |
interface Bridge-Aggregation102 |
interface Bridge-Aggregation102 |
手动 |
创建与Leaf 1 & 2 连接的DR聚合口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
手动 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
port drni group 2 |
port drni group 2 |
手动 |
加入DR组2 |
- |
interface FortyGigE 3/0/1 |
interface FortyGigE 3/0/1 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
|
port link-aggregation group 102 |
port link-aggregation group 102 |
手动 |
将接口加入聚合组 102 |
- |
interface FortyGigE 3/0/2 |
interface FortyGigE 3/0/2 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 21 |
port trunk permit vlan 21 |
手动 |
配置允许VLAN 21通过该Trunk端口 |
|
port link-aggregation group 102 |
port link-aggregation group 102 |
手动 |
将接口加入聚合组 102 |
- |
quit |
quit |
手动 |
退回到系统系统 |
- |
interface Bridge-Aggregation103 |
interface Bridge-Aggregation103 |
手动 |
创建与Leaf 3 & 4 连接的DR聚合口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 31 |
port trunk permit vlan 31 |
手动 |
配置允许VLAN 31通过该Trunk端口 |
|
link-aggregation mode dynamic |
link-aggregation mode dynamic |
手动 |
配置聚合组工作在动态聚合模式下,同时开启LACP协议 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
手动 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
port drni group 3 |
port drni group 3 |
手动 |
加入DR组2 |
- |
interface FortyGigE 3/0/3 |
interface FortyGigE 3/0/3 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 31 |
port trunk permit vlan 31 |
手动 |
配置允许VLAN 31通过该Trunk端口 |
|
port link-aggregation group 103 |
port link-aggregation group 103 |
手动 |
将接口加入聚合组 103 |
- |
interface FortyGigE3/0/4 |
interface FortyGigE3/0/4 |
手动 |
进入DR口的成员接口 |
- |
port link-type trunk |
port link-type trunk |
手动 |
配置端口的链路类型为Trunk类型 |
- |
port trunk permit vlan 31 |
port trunk permit vlan 31 |
手动 |
配置允许VLAN 31通过该Trunk端口 |
- |
port link-aggregation group 103 |
port link-aggregation group 103 |
手动 |
将接口加入聚合组 103 |
- |
quit |
quit |
- |
- |
- |
Spine 1 |
Spine 2 |
命令来源 |
命令说明 |
注意事项 |
routing-interface base-mac 3c8c-4003-8ba5 |
routing-interface base-mac 3c8c-4003-8b41 |
手动 |
配置MAC基地址 |
Spine2的基地址在Spine1基础上加0X64,见说明 仅S12500X-AF/S12500F-AF/S6890涉及本配置 |
interface Vlan-interface21 |
interface Vlan-interface21 |
手动 |
创建VLAN接口21(Leaf 1、Leaf 2业务VLAN接口) |
- |
ip address 21.1.1.1 255.255.255.0 |
ip address 21.1.1.1 255.255.255.0 |
手动 |
配置IP地址 |
- |
mac-address 3c8c-4003-8c08 |
mac-address 3c8c-4003-8c08 |
手动 |
配置MAC地址 |
- |
quit |
quit |
手动 |
- |
- |
drni mad exclude interface Vlan-interface21 |
drni mad exclude interface Vlan-interface21 |
手动 |
配置DR接口和IPP口所属VLAN接口为DRNI保留接口 |
- |
interface Vlan-interface31 |
interface Vlan-interface31 |
手动 |
创建VLAN接口31(Leaf 3、Leaf 4业务VLAN接口) |
- |
ip address 31.1.1.1 255.255.255.0 |
ip address 31.1.1.1 255.255.255.0 |
手动 |
配置IP地址 |
- |
mac-address 3c8c-4003-8c09 |
mac-address 3c8c-4003-8c09 |
手动 |
配置MAC地址 |
- |
quit |
quit |
手动 |
退回系统视图 |
- |
drni mad exclude interface Vlan-interface31 |
drni mad exclude interface Vlan-interface31 |
手动 |
配置M-LAG接口和peer-link接口所属VLAN接口为M-LAG保留接口 |
- |
配置MAC基地址时,S12500X-AF/S12500F-AF/S6890需要保证配置的MAC基地址的值加上系统保留的MAC地址总数不能使MAC基地址的高36位产生变化。
配置MAC基地址后,30秒内不能再修改和删除MAC基地址。
当同时配置MAC基地址和三层接口的MAC地址时,需同时满足以下条件:
· MAC地址高36位取值必须相同。
· 三层接口的MAC地址必须大于等于MAC基地址的值加上系统保留的MAC地址总数。
Spine 1 |
Spine 2 |
命令来源 |
命令说明 |
注意事项 |
ospf 1 router-id 2.1.1.1 |
ospf 1 router-id 2.1.1.2 |
手动 |
启动OSPF进程 |
- |
import-route direct |
import-route direct |
手动 |
引入直连路由 |
- |
area 0.0.0.0 |
area 0.0.0.0 |
手动 |
创建OSPF区域 |
- |
interface HundredGigE1/0/5 |
interface HundredGigE2/0/3 |
手动 |
配置与Router互联接口 |
- |
port link-mode route |
port link-mode route |
手动 |
将以太网接口切换到三层工作模式 |
- |
ip address 25.1.1.1 255.255.255.0 |
ip address 23.1.1.1 255.255.255.0 |
手动 |
配置IP地址 |
- |
ospf 1 area 0.0.0.0 |
ospf 1 area 0.0.0.0 |
手动 |
在接口上使能OSPF |
- |
quit |
quit |
手动 |
退回系统视图 |
- |
Vlan 2000 |
Vlan 2000 |
手动 |
创建VLAN |
- |
quit |
quit |
手动 |
退回系统视图 |
- |
interface Vlan-interface2000 |
interface Vlan-interface2000 |
手动 |
创建VLAN虚接口 |
东西向逃生VLAN |
ip address 192.168.2.1 255.255.255.252 |
ip address 192.168.2.2 255.255.255.252 |
手动 |
配置IP地址 |
- |
ospf 1 area 0.0.0.0 |
ospf 1 area 0.0.0.0 |
手动 |
在接口上使能OSPF |
- |
Router |
命令来源 |
命令说明 |
注意事项 |
ospf 1 router-id 3.1.1.1 |
手动 |
启动OSPF进程 |
- |
area 0.0.0.0 |
手动 |
创建OSPF区域 |
- |
interface HundredGigE1/0/25 |
手动 |
进入连接Spine 1的接口视图 |
- |
port link-mode route |
手动 |
将以太网接口切换到三层工作模式 |
- |
ip address 25.1.1.2 24 |
手动 |
为连接Spine 1的接口配置IP地址 |
- |
ospf 1 area 0.0.0.0 |
手动 |
在接口上使能OSPF |
- |
quit |
手动 |
- |
- |
interface HundredGigE1/0/26 |
手动 |
进入连接Spine 2的接口视图 |
- |
port link-mode route |
手动 |
将以太网接口切换到三层工作模式 |
- |
ip address 23.1.1.2 24 |
手动 |
为连接Spine 2的接口配置IP地址 |
- |
ospf 1 area 0.0.0.0 |
手动 |
在接口上使能OSPF |
- |
流量编号,U-4-201开始,U代表Underlay,4代表IPv4,201是序号。
类型:广播/L2单播/L2未知单播/L2组播/L2组播/IPV4已知单播/IPV6已知单播/IPV4组播/IPV6组播/DHCP/MPLS等。
流量方向:南北/同Leaf东西/跨Leaf东西/跨DC等。
流量路径:Server1-Leaf1-Spine2-Leaf2-Server2,列出流量每个经过的节点。
仿真方式:测试仪器发包/Sever Bond1+Fping/Server bond1+无DR口配置+Fping/Server bond4+Fping/PC单网卡+ping/交换机LACP模拟ping等等。
流量大小:轻载(小于1000条流算轻载),重载(大于1000条流算重载,重载列出实际大小)。
上墙/LB方式:不涉及/PBR/DRNI+VRRP/静态路由等实际配置方式。
编号 |
类型 |
流量方向 |
流量路径 |
仿真方式 |
流量大小 |
说明 |
U-4-201 |
已知单播/IPv4 |
不同DRNI Leaf东西 |
Server A-Leaf 1&2- Spine 1&2-Leaf 3&4-Server B |
bond4+测试仪 |
轻载 |
PM与PM之间三层互通 |
U-4-202 |
已知单播/IPv4 |
不同DRNI Leaf东西 |
Server B-Leaf 1&2- Spine 1&2-Leaf 1&2-Server A |
bond4+测试仪 |
轻载 |
PM与PM之间三层互通 |
U-4-203 |
已知单播/IPv4 |
南北 |
Server A-Leaf 1&2-Spine 1&2-Router |
bond4+测试仪 |
轻载 |
PM与外网三层互通 |
U-4-204 |
已知单播/IPv4 |
南北 |
Router-Spine 1&2-Leaf 1&2-Server A |
bond4+测试仪 |
轻载 |
PM与外网三层互通 |
U-4-205 |
已知单播/IPv4 |
不同DRNI Leaf东西 |
Server C-Leaf 1- Spine 1&2- Leaf 3&4-Server B |
bond4+测试仪 |
轻载 |
PM与PM之间三层互通 |
U-4-206 |
已知单播/IPv4 |
不同DRNI Leaf东西 |
Server B-Leaf 3&4- Spine 1&2- Leaf 1-Server C |
bond4+测试仪 |
轻载 |
PM与PM之间三层互通 |
U-4-207 |
已知单播/IPv4 |
南北 |
Server C-Leaf 1-Spine 1&2-Router |
bond4+测试仪 |
轻载 |
PM与外网三层互通 |
U-4-208 |
已知单播/IPv4 |
南北 |
Router-Spine 1&2-Leaf 1-Server C |
bond4+测试仪 |
轻载 |
PM与外网三层互通 |
设备 |
故障类型 |
流量中断时间 |
DR(Spine/Leaf) |
DR成员链路单点故障 |
小于500ms |
DR成员链路单点故障恢复 |
0ms |
|
IPL链路故障 |
对于设备的DR链路:不超过500ms 对于设备的单挂链路: · 连接到未MAD Down DR设备的单挂设备东西向流量中断,直到IPL链路恢复 · 连接到MAD Down DR设备的单挂设备流量中断,直到IPL链路和单挂链路恢复 |
|
IPL链路故障恢复 |
0ms |
|
Keepalive链路故障 |
0ms |
|
Keepalive链路故障恢复 |
0ms |
|
Keepalive和IPL都故障 |
小于5000ms |
|
Keepalive和IPL都故障恢复 |
小于1000ms |
|
升级操作 |
小于500ms(传统方式,两台DR设备逐台升级) |
|
扩容操作 |
0ms |
|
替换操作 |
盒式整机替换:小于500ms 框式: · 整机替换:小于1000ms · 网板替换:0ms · 业务板替换:小于500ms |
升级前的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-1 升级前的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
单点故障(轻载)时间正切小于500ms,回切小于150ms。具体参见“1.8 收敛时间测试”。
升级后的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-2 升级后的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
升级前的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-3 升级前的命令行检查汇总表
Spine 1 |
Spine 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
单点故障(轻载)时间正切小于500ms,回切小于150ms。具体参见“1.8 收敛时间测试”。
升级后的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-4 升级后的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
本文描述的扩容操作指新增一组Leaf设备。
扩容前的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-5 扩容前的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
(1) 新增设备断开网管
(2) 升级完成相应版本
(3) 做好预配置
(4) 接入网管
(5) 控制器进行纳管
扩容后的命令行检查,请参见下表中的命令行。
表1-6 扩容后的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
替换前的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-7 替换前的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
相关业务板上的业务及网管流量应先行切换到正常业务板上。
支持业务板热插拔或者整机断电替换,具体根据现场情况而定。
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
与替换前命令行检查相同。
替换前的命令行检查,请参见“1.12 配置验证命令行”和以下表格中的命令行。
表1-8 替换前的命令行检查汇总表
Leaf 1 |
Leaf 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
支持网板热插拔或者整机断电替换,具体根据现场情况而定。
与替换前命令行检查相同。
Leaf 1 |
Leaf 2 |
命令说明 |
display drni summary |
display drni summary |
显示分布式聚合系统的接口摘要信息 |
display drni system |
display drni system |
显示分布式聚合系统信息 |
display drni keepalive |
display drni keepalive |
显示分布式聚合Keepalive报文的信息 |
display drni role |
display drni role |
显示分布式聚合设备角色信息 |
display drni consistency { type1 | type2 } |
display drni consistency { type1 | type2 } |
显示DRNI配置一致性信息 |
display drni consistency-check status |
display drni consistency-check status |
显示DRNI配置一致性检查状态 |
display interface Bridge-Aggregation [ brief ] |
display interface Bridge-Aggregation [ brief ] |
显示聚合接口的相关信息 |
display stp brief |
display stp brief |
用来显示生成树状态和统计的简要信息 |
# 在Spine 1上查看Spine 1与Spine 2之间的DRNI系统状态,DRNI系统正常建立。
<Spine1>dis drni summary
Flags: A -- Aggregate interface down, B -- No peer DR interface configured
C -- Configuration consistency check failed
IPP: BAGG1
IPP state (cause): UP
Keepalive link state (cause): UP
DR interface information
DR interface DR group Local state (cause) Peer state Remaining down time(s)
BAGG102 2 UP UP -
BAGG103 3 UP UP -
# 在Spine 1上查看分布式聚合系统信息。
<Spine1>dis drni system
System information
Local system number: 1 Peer system number: 2
Local system MAC: 542b-de0c-0300 Peer system MAC: 542b-de0c-0300
Local system priority: 100 Peer system priority: 100
Local bridge MAC: 5098-b8d3-7e00 Peer bridge MAC: 3c8c-4003-8b41
Local effective role: Primary Peer effective role: Secondary
Health level: 0
Standalone mode on split: Enabled
In standalone mode: No
System timer information
Timer State Value (s) Remaining time (s)
Auto recovery Disabled - -
Restore delay Disabled 60 -
Consistency-check delay Disabled 30 -
Standalone delay Disabled 0 -
Role to None delay Disabled 60 -
# 在Spine 1上查看分布式聚合Keepalive报文的信息,收发状态为Successful。
<Spine1>dis drni keepalive
Neighbor keepalive link status (cause): Up
Neighbor is alive for: 95299 s 891 ms
Keepalive packet transmission status:
Sent: Successful
Received: Successful
Last received keepalive packet information:
Source IP address: 2.0.0.2
Time: 2022/05/31 14:07:47
Action: Accept
Distributed relay keepalive parameters:
Destination IP address: 2.0.0.2
Source IP address: 2.0.0.1
Keepalive UDP port : 6400
Keepalive VPN name : N/A
Keepalive interval : 1000 ms
Keepalive timeout : 5 sec
Keepalive hold time: 3 sec
# 在Spine 1上查看分布式聚合设备角色信息,本地为Primary,对端设备为Secondary。
<Spine1> display drni role
Effective role information
Factors Local Peer
Effective role Primary Secondary
Initial role Primary Secondary
MAD DOWN state No No
Health level 0 0
Role priority 100 101
Bridge MAC 5098-b8d3-7e00 3c8c-4003-8b41
Effective role trigger: IPL calculation
Effective role reason: MAD status
Configured role information
Factors Local Peer
Configured role Primary Secondary
Role priority 100 101
Bridge MAC 5098-b8d3-7e00 3c8c-4003-8b41
# 在Spine 1上查看DRNI配置一致性信息。
<Spine1>dis drni consistency-check status
Global Consistency Check Configuration
Local status : Enabled Peer status : Enabled
Local check mode : Strict Peer check mode : Strict
Consistency Check on Modules
Module Type1 Type2
LAGG Check Not Check
VLAN Check Check
STP Check Not Check
Type1 Consistency Check Result
Global consistency check result: SUCCESS
Inconsistent global modules: -
DR interface DR group ID Check Result Inconsistency modules
BAGG102 2 SUCCESS -
BAGG103 3 SUCCESS -
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!