01-DRNI组网IPv4和IPv6 VLAN双活网关配置举例
本章节下载: 01-DRNI组网IPv4和IPv6 VLAN双活网关配置举例 (461.67 KB)
目 录
1 DRNI组网IPv4和IPv6 VLAN双活网关配置举例
1.5.2 配置DR设备与下行设备Device D的互联链路
1.5.5 配置DR设备与上行设备Device C的互联链路
1.5.7 配置DR设备与下行设备Device D之间建动态路由协议
1.6.2 配置上行设备Device C与DR设备的互联链路
1.6.3 配置上行设备Device C与Network的互联链路
1.7.3 配置Device D与DR设备建立OSPF、OSPFv3邻居
如图1-1所示:
· Device A和Device B组成DR系统,Device D通过DR接口接入DR系统。
· Device A和Device B通过等价路由接入到上行设备Device C。
由于用户对服务器的入网需求,现需要:
· 两台DR设备Device A和Device B同时作为服务器的IPv4网关和IPv6网关。
· 如果Device A或Device B与上行设备Device C的链路故障,报文可以通过路由绕行到对端DR设备处理,不影响服务器与外部网络的通信。
另外,在有些场景下DR口连接的设备/服务器需要和DR设备建立路由邻居。
图1-1 DRNI组网IPv4和IPv6 VLAN双活网关组网图
接口 |
IP地址 |
对接设备及接口 |
|
Device A |
HGE1/0/1 |
- |
Device D: HGE1/0/1 |
HGE1/0/2 |
- |
Device D: HGE1/0/2 |
|
HGE1/0/3 |
- |
Device B: HGE1/0/3 |
|
HGE1/0/4 |
- |
Device B: HGE1/0/4 |
|
HGE1/0/5 |
IPv4:21.1.1.1/24 IPv6:21::1/64 |
Device B: HGE1/0/5 |
|
HGE1/0/6 |
- |
Device C: HGE1/0/1 |
|
HGE1/0/7 |
- |
- |
|
Vlan-int100 |
IPv4:100.1.1.100/24 DRNI virtual-ip:100.1.1.101/24 IPv6:100::100/64 DRNI IPv6 virtual-ip:100::101 |
- |
|
Vlan-int101 |
IPv4:101.1.1.1/24 IPv6:101::1/64 |
Device B: Vlan-int101 · IPv4:101.1.1.2/24 · IPv6:101::2/64 |
|
Vlan-int32 |
IPv4:32.1.1.1/24 IPv6:32::1/64 |
Device C: Vlan-int32 · IPv4:32.1.1.2/24 · IPv6:32::2/64 |
|
Device B |
HGE1/0/1 |
- |
Device D: HGE1/0/3 |
HGE1/0/2 |
- |
Device D: HGE1/0/4 |
|
HGE1/0/3 |
- |
Device A: HGE1/0/3 |
|
HGE1/0/4 |
- |
Device A: HGE1/0/4 |
|
HGE1/0/5 |
IPv4:21.1.1.2/24 IPv6:21::2/64 |
Device A: HGE1/0/5 |
|
HGE1/0/6 |
- |
Device C: HGE1/0/2 |
|
Vlan-int100 |
IPv4:100.1.1.100/24 DRNI virtual-ip:100.1.1.102/24 IPv6:100::100/64 DRNI IPv6 virtual-ip:100::102 |
- |
|
Vlan-int101 |
IPv4:101.1.1.2/24 IPv6:101::2/64 |
Device A: Vlan-int101 · IPv4:101.1.1.1/24 · IPv6:101::1/64 |
|
Vlan-int33 |
IPv4:33.1.1.1/24 IPv6:33::1/64 |
Device C: Vlan-int33 · IPv4:33.1.1.2/24 · IPv6:33::2/64 |
|
Device C |
HGE1/0/1 |
- |
Device A: HGE1/0/6 |
HGE1/0/2 |
- |
Device B: HGE1/0/6 |
|
HGE1/0/3 |
- |
Network |
|
Vlan-int22 |
IPv4:22.1.1.1/24 IPv6:22::1/64 |
Network |
|
Vlan-int32 |
IPv4:32.1.1.2/24 IPv6:32::2/64 |
Device A: Vlan-int32 · IPv4:32.1.1.1/24 · IPv6:32::1/64 |
|
Vlan-int33 |
IPv4:33.1.1.2/24 IPv6:33::2/64 |
Device B: Vlan-int33 · IPv4:33.1.1.1/24 · IPv6:33::1/64 |
|
Device D |
HGE1/0/1 |
- |
Device A: HGE1/0/1 |
HGE1/0/2 |
- |
Device A: HGE1/0/2 |
|
HGE1/0/3 |
- |
Device B: HGE1/0/1 |
|
HGE1/0/4 |
- |
Device B: HGE1/0/2 |
|
Vlan-int100 |
IPv4:100.1.1.110/24 IPv6:100::110 |
与DR设备Vlan-int100的DRNI虚拟IP建立路由 |
请在适用软件版本的基础上安装当前最新补丁。
设备 |
软件版本 |
S6805/S6825/S6850/S9850/S9820-64H/S9820-8C |
R6616P01版本(不支持动态路由接入)、R6635版本 |
S6800/S6860/S6900 |
F2715及以上的27xx版本(不支持动态路由接入),不推荐使用28xx系列版本 |
S12500X-AF/S12500F-AF/S6890 |
F2809版本、R2820版本 |
S12500G-AF |
R7624P12版本 |
S6812/S6813 |
版本开发中,请联系技术支持获取最新版本信息 |
· Device A和Device B配置VLAN接口100作为IPv4和IPv6的双活网关。Device A和Device B在VLAN接口100配置相同的IPv4地址和MAC地址、IPv6地址和IPv6 Link-local地址,以便IPv4和IPv6用户均可通过该网关访问外部网络。
· 配置Device A和Device B通过VLAN接口101实现三层互通。如果Device A或Device B与上行设备Device C的链路故障,报文可以通过路由绕行到对端DR设备处理。
配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下配置不冲突。
同级DRNI设备的drni system-mac应配置为相同,不同级DRNI设备的drni system-mac一定要配置为不同。
对于S12500X-AF系列交换机,双活网关MAC地址的设置方式请参考“DRNI组网推荐方案”中“S12500X-AF MAC地址设置指导”。
· 配置双活网关
· 配置DR设备与下行设备Device D之间建动态路由协议
Device A |
Device B |
命令说明 |
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 21.1.1.2 source 21.1.1.1 |
drni keepalive ip destination 21.1.1.1 source 21.1.1.2 |
配置Keepalive报文的目的IPv4地址和源IPv4地址 |
stp instance 0 root primary |
stp instance 0 root primary |
将DR设备配置为STP根桥 |
stp global enable |
stp global enable |
全局开启生成树功能 |
stp tc-protection |
stp tc-protection |
开启对TC类型BPDU报文的保护功能,避免频繁删除MAC地址表项和ARP表项,从而达到保护设备的目的 |
stp bpdu-protection |
stp bpdu-protection |
开启BPDU保护功能来防止恶意用户伪造BPDU攻击 |
interface HundredGigE1/0/5 |
interface HundredGigE1/0/5 |
Keepalive链路接口 |
port link-mode route |
port link-mode route |
配置Keepalive链路接口工作在三层模式 |
ip address 21.1.1.1 24 |
ip address 21.1.1.2 24 |
配置Keepalive报文的源IPv4地址 |
quit |
quit |
- |
drni mad exclude interface HundredGigE1/0/5 |
drni mad exclude interface HundredGigE1/0/5 |
配置Keepalive链路接口为DRNI保留接口 |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
创建聚合口用作IPP口 |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置用作IPP的聚合口工作在动态聚合模式 |
quit |
quit |
- |
interface range HundredGigE 1/0/3 HundredGigE 1/0/4 |
interface range HundredGigE 1/0/3 HundredGigE 1/0/4 |
进入IPL链路物理端口视图 |
port link-aggregation group 1 |
port link-aggregation group 1 |
IPL链路物理端口加入IPL聚合组 |
quit |
quit |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
- |
port drni intra-portal-port 1 |
port drni intra-portal-port 1 |
配置聚合口1为IPP口 |
undo mac-address static source-check enable |
undo mac-address static source-check enable |
关闭报文入接口与静态MAC地址表项匹配检查功能,避免跨IPL三层转发的流量不通的问题 S12500X-AF/S12500F-AF/S12500G-AF/S6890不涉及本问题,不需要此配置 |
quit |
quit |
- |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
创建连接Device D的聚合组 |
link-aggregation mode dynamic |
link-aggregation mode dynamic |
配置连接Device D的聚合组工作在动态聚合模式 |
port drni group 1 |
port drni group 1 |
配置聚合口3加入DR组1 |
quit |
quit |
- |
interface range HundredGigE 1/0/1 HundredGigE 1/0/2 |
interface range HundredGigE 1/0/1 HundredGigE 1/0/2 |
进入DR设备连接Device D设备的物理端口视图 |
port link-aggregation group 3 |
port link-aggregation group 3 |
加入DR聚合组 |
quit |
quit |
- |
drni restore-delay 300 |
drni restore-delay 300 |
配置DRNI延迟恢复时间,以便提供充足的时间进行表项同步,加快收敛 |
Device A |
Device B |
命令说明 |
vlan 100 101 |
vlan 100 101 |
创建VLAN 100、VLAN 101 |
interface bridge-aggregation 3 |
interface bridge-aggregation 3 |
- |
port link-type trunk |
port link-type trunk |
配置二层聚合接口3为Trunk端口 |
port trunk permit vlan 100 |
port trunk permit vlan 100 |
允许VLAN 100的报文通过 |
port lacp system-priority 100 |
port lacp system-priority 101 |
配置LACP优先级,使得IPL链路和Keepalive链路都故障时DR系统只选中高优先级成员口转发报文 |
quit |
quit |
- |
interface bridge-aggregation 1 |
interface bridge-aggregation 1 |
- |
port link-type trunk |
port link-type trunk |
配置二层聚合接口1为Trunk端口 |
port trunk permit vlan all |
port trunk permit vlan all |
允许所有VLAN的报文通过 |
quit |
quit |
- |
interface vlan-interface 100 |
interface vlan-interface 100 |
创建接口Vlan-interface100 |
ip address 100.1.1.100 24 |
ip address 100.1.1.100 24 |
配置接口Vlan-interface100的IPv4地址,使其作为IPv4双活网关 |
mac-address 0000-0010-0010 |
mac-address 0000-0010-0010 |
配置接口Vlan-interface100的MAC地址,使其作为IPv4双活网关 |
ipv6 address 100::100 64 |
ipv6 address 100::100 64 |
配置接口Vlan-interface100的IPv6地址,使其作为IPv6双活网关 |
ipv6 address FE80::80 link-local |
ipv6 address FE80::80 link-local |
配置接口Vlan-interface100的Link-local地址,使其作为IPv6双活网关 |
ipv6 nd unsolicited-na-learning enable |
ipv6 nd unsolicited-na-learning enable |
开启接口从未经请求的NA报文中学习邻居信息的功能 必须开启本功能,才能实现ND表项在两台DR设备之间的同步 |
quit |
quit |
- |
drni mad exclude interface Vlan-interface100 |
drni mad exclude interface Vlan-interface100 |
配置接口Vlan-interface100为DRNI保留接口 |
interface vlan-interface 101 |
interface vlan-interface 101 |
创建接口Vlan-interface101 |
ip address 101.1.1.1 24 |
ip address 101.1.1.2 24 |
配置接口Vlan-interface101的IPv4地址,用于DR设备间三层互通 |
ipv6 address 101::1 64 |
ipv6 address 101::2 64 |
配置接口Vlan-interface101的IPv6地址,用于DR设备间三层互通 |
quit |
quit |
- |
drni mad exclude interface Vlan-interface101 |
drni mad exclude interface Vlan-interface101 |
配置接口Vlan-interface101为DRNI保留接口 |
Device A |
Device B |
命令说明 |
router id 3.3.3.3 |
router id 4.4.4.4 |
配置Router ID |
ospf 1 |
ospf 1 |
配置OSPF,实现DR设备间IPv4网络互通 |
stub-router include-stub on-startup 900 |
stub-router include-stub on-startup 900 |
配置路由器发布的Router-LSA中,链路类型为3的Stub链路度量值将设置为最大值65535,以优化收敛速度 |
silent-interface Vlan-interface 100 |
silent-interface Vlan-interface 100 |
配置接口Vlan-interface100在OSPF中静默 |
area 0 |
area 0 |
- |
quit |
quit |
- |
interface vlan-interface 100 |
interface vlan-interface 100 |
- |
ospf 1 area 0 |
ospf 1 area 0 |
配置接口使能OSPF |
quit |
quit |
- |
interface vlan-interface 101 |
interface vlan-interface 101 |
- |
ospf 1 area 0 |
ospf 1 area 0 |
配置接口使能OSPF |
quit |
quit |
- |
ospfv3 1 |
ospfv3 1 |
配置OSPFv3,实现DR设备间IPv6网络互通 |
router-id 3.3.3.3 |
router-id 4.4.4.4 |
配置Router ID |
stub-router max-metric on-startup 900 |
stub-router max-metric on-startup 900 |
配置路由器发布的Type-1 LSA的链路度量值将设置为最大值65535,且在路由器重启期间路由器作为Stub路由器 |
silent-interface Vlan-interface 100 |
silent-interface Vlan-interface 100 |
配置接口Vlan-interface100在OSPF中静默 |
area 0 |
area 0 |
- |
quit |
quit |
- |
interface vlan-interface 100 |
interface vlan-interface 100 |
- |
ospfv3 1 area 0 |
ospfv3 1 area 0 |
配置接口使能OSPFv3 |
quit |
quit |
- |
interface vlan-interface 101 |
interface vlan-interface 101 |
- |
ospfv3 1 area 0 |
ospfv3 1 area 0 |
配置接口使能OSPFv3 |
quit |
quit |
- |
Device A |
Device B |
命令说明 |
vlan 32 |
vlan 33 |
创建VLAN |
quit |
quit |
- |
interface HundredGigE 1/0/6 |
interface HundredGigE 1/0/6 |
- |
port link-type trunk |
port link-type trunk |
配置接口为Trunk端口 |
port trunk permit vlan 32 |
port trunk permit vlan 33 |
允许指定VLAN的报文通过 |
undo port trunk permit vlan 1 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
undo stp enable |
undo stp enable |
关闭上行接口的STP功能,以加快拓扑变化时的收敛时间 |
quit |
quit |
- |
interface vlan-interface 32 |
interface vlan-interface 33 |
创建VLAN接口 |
ip address 32.1.1.1 24 |
ip address 33.1.1.1 24 |
配置VLAN接口的IPv4地址 |
ipv6 address 32::1 64 |
ipv6 address 33::1 64 |
配置VLAN接口的IPv6地址 |
ospf 1 area 0 |
ospf 1 area 0 |
使能该接口的OSPF功能 |
ospfv3 1 area 0 |
ospfv3 1 area 0 |
使能该接口的OSPFv3功能 |
quit |
quit |
- |
Device A |
命令说明 |
vlan 100 |
创建VLAN |
quit |
- |
interface HundredGigE 1/0/7 |
配置单挂口 |
port link-mode bridge |
配置接口工作在二层模式 |
port link-type access |
配置接口为Access端口 |
port access vlan 100 |
允许指定的VLAN的报文通过 |
仅设备/服务器和DR设备存在建立路由邻居的需求时需要配置此节,请根据实际需求选配。
Device A |
Device B |
命令说明 |
interface vlan-interface 100 |
interface vlan-interface 100 |
- |
port drni virtual-ip 100.1.1.101 255.255.255.0 active |
port drni virtual-ip 100.1.1.102 255.255.255.0 active |
配置接口的DRNI虚拟IPv4地址 |
port drni ipv6 virtual-ip FE80::81 link-local |
port drni ipv6 virtual-ip FE80::82 link-local |
配置接口的DRNI 链路本地地址虚拟IPv6地址 |
port drni ipv6 virtual-ip 100::101 64 active |
port drni ipv6 virtual-ip 100::102 64 active |
配置接口的DRNI虚拟IPv6地址,并且在当前设备处于可用状态 |
ospf peer sub-address enable 100.1.1.101 |
ospf peer sub-address enable 100.1.1.102 |
开启OSPF使用接口的从IP地址建立邻居关系的功能 |
quit |
quit |
- |
Device C |
命令说明 |
vlan 32 |
创建VLAN 32 |
quit |
- |
interface HundredGigE 1/0/1 |
- |
port link-type trunk |
配置接口为Trunk端口 |
port trunk permit vlan 32 |
允许VLAN 32的报文通过Device C连接Device A的接口HundredGigE1/0/1 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
undo stp enable |
关闭生成树功能,以加快拓扑变化时的收敛时间 |
quit |
- |
interface vlan-interface 32 |
创建VLAN接口32 |
ip address 32.1.1.2 24 |
配置VLAN接口的IPv4地址 |
ipv6 address 32::2 64 |
配置VLAN接口的IPv6地址 |
quit |
- |
vlan 33 |
创建VLAN 33 |
quit |
- |
interface HundredGigE 1/0/2 |
- |
port link-type trunk |
配置接口为Trunk端口 |
port trunk permit vlan 33 |
允许VLAN 33的报文通过Device C连接Device B的接口HundredGigE1/0/2 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
undo stp enable |
关闭生成树功能,以加快拓扑变化时的收敛时间 |
quit |
- |
interface vlan-interface 33 |
创建VLAN接口33 |
ip address 33.1.1.2 24 |
配置VLAN接口的IPv4地址 |
ipv6 address 33::2 64 |
配置VLAN接口的IPv6地址 |
quit |
- |
router id 5.5.5.5 |
配置Router ID |
ospf 1 |
配置OSPF,实现与DR设备间IPv4网络互通 |
stub-router include-stub on-startup 900 |
配置路由器发布的Router-LSA中,链路类型为3的Stub链路度量值将设置为最大值65535,以优化收敛速度 |
area 0 |
- |
quit |
- |
interface vlan-interface 32 |
- |
ospf 1 area 0 |
配置接口使能OSPF |
quit |
- |
interface vlan-interface 33 |
- |
ospf 1 area 0 |
配置接口使能OSPF |
quit |
- |
ospfv3 1 |
配置OSPFv3,实现与DR设备间IPv6网络互通 |
router id 5.5.5.5 |
配置Router ID |
stub-router max-metric on-startup 900 |
配置路由器发布的Type-1 LSA的链路度量值将设置为最大值65535,且在路由器重启期间路由器作为Stub路由器 |
area 0 |
- |
quit |
- |
interface vlan-interface 32 |
- |
ospfv3 1 area 0 |
配置接口使能OSPFv3 |
quit |
- |
interface vlan-interface 33 |
- |
ospfv3 1 area 0 |
配置接口使能OSPFv3 |
quit |
- |
Device C |
命令说明 |
vlan 22 |
创建VLAN 22 |
quit |
- |
interface HundredGigE 1/0/3 |
- |
port link-type trunk |
配置接口为Trunk端口 |
port trunk permit vlan 22 |
允许VLAN 22的报文通过Device C连接Network的接口HundredGigE1/0/3 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
undo stp enable |
关闭生成树功能,以加快拓扑变化时的收敛时间 |
quit |
- |
interface vlan-interface 22 |
创建VLAN接口22 |
ip address 22.1.1.1 24 |
配置VLAN接口的IPv4地址 |
ipv6 address 22::1 64 |
配置VLAN接口的IPv6地址 |
quit |
- |
配置Device D与DR设备建立OSPF、OSPFv3邻居
Device D |
命令说明 |
interface bridge-aggregation 3 |
创建二层聚合接口3 |
link-aggregation mode dynamic |
配置与DR设备互连的聚合接口工作在动态聚合模式 |
quit |
- |
interface range HundredGigE 1/0/1 to HundredGigE 1/0/4 |
进入Device D连接DR设备的物理端口视图 |
port link-aggregation group 3 |
加入聚合组 |
quit |
- |
vlan 100 |
创建VLAN 100 |
quit |
- |
interface bridge-aggregation 3 |
- |
port link-type trunk |
配置接口为Trunk端口 |
port trunk permit vlan 100 |
允许VLAN 100的报文通过 |
undo port trunk permit vlan 1 |
禁止VLAN 1的报文通过 |
quit |
- |
仅服务器和DR设备存在建立路由邻居的需求时需要配置此节,请根据实际需求选配。
Device D |
命令说明 |
router id 6.6.6.6 |
配置Router ID |
ospf 1 |
配置OSPF,实现与DR设备间IPv4网络互通 |
area 0 |
创建OSPF区域,并进入OSPF区域视图 |
quit |
- |
interface vlan-interface 100 |
- |
ip address 100.1.1.110 255.255.255.0 |
配置接口的IPv4地址 |
ipv6 address FE80::83 link-local |
配置接口IPv6链路本地地址 |
ipv6 address 100::110 64 |
配置接口Pv6地址 |
ospf 1 area 0.0.0.0 |
在vlan-interface 100上使能OSPF |
ospfv3 1 area 0.0.0.0 |
在vlan-interface 100上使能OSPFv3 |
quit |
- |
Underlay流量编号,U-4-101和U-6-101,U代表Underlay,4代表IPv4,6代表IPv6,101是序号;
类型:IPv4已知单播/IPv6已知单播
流量方向:南北
流量路径:Network-DeviceC-DeviceA&B-DeviceD-Server
仿真方式:测试仪器发包
流量大小:轻载(小于1000条流算轻载)
上墙/LB方式:不涉及
编号 |
类型 |
流量方向 |
流量路径 |
仿真方式 |
流量大小 |
上墙/LB方式 |
说明 |
U-4-101 |
IPv4已知单播 |
南北 |
Network-DeviceC-DeviceA&B-DeviceD-Server |
测试仪器 |
轻载 |
不涉及 |
|
U-6-101 |
IPv6已知单播 |
南北 |
Network-DeviceC-DeviceA&B-DeviceD-Server |
测试仪器 |
轻载 |
不涉及 |
|
表1-1 链路单点故障测试情况表
设备 |
故障类型 |
流量中断时间 |
DR |
DR成员链路单点故障 |
小于500ms |
DR成员链路单点故障恢复 |
小于500ms |
|
上行ECMP链路单点故障 |
小于500ms |
|
上行ECMP链路单点故障恢复 |
小于500ms |
|
IPL链路故障 |
小于500ms |
|
IPL链路故障恢复 |
小于500ms |
|
Keepalive链路故障 |
0ms |
|
Keepalive链路故障恢复 |
0ms |
|
Keepalive和IPL都故障 |
小于5000ms |
|
Keepalive和IPL都故障恢复 |
小于1000ms |
|
升级操作 |
小于500ms(传统方式,两台DR设备逐台升级) |
|
扩容操作 |
/ |
|
替换操作 |
盒式整机替换:小于500ms 框式: · 整机替换:小于1000ms · 网板替换:0ms · 业务板替换:小于500ms |
查看DeviceA和Device B之间DRNI系统状态,DRNI正常建立。以DeviceA为例:
# 显示分布式聚合系统的接口摘要信息。
[DeviceA] 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)
BAGG3 1 UP UP -
# 显示分布式聚合Keepalive报文的信息。
[DeviceA] display drni keepalive
Neighbor keepalive link status: Up
Neighbor is alive for: 64765 s 28 ms
Keepalive packet transmission status:
Sent: Successful
Received: Successful
Last received keepalive packet information:
Source IP address: 21.1.1.2
Time: 2021/01/17 17:10:52
Action: Accept
Distributed relay keepalive parameters:
Destination IP address: 21.1.1.2
Source IP address: 21.1.1.1
Keepalive UDP port : 6400
Keepalive VPN name : N/A
Keepalive interval : 1000 ms
Keepalive timeout : 5 sec
Keepalive hold time: 3 sec
# 显示分布式聚合系统信息。
[DeviceA] display drni system
System information
Local system number: 1 Peer system number: 2
Local system MAC: 0002-0002-0002 Peer system MAC: 0002-0002-0002
Local system priority: 123 Peer system priority: 123
Local bridge MAC: 3cd4-3ce1-0200 Peer bridge MAC: 3cd4-437d-0300
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 300 -
Consistency-check delay Disabled 150 -
Standalone delay Disabled - -
Role to None delay Disabled 60 -
# 显示分布式聚合系统的接口详细信息。
[DeviceA] 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/0/3 (27), HGE1/0/4 (32)
Peer Selected ports indexes: 125, 130
DR interface/DR group ID: BAGG3/1
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=0002-0002-0002, Effective=0002-0002-0002
Peer DR interface LACP MAC: Config=0002-0002-0002, Effective=0002-0002-0002
Local DR interface LACP priority: Config=123, Effective=123
Peer DR interface LACP priority: Config=123, Effective=123
Local DRCP flags/Peer DRCP flags: ABDFG/ABDFG
Local Selected ports (index): HGE1/0/1 (12), HGE1/0/2 (13)
Peer Selected ports indexes: 56, 57
# 查看Device A上OSPF邻居信息。
[DeviceA] display ospf peer
OSPF Process 1 with Router ID 3.3.3.3
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
4.4.4.4 101.1.1.2 1 36 Full/DR Vlan101
5.5.5.5 32.1.1.2 1 38 Full/DR Vlan32
6.6.6.6 100.1.1.110 1 36 Full/DR Vlan100
# 查看Device A上OSPFv3邻居信息。
[DeviceA] display ospfv3 peer
OSPFv3 Process 1 with Router ID 3.3.3.3
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time InstID Interface
4.4.4.4 1 Full/DR 00:00:36 0 Vlan101
5.5.5.5 1 Full/DR 00:00:35 0 Vlan32
6.6.6.6 1 Full/DR 00:00:35 0 Vlan100
# 查看Device B上OSPF邻居信息。
[DeviceB] display ospf peer
OSPF Process 1 with Router ID 4.4.4.4
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
3.3.3.3 101.1.1.1 1 32 Full/BDR Vlan101
5.5.5.5 33.1.1.2 1 33 Full/DR Vlan33
6.6.6.6 100.1.1.110 1 36 Full/DR Vlan100
# 查看Device B上OSPFv3邻居信息。
[DeviceB] display ospfv3 peer
OSPFv3 Process 1 with Router ID 4.4.4.4
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time InstID Interface
3.3.3.3 1 Full/BDR 00:00:35 0 Vlan101
5.5.5.5 1 Full/DR 00:00:38 0 Vlan33
6.6.6.6 1 Full/DR 00:00:36 0 Vlan100
# 在Device C上查看OSPF邻居信息。
[DeviceC] display ospf peer
OSPF Process 1 with Router ID 5.5.5.5
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
3.3.3.3 32.1.1.1 1 32 Full/DR Vlan32
4.4.4.4 33.1.1.1 1 38 Full/DR Vlan33
# 在Device C上查看OSPFv3邻居信息。
[DeviceC] display ospfv3 peer
OSPFv3 Process 1 with Router ID 5.5.5.5
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time InstID Interface
3.3.3.3 1 Full/DR 00:00:37 0 Vlan32
4.4.4.4 1 Full/DR 00:00:34 0 Vlan33
Server 1和Server 2可以与Network IPv4、IPv6互通。
断开Device A连接Device C的接口,Server 1和Server 2仍然可以与Network通信(流量切换过程中有短暂丢包)。
<DeviceA> display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
<DeviceB> display stp brief
MST ID Port Role STP State Protection
0 Bridge-Aggregation3 (DR) DESI FORWARDING NONE
[DeviceD]display ospf peer
OSPF Process 1 with Router ID 6.6.6.6
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
3.3.3.3 100.1.1.101 1 38 Full/DR Vlan100
4.4.4.4 100.1.1.102 1 33 Full/DROther Vlan100
[DeviceD]display ospfv3 peer
OSPFv3 Process 1 with Router ID 6.6.6.6
Area: 0.0.0.0
-------------------------------------------------------------------------
Router ID Pri State Dead-Time InstID Interface
3.3.3.3 1 Full/DROther 00:00:32 0 Vlan100
4.4.4.4 1 Full/BDR 00:00:34 0 Vlan100
升级前的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-2 升级前的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
单点故障时间正切小于500ms,回切小于150ms。具体参见“1.9 收敛时间测试”。
升级后的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-3 升级后的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
本文描述的扩容操作指新增一组Leaf设备。
扩容前的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-4 扩容前的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
(1) 新增设备断开网管
(2) 升级完成相应版本
(3) 做好预配置
(4) 接入网管
(5) 控制器进行纳管
扩容后的命令行检查,请参见下表中的命令行。
表1-5 扩容后的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
替换前的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-6 替换前的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
相关业务板上的业务及网管流量应先行切换到正常业务板上。
支持业务板热插拔或者整机断电替换,具体根据现场情况而定。
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
与替换前命令行检查相同。
替换前的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-7 替换前的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
支持网板热插拔或者整机断电替换,具体根据现场情况而定。
与替换前命令行检查相同。
替换前的命令行检查,请参见“1.10 验证配置”和以下表格中的命令行。
表1-8 替换前的命令行检查汇总表
DR 1 |
DR 2 |
命令说明 |
display device |
display device |
用来显示设备信息 |
display boot-loader |
display boot-loader |
用来显示本次启动和下次启动所采用的启动软件包的名称 |
display version |
display version |
用来显示系统版本信息 |
具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。
与替换前命令行检查相同。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!