02-三级DRNI组网配置举例(核心设备为VLAN双活网关)
本章节下载: 02-三级DRNI组网配置举例(核心设备为VLAN双活网关) (451.28 KB)
目 录
用户网络采用核心-汇聚-接入三层结构。为了提高网络的可靠性,核心层、汇聚层和接入层分别部署两台设备,且每一层的两台设备之间组成DR系统:
· Device A和Device B组成DR system 1,作为接入设备,连接服务器Server。
· Device C和Device D组成DR system 2,作为汇聚设备。
· Device E和Device F组成DR system 3,作为核心设备,连接虚拟机VM。
为满足虚拟机VM和服务器Server的入网需求,核心层的DR成员设备需要同时作为VM和服务器的IPv4/IPv6网关。
为了防止DR系统分裂、误接线或者配置不当导致聚合成员口之间经过IPL形成环路:
· 在DR成员设备上配置STP。
· 配置核心层的DR成员设备(Device E和Device F)为STP的根桥,避免由于新扩容设备加入STP网络可能动态抢占STP根,导致STP网络震荡。
本文以三级DRNI+STP+VLAN双活网关为例,介绍多级DRNI组网的配置方法。二级DRNI+STP+VLAN双活网关的配置方法与此类似。
图1-1 三级DRNI+STP+IPv4和IPv6 VLAN双活网关组网图
接口 |
IP地址 |
对接设备及接口 |
|
Device A |
XGE1/0/24 |
IPv4:220.1.1.1/24 |
Device B: XGE2/0/24 |
Device B |
XGE2/0/24 |
IPv4:220.1.1.2/24 |
Device A: XGE1/0/24 |
Device C |
WGE1/0/11 |
IPv4:220.1.1.3/24 |
Device D: WGE2/0/11 |
Device D |
WGE2/0/11 |
IPv4:220.1.1.4/24 |
Device C: WGE1/0/11 |
Device E |
XGE1/4/5 |
IPv4:220.1.1.5/24 |
Device F: XGE2/4/5 |
Vlan-int20 |
IPv4:20.1.1.2/24 IPv6:20:1::2/64 |
- |
|
Vlan-int30 |
IPv4:30.1.1.1/24 IPv6:30:1::1/64 |
- |
|
Device F |
XGE2/4/5 |
IPv4:220.1.1.6/24 |
Device E: XGE1/4/5 |
Vlan-int20 |
IPv4:20.1.1.2/24 IPv6:20:1::2/64 |
- |
|
Vlan-int30 |
IPv4:30.1.1.1/24 IPv6:30:1::1/64 |
|
请在适用软件版本的基础上安装当前最新补丁。
设备 |
软件版本 |
S6805/S6825/S6850/S9850/S9820-64H/S9820-8C |
R6635版本 |
S6800/S6860/S6900 |
F2715及以上的27xx版本,不推荐使用28xx系列版本 |
S12500X-AF/S12500F-AF/S6890 |
R2820版本 |
S12500G-AF |
版本验证中,请联系技术支持获取最新版本信息 |
S6812/S6813 |
版本开发中,请联系技术支持获取最新版本信息 |
在Device E和Device F上,配置VLAN接口20的IPv4和IPv6地址,该地址作为Server的IPv4和IPv6网关地址,配置VLAN接口30的IPv4和IPv6地址,该地址作为VM的IPv4和IPv6网关地址,以便IPv4和IPv6用户均可通过该网关访问外部网络。
在Device E和Device F上,配置DR成员设备为STP的根桥,以消除DR系统之间的环路。
· 配置DRNI
· 配置双活网关
Device A |
Device B |
命令说明 |
注意事项 |
stp global enable |
stp global enable |
全局开启生成树功能 |
盒式设备默认开启此功能 |
drni role priority 10 |
drni role priority 20 |
指定DR设备的角色优先级 |
设备角色优先级用于两台设备间进行主从协商,值越小优先级越高,优先级高的为Primary设备 |
drni system-mac 2-2-2 |
drni system-mac 2-2-2 |
配置DR系统MAC地址 |
同一分布式聚合组中,所有DR设备的系统MAC地址必须相同 |
drni system-number 1 |
drni system-number 2 |
配置DR系统编号 |
同一分布式聚合组中的DR设备应配置不同的系统编号 |
drni system-priority 123 |
drni system-priority 123 |
配置DR系统优先级 |
同一分布式聚合组中,所有DR设备的系统优先级必须相同 |
drni standalone enable |
drni standalone enable |
开启DR设备独立工作模式 |
- |
drni keepalive ip destination 220.1.1.2 source 220.1.1.1 |
drni keepalive ip destination 220.1.1.1 source 220.1.1.2 |
配置Keepalive报文的目的IP地址和源IP地址 |
- |
interface Ten-GigabitEthernet 1/0/24 |
interface Ten-GigabitEthernet 2/0/24 |
进入Keepalive链路的接口视图 |
- |
port link-mode route |
port link-mode route |
配置Keepalive链路接口工作在三层模式 |
- |
ip address 220.1.1.1 24 |
ip address 220.1.1.2 24 |
配置Keepalive链路接口的IP地址 |
- |
quit |
quit |
退回系统视图 |
- |
drni mad exclude interface Ten-GigabitEthernet 1/0/24 |
drni mad exclude interface Ten-GigabitEthernet 2/0/24 |
配置Keepalive链路接口为DRNI保留接口 |
- |
vlan 20 |
vlan 20 |
创建VLAN 20 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
创建聚合口用作IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
interface HundredGigE 1/0/28 |
interface HundredGigE 2/0/28 |
进入IPL链路物理端口视图 |
- |
port link-aggregation group 1 |
port link-aggregation group 1 |
IPL链路物理端口加入IPL聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
进入IPL聚合组视图 |
- |
undo mac-address static source-check enable |
undo mac-address static source-check enable |
关闭报文入接口与静态MAC地址表项匹配检查功能 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置用作IPP的聚合口工作在动态聚合模式 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
配置聚合口1为IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
创建连接Server的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Server的聚合组工作在动态聚合模式 |
- |
port drni group 2 |
port drni group 2 |
配置聚合口2加入DR组2 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
创建连接Device C和Device D的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device C和Device D的聚合组工作在动态聚合模式 |
- |
port drni group 3 |
port drni group 3 |
配置聚合口3加入DR组3 |
- |
quit |
quit |
退回系统视图 |
- |
interface HundredGigE 1/0/27 |
interface HundredGigE 2/0/27 |
进入DR设备连接Server的物理端口视图 |
- |
port link-aggregation group 2 |
port link-aggregation group 2 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
进入聚合组视图 |
- |
port link-type trunk |
port link-type trunk |
配置聚合口为Trunk端口 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止VLAN 1通过当前Trunk端口 |
- |
port trunk permit vlan 20 |
port trunk permit vlan 20 |
配置聚合口允许指定VLAN通过 |
- |
stp edged-port |
stp edged-port |
配置聚合口为STP边缘端口 |
|
quit |
quit |
退回系统视图 |
- |
interface range HundredGigE 1/0/25 HundredGigE 1/0/26 |
interface range HundredGigE 2/0/25 HundredGigE 2/0/26 |
进入DR设备连接Device C和Device D设备的物理端口视图 |
- |
port link-aggregation group 3 |
port link-aggregation group 3 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
进入聚合组视图 |
- |
port link-type trunk |
port link-type trunk |
配置聚合口为Trunk端口 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止VLAN 1通过当前Trunk端口 |
- |
port trunk permit vlan 20 |
port trunk permit vlan 20 |
配置聚合口允许指定VLAN通过 |
- |
quit |
quit |
退回系统视图 |
- |
link-aggregation global load-sharing algorithm 7 |
link-aggregation global load-sharing algorithm 7 |
配置全局采用的聚合负载分担HASH算法 |
用户可以通过display counters命令查看各个成员端口流量情况,判断链路流量是否均衡。如果流量均衡情况不理想,可以通过本命令调整聚合负载分担HASH算法尝试更理想的算法 S6812/S6813不支持此命令 |
Device C |
Device D |
命令说明 |
注意事项 |
stp global enable |
stp global enable |
全局开启生成树功能 |
盒式设备默认开启此功能 |
drni system-mac 1-1-1 |
drni system-mac 1-1-1 |
配置DR系统MAC地址 |
同一分布式聚合组中,所有DR设备的系统MAC地址必须相同 |
drni system-number 1 |
drni system-number 2 |
配置DR系统编号 |
同一分布式聚合组中的DR设备应配置不同的系统编号 |
drni system-priority 124 |
drni system-priority 124 |
配置DR系统优先级 |
同一分布式聚合组中,所有DR设备的系统优先级必须相同 |
drni role priority 10 |
drni role priority 20 |
指定DR设备的角色优先级 |
设备角色优先级用于两台设备间进行主从协商,值越小优先级越高,优先级高的为Primary设备 |
drni standalone enable |
drni standalone enable |
开启DR设备独立工作模式 |
- |
drni keepalive ip destination 220.1.1.4 source 220.1.1.3 |
drni keepalive ip destination 220.1.1.3 source 220.1.1.4 |
配置Keepalive报文的目的IP地址和源IP地址 |
- |
interface Twenty-FiveGigE 1/0/11 |
interface Twenty-FiveGigE 2/0/11 |
进入Keepalive链路的接口视图 |
- |
port link-mode route |
port link-mode route |
配置Keepalive链路接口工作在三层模式 |
- |
ip address 220.1.1.3 24 |
ip address 220.1.1.4 24 |
配置Keepalive链路接口的IP地址 |
- |
quit |
quit |
退回系统视图 |
- |
drni mad exclude interface Twenty-FiveGigE 1/0/11 |
drni mad exclude interface Twenty-FiveGigE 2/0/11 |
配置Keepalive链路接口为DRNI保留接口 |
- |
vlan 20 |
vlan 20 |
创建VLAN 20 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
创建聚合口用作IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
interface HundredGigE 1/0/26 |
interface HundredGigE 2/0/26 |
进入IPL链路物理端口视图 |
- |
port link-aggregation group 1 |
port link-aggregation group 1 |
IPL链路物理端口加入IPL聚合组 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
进入IPL聚合组视图 |
- |
undo mac-address static source-check enable |
undo mac-address static source-check enable |
关闭报文入接口与静态MAC地址表项匹配检查功能 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置用作IPP的聚合口工作在动态聚合模式 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
配置聚合口1为IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
创建连接Device E和Device F的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device E和Device F的聚合组工作在动态聚合模式 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
port drni group 2 |
port drni group 2 |
配置聚合口3加入DR组2 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
创建连接Device A和Device B的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device A和Device B的聚合组工作在动态聚合模式 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
port drni group 3 |
port drni group 3 |
配置聚合口3加入DR组3 |
- |
quit |
quit |
退回系统视图 |
- |
interface range HundredGigE 1/0/28 HundredGigE 1/0/29 |
interface range HundredGigE 2/0/28 HundredGigE 2/0/29 |
进入DR设备连接Device E和Device F设备的物理端口视图 |
- |
port link-aggregation group 2 |
port link-aggregation group 2 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
进入聚合组视图 |
- |
port link-type trunk |
port link-type trunk |
配置聚合口为Trunk端口 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止vlan1通过当前Trunk端口 |
- |
port trunk permit vlan 20 |
port trunk permit vlan 20 |
配置聚合口允许指定VLAN通过 |
- |
interface range HundredGigE 1/0/30 HundredGigE 1/0/31 |
interface range HundredGigE 2/0/30 HundredGigE 2/0/31 |
进入DR设备连接Device A和Device B设备的物理端口视图 |
- |
port link-aggregation group 3 |
port link-aggregation group 3 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
进入聚合组视图 |
- |
port link-type trunk |
port link-type trunk |
配置聚合口为Trunk端口 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止vlan1通过当前Trunk端口 |
- |
port trunk permit vlan 20 |
port trunk permit vlan 20 |
配置聚合口允许指定VLAN通过 |
- |
quit |
quit |
退回系统视图 |
- |
link-aggregation global load-sharing algorithm 7 |
link-aggregation global load-sharing algorithm 7 |
配置全局采用的聚合负载分担HASH算法 |
用户可以通过display counters命令查看各个成员端口流量情况,判断链路流量是否均衡。如果流量均衡情况不理想,可以通过本命令调整聚合负载分担HASH算法尝试更理想的算法 S6812/S6813不支持此命令 |
Device E |
Device F |
命令说明 |
注意事项 |
stp global enable |
stp global enable |
全局开启生成树功能 |
盒式设备默认开启此功能 |
drni system-mac 1-2-3 |
drni system-mac 1-2-3 |
配置DR系统MAC地址 |
同一分布式聚合组中,所有DR设备的系统MAC地址必须相同 |
drni system-number 1 |
drni system-number 2 |
配置DR系统编号 |
同一分布式聚合组中的DR设备应配置不同的系统编号 |
drni system-priority 122 |
drni system-priority 122 |
配置DR系统优先级 |
同一分布式聚合组中,所有DR设备的系统优先级必须相同 |
drni role priority 10 |
drni role priority 20 |
指定DR设备的角色优先级 |
设备角色优先级用于两台设备间进行主从协商,值越小优先级越高,优先级高的为Primary设备 |
drni standalone enable |
drni standalone enable |
开启DR设备独立工作模式 |
- |
drni keepalive ip destination 220.1.1.6 source 220.1.1.5 |
drni keepalive ip destination 220.1.1.5 source 220.1.1.6 |
配置Keepalive报文的目的IP地址和源IP地址 |
- |
interface Ten-GigabitEthernet 1/4/5 |
interface Ten-GigabitEthernet 2/4/5 |
进入Keepalive链路的接口视图 |
- |
port link-mode route |
port link-mode route |
配置Keepalive链路接口工作在三层模式 |
- |
ip address 220.1.1.5 24 |
ip address 220.1.1.6 24 |
配置Keepalive链路接口的IP地址 |
- |
quit |
quit |
退回系统视图 |
- |
drni mad exclude interface Ten-GigabitEthernet 1/4/5 |
drni mad exclude interface Ten-GigabitEthernet 2/4/5 |
配置Keepalive链路接口为DRNI保留接口 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
创建聚合口用作IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
Interface HundredGigE 1/1/8 |
interface HundredGigE 2/1/8 |
进入IPL链路物理端口视图 |
- |
port link-aggregation group 1 |
port link-aggregation group 1 |
IPL链路物理端口加入IPL聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
进入IPL聚合组视图 |
- |
undo mac-address static source-check enable |
undo mac-address static source-check enable |
关闭报文入接口与静态MAC地址表项匹配检查功能 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置用作IPP的聚合口工作在动态聚合模式 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
配置聚合口1为IPP口 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
创建连接Device C和Device D的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device C和Device D的聚合组工作在动态聚合模式 |
- |
port drni group 2 |
port drni group 2 |
配置聚合口2加入DR组2 |
- |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
创建连接Device G的聚合组 |
- |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device G的聚合组工作在动态聚合模式 |
- |
port drni group 3 |
port drni group 3 |
配置聚合口3加入DR组3 |
- |
quit |
quit |
退回系统视图 |
- |
interface range HundredGigE 1/0/4 HundredGigE 1/0/5 |
interface range HundredGigE 2/0/4 HundredGigE 2/0/5 |
进入DR设备连接Device C和Device D设备的物理端口视图 |
- |
port link-aggregation group 2 |
port link-aggregation group 2 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
interface HundredGigE1/0/6 |
interface HundredGigE2/0/6 |
进入DR设备连接VM的物理端口视图 |
- |
port link-aggregation group 3 |
port link-aggregation group 3 |
加入DR聚合组 |
- |
quit |
quit |
退回系统视图 |
- |
link-aggregation global load-sharing algorithm 7 |
link-aggregation global load-sharing algorithm 7 |
配置全局采用的聚合负载分担HASH算法 |
用户可以通过display counters命令查看各个成员端口流量情况,判断链路流量是否均衡。如果流量均衡情况不理想,可以通过本命令调整聚合负载分担HASH算法尝试更理想的算法 S6812/S6813不支持此命令 |
stp instance 0 root primary |
stp instance 0 root primary |
配置设备为根桥 |
- |
Device E |
Device F |
命令说明 |
注意事项 |
vlan 20 30 |
vlan 20 30 |
创建VLAN 20、30 |
- |
interface bridge-aggregation 2 |
interface bridge-aggregation 2 |
进入连接Device D的聚合接口视图 |
- |
port link-type trunk |
port link-type trunk |
配置二层聚合接口为Trunk端口 |
- |
port trunk permit vlan 20 |
port trunk permit vlan 20 |
允许VLAN 20的报文通过 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
quit |
quit |
退回系统视图 |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
进入连接Device G的聚合接口视图 |
- |
port link-type trunk |
port link-type trunk |
配置二层聚合接口为Trunk端口 |
- |
port trunk permit vlan 30 |
port trunk permit vlan 30 |
允许VLAN 30的报文通过 |
- |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
- |
port lacp system-priority 101 |
port lacp system-priority 100 |
配置LACP优先级 |
为不同的DR设备配置不同的LACP优先级,使得分裂时只选中高优先级成员口 |
quit |
quit |
退回系统视图 |
- |
interface vlan-interface 30 |
interface vlan-interface 30 |
创建接口Vlan-interface30 |
- |
ip address 30.1.1.1 255.255.255.0 |
ip address 30.1.1.1 255.255.255.0 |
配置接口Vlan-interface30的IPv4地址,该地址作为IPv4网关地址 |
- |
mac-address 0030-0030-0030 |
mac-address 0030-0030-0030 |
配置接口Vlan-interface30的MAC地址 |
- |
ipv6 address 30:1::1 64 |
ipv6 address 30:1::1 64 |
配置接口Vlan-interface30的IPv6地址,该地址作为IPv6网关地址 |
- |
quit |
quit |
退回系统视图 |
- |
drni mad exclude interface Vlan-interface 30 |
drni mad exclude interface Vlan-interface 30 |
配置接口Vlan-interface30为DRNI保留接口 |
- |
interface vlan-interface 20 |
interface vlan-interface 20 |
创建接口Vlan-interface20 |
- |
ip address 20.1.1.1 255.255.255.0 |
ip address 20.1.1.1 255.255.255.0 |
配置接口Vlan-interface20的IPv4地址,该地址作为IPv4网关地址 |
- |
mac-address 0020-0020-0021 |
mac-address 0020-0020-0021 |
配置接口Vlan-interface20的MAC地址 |
- |
ipv6 address 20:1::1 64 |
ipv6 address 20:1::1 64 |
配置接口Vlan-interface20的IPv6地址,该地址作为IPv6网关地址 |
- |
quit |
quit |
退回系统视图 |
- |
drni mad exclude interface Vlan-interface 20 |
drni mad exclude interface Vlan-interface 20 |
配置接口Vlan-interface20为DRNI保留接口 |
- |
Device G |
命令说明 |
vlan 30 |
创建VLAN 30 |
quit |
退回系统视图 |
interface bridge-aggregation 3 |
创建聚合口 |
link-aggregation mode dynamic |
配置聚合口工作在动态聚合模式 |
Interface range HundredGigE 2/0/1 HundredGigE 2/0/2 |
进入连接Device E和Device F的物理端口视图 |
port link-aggregation group 3 |
将物理口加入聚合组 |
quit |
退回系统视图 |
interface bridge-aggregation 3 |
进入聚合口视图 |
port link-type trunk |
配置聚合口为Trunk端口 |
port trunk permit vlan 30 |
配置聚合口允许VLAN 30通过 |
undo port trunk permit vlan 1 |
禁止VLAN 1通过当前Trunk端口 |
Interface HundredGigE 2/0/64 |
进入连接VM的物理端口视图 |
port access vlan 30 |
配置该端口为Access口,允许VLAN 30通过 |
流量模型描述表格主要包含以下信息:
· 编号:即流量编号,格式为U-X-XXX。其中,U表示Underlay流量;X表示协议号,取值包括4(IPv4)和6(IPv6);XXX表示流量序号。
· 类型:即流量类型,取值包括IPv4已知单播、IPv6已知单播。
· 流量方向:即流量的发送方向,取值为南北,表示南北向流量。
· 流量路径:即流量经过的每个节点。
· 仿真方式:进行本组网测试时,采用的流量仿真方式,一般为测试仪器仿真,即采用测试仪模拟服务器发送流量。
· 流量大小:流量负载的大小,取值包括轻载(仿真流量小于1000条流)和重载(仿真流量大于1000条流)。
表1-1 Underlay流量模型描述表
编号 |
类型 |
流量方向 |
流量路径 |
仿真方式 |
流量大小 |
说明 |
U-4-101 |
IPv4已知单播 |
南北 |
Server-DR sytem 1-DR sytem 2-DR sytem 3-VM |
测试仪器 |
轻载 |
- |
U-6-101 |
IPv6已知单播 |
南北 |
Server-DR sytem 1-DR sytem 2-DR sytem 3-VM |
测试仪器 |
轻载 |
- |
表1-2 链路单点故障测试情况表
设备 |
故障类型 |
流量中断时间 |
DR |
DR成员链路单点故障 |
不超过100ms |
DR成员链路单点故障恢复 |
不超过100ms |
|
IPL链路故障 |
不超过500ms |
|
IPL链路故障恢复 |
0ms |
|
Keepalive链路故障 |
0ms |
|
Keepalive链路故障恢复 |
0ms |
|
Keepalive和IPL都故障 |
不超过3000ms |
|
Keepalive和IPL都故障恢复 |
不超过4000ms |
|
升级操作 |
不超过500ms(传统方式,两台DR设备逐台升级) |
|
扩容操作 |
0ms |
|
替换操作 |
盒式整机替换:不超过500ms 框式: · 整机替换:不超过1000ms · 网板替换:0ms · 业务板替换:不超过500ms |
查看Device E和Device F上的DR系统状态,可以看到DR系统正常建立。下文以Device E为例,Device F与此类似。
# 显示分布式聚合系统的接口摘要信息。
[DeviceE] display 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)
BAGG2 2 UP UP -
BAGG3 3 UP UP -
# 显示分布式聚合Keepalive报文的信息。
[DeviceE] display drni keepalive
Neighbor keepalive link status (cause): Up
Neighbor is alive for: 774 s 381 ms
Keepalive packet transmission status:
Sent: Successful
Received: Successful
Last received keepalive packet information:
Source IP address: 220.1.1.2
Time: 2022/02/07 06:50:17
Action: Accept
Distributed relay keepalive parameters:
Destination IP address: 220.1.1.6
Source IP address: 220.1.1.5
Keepalive UDP port : 6400
Keepalive VPN name : N/A
Keepalive interval : 1000 ms
Keepalive timeout : 5 sec
Keepalive hold time: 3 sec
# 显示DR系统信息。
[DeviceE] display drni system
System information
Local system number: 1 Peer system number: 2
Local system MAC: 0001-0002-0003 Peer system MAC: 0001-0002-0003
Local system priority: 122 Peer system priority: 122
Local bridge MAC: 5cc9-995f-7d7e Peer bridge MAC: 5cc9-995f-79fa
Local effective role: Secondary Peer effective role: Primary
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 180 -
Consistency-check delay Disabled 90 -
Standalone delay Disabled 0 -
Role to None delay Disabled 60 -
# 显示DR系统的接口详细信息。
[DeviceE] display drni verbose
Flags: A -- Home_Gateway, B -- Neighbor_Gateway, C -- Other_Gateway,
D -- IPP_Activity, E -- DRCP_Timeout, F -- Gateway_Sync,
G -- Port_Sync, H -- Expired
IPP/IPP ID: BAGG1/1
State: UP
Cause: -
Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG
Local Selected ports (index): HGE1/1/8 (40)
Peer Selected ports indexes: 235
DR interface/DR group ID: BAGG2/2
Local DR interface state: UP
Peer DR interface state: UP
DR group state: UP
Local DR interface down cause: -
Remaining DRNI DOWN time: -
Local DR interface LACP MAC: Config=N/A, Effective=0001-0002-0003
Peer DR interface LACP MAC: Config=N/A, Effective=0001-0002-0003
Local DR interface LACP priority: Config=32768, Effective=122
Peer DR interface LACP priority: Config=32768, Effective=122
Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG
Local Selected ports (index): HGE1/1/4 (20), HGE1/1/5 (25)
Peer Selected ports indexes: 215, 220
DR interface/DR group ID: BAGG3/3
Local DR interface state: UP
Peer DR interface state: UP
DR group state: UP
Local DR interface down cause: -
Remaining DRNI DOWN time: -
Local DR interface LACP MAC: Config=N/A, Effective=0001-0002-0003
Peer DR interface LACP MAC: Config=N/A, Effective=0001-0002-0003
Local DR interface LACP priority: Config=32768, Effective=122
Peer DR interface LACP priority: Config=32768, Effective=122
Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG
Local Selected ports (index): FGE1/2/1 (45)
Peer Selected ports indexes: 240
# 查看DRNI级联后STP状态。Device A、Device B、Device C、Device D、Device E、Device F各自聚合口的STP状态均为FORWARDING,根桥均为0.0001-0002-0003。
[DeviceE] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) DESI FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceE] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 0 0
[DeviceF] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) DESI FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceF] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 0 0
[DeviceC] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) ROOT FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceC] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 1 0 BAGG2
[DeviceD] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) ROOT FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceD] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 1 0 BAGG2
[DeviceA] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) ROOT FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceA] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 1 0 BAGG2
[DeviceB] display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation2 (DR) ROOT FORWARDING NONE
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceB] display stp root
MST ID Root Bridge ID ExtPathCost IntPathCost Root Port
0 0.0001-0002-0003 1 0 BAGG2
本节介绍对DR设备进行软件版本升级的操作方法。
升级前的命令行检查包括“1.8 验证配置”和表1-3中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
采用传统升级方式,两台DR设备逐台升级:单点故障时间正切小于500ms,回切小于150ms。具体参见“1.7 收敛时间测试”。
升级后的命令行检查包括“1.8 验证配置”和表1-4中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
本文描述的扩容操作指新增一组Leaf设备。
扩容前的命令行检查包括“1.8 验证配置”和表1-5中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示分布式聚合系统的接口摘要信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
(1) 新增设备断开网管
(2) 升级完成相应版本
(3) 做好预配置
(4) 接入网管
(5) 控制器进行纳管
扩容后需执行表1-6中的命令检查扩容结果。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
替换前的命令行检查包括 “1.8 验证配置”和表1-7中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
相关业务板上的业务及网管流量应先行切换到正常业务板上。
支持业务板热插拔或者整机断电替换,具体根据现场情况而定。
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
与替换前命令行检查相同。
替换前的命令行检查包括 “1.8 验证配置”和表1-8中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
支持网板热插拔或者整机断电替换,具体根据现场情况而定。
与替换前命令行检查相同。
替换前的命令行检查包括 “1.8 验证配置”和表1-9中的命令行。
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
显示设备信息 |
display boot-loader |
display boot-loader |
显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
与替换前命令行检查相同。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!