• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C数据中心交换机DRNI配置指导书-6W104

13-DRNI+MVXLAN配置举例-6W103

本章节下载  (389.05 KB)

docurl=/cn/Service/Document_Software/Document_Center/Home/Switches/00-Public/Configure/Operation_Manual/H3C_DRNI-3143/202211/1714067_30005_0.htm

13-DRNI+MVXLAN配置举例-6W103


1 DRNI+MVXLAN(MDT模式)组网配置举例

1.1  组网需求

·     Switch A、Switch B、Switch C、Switch D、Switch E为与服务器连接的分布式EVPN网关,Switch A和Switch B通过DRNI虚拟为一台Leaf设备,Switch A和Switch B之间通过IPL同步MAC地址和ARP信息,以确保两台VTEP上的MAC地址和ARP信息保持一致。Switch C和Switch D通过DRNI虚拟为一台设备,作为Spine\Border\Leaf合一角色。Switch E为单台Leaf设备。本组网采用以太网聚合链路作为IPL。

·     Switch A和Switch B均通过以太网链路与下行的虚拟机VM 1、VM 2连接,要求在连接每一台虚拟机的链路间跨设备建立二层聚合接口,避免单条以太网链路故障导致虚拟机无法访问网络。Switch C和Switch D类似。

·     VM 1为组播源,VM 2、VM 3、VM 5和VM 6为私网内的组播接收者,VM 4为公网组播接收者,通过MVXLAN实现不同组播流量互通。

图1-1 DRNI+MVXLAN组网图

 

设备

接口

IP地址

SwitchA

LoopBack0

1.1.1.1/32

LoopBack1

1.2.3.4/32

LoopBack2

1.2.3.4/32

HundredGigE 1/0/25

11.1.1.2/24

HundredGigE 1/0/27

12.1.1.2/24

HundredGigE 1/0/30

21.0.0.1/24

Vsi-interface1

10.1.1.1/24

Vsi-interface2

10.1.2.1/24

SwitchB

LoopBack0

2.2.2.2/32

LoopBack1

1.2.3.4/32

LoopBack2

1.2.3.4/32

HundredGigE 2/0/25

13.1.1.2/24

HundredGigE 2/0/27

14.1.1.2/24

HundredGigE 2/0/30

21.0.0.2/24

Vsi-interface1

10.1.1.1/24

Vsi-interface2

10.1.2.1/24

SwitchC

LoopBack0

4.4.4.4/32

LoopBack1

5.6.7.8/32

LoopBack2

5.6.7.8/32

HundredGigE 1/0/25

11.1.1.1/24

HundredGigE 1/0/27

13.1.1.1/24

HundredGigE 1/0/30

15.1.1.1/24

HundredGigE 1/0/31

21.1.0.1

Vsi-interface1

10.1.1.1/24

Vsi-interface2

10.1.2.1/24

Vlan-interface100

100.1.1.3/24

SwitchD

LoopBack0

5.5.5.5/32

LoopBack1

5.6.7.8/32

LoopBack2

5.6.7.8/32

HundredGigE 1/0/25

12.1.1.1/24

HundredGigE 1/0/27

14.1.1.1/24

HundredGigE 1/0/30

16.1.1.1/24

HundredGigE 1/0/31

21.1.0.2

Vsi-interface1

10.1.1.1/24

Vsi-interface2

10.1.2.1/24

Vlan-interface100

100.1.1.4/24

SwitchE

LoopBack0

3.3.3.3/32

LoopBack1

3.3.3.3/32

HundredGigE 1/0/25

15.1.1.2/24

HundredGigE 1/0/26

16.1.1.2/24

Vsi-interface1

10.1.1.1/24

Vsi-interface2

10.1.2.1/24

 

1.2  适用设备及使用版本

说明

请在适用软件版本的基础上安装当前最新补丁。

 

设备

软件版本

S6805/S6825/S6850/S9850

F6632及以上的66xx版本

S12500G-AF

R7624P12版本

S6800/S6860/S6900

暂时无适合开局的版本

S12500X-AF/S12500F-AF/S6890/S9820-64H/S9820-8C

不支持

S6812/S6813

版本开发中,请联系技术支持获取最新版本信息

 

1.3  配置注意事项

·     同一级DRNI系统的两台设备要配置相同的DR系统MAC地址;不同级DRNI系统一定要配置不同的DR系统MAC地址,并保证全网唯一。

·     建议Spine设备使用动态路由协议连接外部网络。如果选用静态路由协议,重启Spine时可能出现断流(例如:IPP、Keepalive、DR接口所在业务板重启速度慢于其他业务板时),此时可以采用如下两种解决方案:

¡     方案一:各业务板都选择一个相同速率端口加入IPP聚合组,保证IPP总是被最先恢复。如果各业务板加入IPP聚合组的接口速率无法相同,需要IPP聚合口配置link-aggregation ignore speed,令不同速率的成员端口都能被选中。该方案可能会存在HASH拥塞、负载不均问题风险。

¡     方案二:在Spine设备上配置Monitor Link,将所有下行DR聚合成员口配置为Monitor Link的上行接口,将所有上行口配置为Monitor Link的下行接口,以确保Spine的上行口比DR聚合口先UP。该方案的可维护性较弱,每当组网中有DR组的增/删/改时,都需要对该Monitor Link组的上行接口进行配置更新。

·     目前,不支持单挂AC接入;不支持对组播流量进行负载分担;仅支持采用二层聚合链路做IPL。

·     目前,MVXLAN仅支持IPv4 Underlay网络和IPv4 Overerlay网络。

·     建议通过VXLAN ID映射方式生成IPL上动态AC的报文匹配规则。

·     不能允许公网接口的VLAN通过IPL口和DR口端口,否则会造成流量错误转发。

·     Leaf、Border和Spine角色合一时,设备上公网组播源到私网AC接入的接收者之间转发丢包,若存在此方向的流量,请不要将Leaf、Border和Spine角色合一。

1.4  配置接入设备

1.4.1  配置概览

·     配置接入设备Switch A和Switch B

·     配置接入设备Switch E

1.4.2  配置接入设备Switch A和Switch B

Switch A

Switch B

命令说明

ip vpn-instance vpn1

ip vpn-instance vpn1

创建VPN

route-distinguisher 1:1

route-distinguisher 1:1

配置VPN实例的RD(Route Distinguisher,路由标识)

address-family ipv4

address-family ipv4

进入VPN实例IPv4地址族视图

vpn-target 2:2

vpn-target 2:2

配置VPN实例的Route Target

quit

quit

-

address-family evpn

address-family evpn

进入VPN实例EVPN视图

vpn-target 1:1

vpn-target 1:1

配置VPN实例的Route Target

quit

quit

-

quit

quit

-

ospf 1 router-id 1.1.1.1

ospf 1 router-id 2.2.2.2

启动OSPF,并进入OSPF视图

stub-router include-stub on-startup 900

stub-router include-stub on-startup 900

为优化收敛效果,配置设备在重启期间,路由器作为Stub路由器,超时时间为900秒

area 0.0.0.0

area 0.0.0.0

创建OSPF区域

quit

quit

-

quit

quit

-

interface LoopBack0

interface LoopBack0

创建LoopBack接口

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface LoopBack1

interface LoopBack1

创建LoopBack接口

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface LoopBack2

interface LoopBack2

创建LoopBack接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

绑定VPN实例

pim sm

pim sm

使能PIM-SM

interface HundredGigE1/0/25

interface HundredGigE2/0/25

进入端口视图

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface HundredGigE1/0/27

interface HundredGigE1/0/27

进入端口视图

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface HundredGigE1/0/30

interface HundredGigE2/0/30

进入端口视图

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

l2vpn enable

l2vpn enable

开启L2VPN功能

vxlan tunnel mac-learning disable

vxlan tunnel mac-learning disable

关闭远端MAC地址自动学习功能

vxlan tunnel arp-learning disable

vxlan tunnel arp-learning disable

关闭远端ARP自动学习功能

evpn global-mac 0001-0002-0003

evpn global-mac 0001-0002-0003

配置EVPN的全局MAC地址

vsi vpn1

vsi vpn1

创建一个VSI,并进入VSI视图

flooding disable unknown-unicast unknown-multicast

flooding disable unknown-unicast unknown-multicast

关闭VSI的泛洪功能

vxlan 10

vxlan 10

创建VXLAN,并进入VXLAN视图

quit

quit

-

evpn encapsulation vxlan

evpn encapsulation vxlan

创建EVPN实例

route-distinguisher auto

route-distinguisher auto

配置RD

vpn-target auto

vpn-target auto

配置RT

quit

quit

-

quit

quit

-

vsi vpn2

vsi vpn2

创建一个VSI,并进入VSI视图

flooding disable unknown-unicast unknown-multicast

flooding disable unknown-unicast unknown-multicast

关闭VSI的泛洪功能

vxlan 20

vxlan 20

创建VXLAN,并进入VXLAN视图

quit

quit

-

evpn encapsulation vxlan

evpn encapsulation vxlan

创建EVPN实例

route-distinguisher auto

route-distinguisher auto

配置RD

vpn-target auto

vpn-target auto

配置RT

quit

quit

-

quit

quit

-

interface Vsi-interface1

interface Vsi-interface1

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

mac-address 0001-0001-0001

mac-address 0001-0001-0001

配置MAC地址

local-proxy-arp enable

local-proxy-arp enable

开启本地代理ARP功能

distributed-gateway local

distributed-gateway local

配置VSI虚接口为分布式网关接口

pim distributed-dr

pim distributed-dr

配置接口为分布式DR接口

igmp enable

igmp enable

在接口上使能IGMP

pim sm

pim sm

使能PIM-SM

quit

quit

-

interface Vsi-interface2

interface Vsi-interface2

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

mac-address 0002-0002-0002

mac-address 0002-0002-0002

配置MAC地址

local-proxy-arp enable

local-proxy-arp enable

开启本地代理ARP功能

distributed-gateway local

distributed-gateway local

配置VSI虚接口为分布式网关接口

pim distributed-dr

pim distributed-dr

配置接口为分布式DR接口

igmp enable

igmp enable

在接口上使能IGMP

pim sm

pim sm

使能PIM-SM

quit

quit

-

interface Vsi-interface3

interface Vsi-interface3

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

pim sm

pim sm

使能PIM-SM

l3-vni 1000

l3-vni 1000

配置L3VNI

quit

quit

-

vsi vpn1

vsi vpn1

进入VSI视图

gateway vsi-interface 1

gateway vsi-interface 1

绑定VSI虚接口

quit

quit

-

vsi vpn2

vsi vpn2

进入VSI视图

gateway vsi-interface 2

gateway vsi-interface 2

绑定VSI虚接口

quit

quit

-

l2vpn drni peer-link ac-match-rule vxlan-mapping

l2vpn drni peer-link ac-match-rule vxlan-mapping

配置通过VXLAN ID映射方式生成IPL上动态AC的报文匹配规则

evpn drni group 1.2.3.4

evpn drni group 1.2.3.4

开启EVPN的分布式聚合模式

evpn drni local 1.1.1.1 remote 2.2.2.2

evpn drni local 2.2.2.2 remote 1.1.1.1

配置组成DR系统的本地IP地址和远端IP地址

drni restore-delay 300

drni restore-delay 300

配置延迟恢复时间为60秒

drni system-mac 0021-0021-0021

drni system-mac 0021-0021-0021

配置DR系统MAC地址

drni system-number 1

drni system-number 2

配置DR系统编号

drni system-priority 21

drni system-priority 21

配置DR系统优先级

drni standalone enable

drni standalone enable

开启DR设备独立工作功能

drni keepalive ip destination 21.0.0.2 source 21.0.0.1

drni keepalive ip destination 21.0.0.1 source 21.0.0.2

配置分布式聚合Keepalive报文的参数

interface Bridge-Aggregation1

interface Bridge-Aggregation1

创建聚合接口

link-aggregation mode dynamic

link-aggregation mode dynamic

配置聚合组工作在动态聚合模式下,同时开启LACP协议

quit

quit

-

interface HundredGigE1/0/29

interface HundredGigE2/0/29

进入接口视图

port link-aggregation group 1

port link-aggregation group 1

将接口加入聚合组

quit

quit

-

interface Bridge-Aggregation1

interface Bridge-Aggregation1

进入聚合接口视图

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地址表项匹配检查功能

避免跨IPL三层转发的流量不通的问题

quit

quit

-

interface Bridge-Aggregation2

interface Bridge-Aggregation2

进入聚合接口视图

link-aggregation mode dynamic

link-aggregation mode dynamic

配置聚合组工作在动态聚合模式下,同时开启LACP协议

port trunk pvid vlan 4040

port trunk pvid vlan 4040

配置Trunk端口的缺省VLAN

quit

quit

-

interface HundredGigE1/0/26

interface HundredGigE2/0/26

进入接口视图

port link-aggregation group 2

port link-aggregation group 2

将接口加入聚合组

quit

quit

-

interface Bridge-Aggregation2

interface Bridge-Aggregation2

进入聚合接口视图

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 2 to 3

port trunk permit vlan 2 to 3

配置允许VLAN 2、3通过该Trunk端口

port drni group 2

port drni group 2

配置聚合接口加入分布式聚合组

quit

quit

-

drni mad exclude interface HundredGigE1/0/25

drni mad exclude interface HundredGigE2/0/25

配置保留接口

drni mad exclude interface HundredGigE1/0/27

drni mad exclude interface HundredGigE2/0/27

配置保留接口

drni mad exclude interface HundredGigE1/0/30

drni mad exclude interface HundredGigE2/0/30

配置保留接口

drni mad exclude interface LoopBack0

drni mad exclude interface LoopBack0

配置保留接口

drni mad exclude interface LoopBack1

drni mad exclude interface LoopBack1

配置保留接口

drni mad exclude interface LoopBack2

drni mad exclude interface LoopBack2

配置保留接口

drni mad exclude interface Vsi-interface1

drni mad exclude interface Vsi-interface1

配置保留接口

drni mad exclude interface Vsi-interface2

drni mad exclude interface Vsi-interface2

配置保留接口

drni mad exclude interface Vsi-interface3

drni mad exclude interface Vsi-interface3

配置保留接口

bgp 100

bgp 100

创建BGP进程

router-id 1.1.1.1

router-id 2.2.2.2

为指定的BGP实例配置BGP路由器的Router ID

peer 4.4.4.4 as-number 100

peer 4.4.4.4 as-number 100

指定对等体组的AS号

peer 4.4.4.4 connect-interface LoopBack0

peer 4.4.4.4 connect-interface LoopBack0

指定与对等体/对等体组创建BGP会话时建立TCP连接使用的源接口

peer 5.5.5.5 as-number 100

peer 5.5.5.5 as-number 100

指定对等体组的AS号

peer 5.5.5.5 connect-interface LoopBack0

peer 5.5.5.5 connect-interface LoopBack0

指定与对等体/对等体组创建BGP会话时建立TCP连接使用的源接口

address-family l2vpn evpn

address-family l2vpn evpn

进入EVPN地址簇

peer 4.4.4.4 enable

peer 4.4.4.4 enable

允许本地路由器与指定对等体/对等体组交换路由信息

peer 5.5.5.5 enable

peer 5.5.5.5 enable

允许本地路由器与指定对等体/对等体组交换路由信息

quit

quit

-

quit

quit

-

interface Bridge-Aggregation2

interface Bridge-Aggregation2

进入聚合接口视图

service-instance 1000

service-instance 1000

创建以太网服务实例

encapsulation s-vid 2

encapsulation s-vid 2

配置以太网服务实例的报文匹配规则

xconnect vsi vpn1

xconnect vsi vpn1

将AC与VSI关联

service-instance 1001

service-instance 1001

创建以太网服务实例

encapsulation s-vid 3

encapsulation s-vid 3

配置以太网服务实例的报文匹配规则

xconnect vsi vpn2

xconnect vsi vpn2

将AC与VSI关联

quit

quit

-

quit

quit

-

igmp-snooping

igmp-snooping

开启设备的IGMP Snooping特性,并进入IGMP-Snooping视图

quit

quit

-

vsi vpn1

vsi vpn1

进入VSI视图

igmp-snooping enable

igmp-snooping enable

使能VSI内的IGMP Snooping

pim-snooping enable

pim-snooping enable

使能VSI内的PIM Snooping

igmp-snooping proxy enable

igmp-snooping proxy enable

在VSI内开启IGMP Snooping Proxy功能

quit

quit

-

vsi vpn2

vsi vpn2

进入VSI视图

igmp-snooping enable

igmp-snooping enable

使能VSI内的IGMP Snooping

pim-snooping enable

pim-snooping enable

使能VSI内的PIM Snooping

igmp-snooping proxy enable

igmp-snooping proxy enable

在VSI内开启IGMP Snooping Proxy功能

quit

quit

-

multicast-vpn vxlan vpn-instance vpn1 mode mdt

multicast-vpn vxlan vpn-instance vpn1 mode mdt

创建MDT模式的MVXLAN

address-family ipv4

address-family ipv4

进入IPv4地址簇

source LoopBack1 evpn-drni-group

source LoopBack1 evpn-drni-group

指定DR设备的虚拟地址为源接口的地址

default-group 239.0.0.1

default-group 239.0.0.1

配置Default-Group

data-group 239.0.1.0 255.255.255.128

data-group 239.0.1.0 255.255.255.128

配置Data-Group的范围

drni local 1.1.1.1 remote 2.2.2.2

drni local 2.2.2.2 remote 1.1.1.1

配置组成DR系统的本地IP地址和远端IP地址

quit

quit

-

quit

quit

-

multicast routing

multicast routing

使能公网IP组播路由

quit

quit

-

multicast routing vpn-instance vpn1

multicast routing vpn-instance vpn1

使能私网IP组播路由

quit

quit

-

pim

pim

使能公网PIM

c-bsr 1.1.1.1

c-bsr 2.2.2.2

配置C-BSR

c-rp 1.1.1.1

c-rp 2.2.2.2

配置C-RP

quit

quit

-

pim vpn-instance vpn1

pim vpn-instance vpn1

使能私网PIM

c-bsr 1.2.3.4

c-bsr 1.2.3.4

配置C-BSR

c-rp 1.2.3.4

c-rp 1.2.3.4

配置C-RP

 

1.4.3  配置接入设备Switch E

Switch E上除了DRNI特性外的配置均与Switch A、Switch B配置类似,请参考组网需求中的表格和Switch A、Switch B配置完成Switch E配置中。

Switch E

命令说明

multicast-vpn vxlan vpn-instance vpn1 mode mdt

创建MDT模式的MVXLAN

address-family ipv4

进入IPv4地址簇

source LoopBack0

指定DR设备的虚拟地址为源接口的地址

default-group 239.0.0.1

配置Default-Group

data-group 239.0.1.0 255.255.255.128

配置Data-Group的范围

quit

-

quit

-

multicast routing

使能公网IP组播路由

quit

-

multicast routing vpn-instance vpn1

使能私网IP组播路由

quit

-

pim

使能公网PIM

c-bsr 3.3.3.3

配置C-BSR

c-rp 3.3.3.3

配置C-RP

quit

-

pim vpn-instance vpn1

使能私网PIM

c-bsr 3.3.3.3

配置C-BSR

c-rp 3.3.3.3

配置C-RP

 

1.5  配置核心设备

Switch C

Switch D

命令说明

ip vpn-instance external_vpn

ip vpn-instance external_vpn

创建VPN

route-distinguisher 1:100

route-distinguisher 1:100

配置RD

address-family ipv4

address-family ipv4

进入VPN实例IPv4地址族视图

vpn-target 100:100 2:2

vpn-target 100:100 2:2

配置RT

quit

quit

-

quit

quit

-

ip vpn-instance vpn1

ip vpn-instance vpn1

创建VPN

route-distinguisher 1:1

route-distinguisher 1:1

配置RD

address-family ipv4

address-family ipv4

进入VPN实例IPv4地址族视图

vpn-target 2:2 1:2

vpn-target 2:2 1:2

配置RT

address-family evpn

address-family evpn

进入VPN实例EVPN视图

vpn-target 1:1

vpn-target 1:1

配置RT

quit

quit

-

quit

quit

-

ospf 1 router-id 4.4.4.4

ospf 1 router-id 5.5.5.5

启动OSPF,并进入OSPF视图

stub-router include-stub on-startup 900

stub-router include-stub on-startup 900

为优化收敛效果,配置设备在重启期间,路由器作为Stub路由器,超时时间为900秒

area 0.0.0.0

area 0.0.0.0

创建OSPF区域

quit

quit

-

quit

quit

-

ospf 2 vpn-instance external_vpn

ospf 2 vpn-instance external_vpn

启动OSPF,并进入OSPF视图

stub-router include-stub on-startup 900

stub-router include-stub on-startup 900

为优化收敛效果,配置设备在重启期间,路由器作为Stub路由器,超时时间为900秒

area 0.0.0.0

area 0.0.0.0

创建OSPF区域

quit

quit

-

quit

quit

-

interface HundredGigE1/0/25

interface HundredGigE1/0/25

进入端口视图

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface HundredGigE1/0/27

interface HundredGigE1/0/27

进入端口视图

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface HundredGigE1/0/30

interface HundredGigE1/0/30

进入端口视图

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface LoopBack0

interface LoopBack0

创建LoopBack接口

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface LoopBack1

interface LoopBack1

创建LoopBack接口

pim sm

pim sm

使能PIM-SM

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

quit

quit

-

interface LoopBack2

interface LoopBack2

创建LoopBack接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

绑定VPN实例

pim sm

pim sm

使能PIM-SM

quit

quit

-

l2vpn enable

l2vpn enable

开启L2VPN功能

vxlan tunnel mac-learning disable

vxlan tunnel mac-learning disable

关闭远端MAC地址自动学习功能

vxlan tunnel arp-learning disable

vxlan tunnel arp-learning disable

关闭远端ARP自动学习功能

evpn global-mac 0001-0002-0004

evpn global-mac 0001-0002-0004

配置EVPN的全局MAC地址

vsi vpn1

vsi vpn1

创建一个VSI,并进入VSI视图

flooding disable unknown-unicast unknown-multicast

flooding disable unknown-unicast unknown-multicast

关闭VSI的泛洪功能

vxlan 10

vxlan 10

创建VXLAN,并进入VXLAN视图

quit

quit

-

evpn encapsulation vxlan

evpn encapsulation vxlan

创建EVPN实例

route-distinguisher auto

route-distinguisher auto

配置RD

vpn-target auto

vpn-target auto

配置RT

quit

quit

-

quit

quit

-

vsi vpn2

vsi vpn2

创建一个VSI,并进入VSI视图

flooding disable unknown-unicast unknown-multicast

flooding disable unknown-unicast unknown-multicast

关闭VSI的泛洪功能

vxlan 20

vxlan 20

创建VXLAN,并进入VXLAN视图

quit

quit

-

evpn encapsulation vxlan

evpn encapsulation vxlan

创建EVPN实例

route-distinguisher auto

route-distinguisher auto

配置RD

vpn-target auto

vpn-target auto

配置RT

quit

quit

-

quit

quit

-

interface Vsi-interface1

interface Vsi-interface1

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

mac-address 0001-0001-0001

mac-address 0001-0001-0001

配置MAC地址

local-proxy-arp enable

local-proxy-arp enable

开启本地代理ARP功能

distributed-gateway local

distributed-gateway local

配置VSI虚接口为分布式网关接口

pim distributed-dr

pim distributed-dr

配置接口为分布式DR接口

igmp enable

igmp enable

在接口上使能IGMP

pim sm

pim sm

使能PIM-SM

quit

quit

-

interface Vsi-interface2

interface Vsi-interface2

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

mac-address 0002-0002-0002

mac-address 0002-0002-0002

配置MAC地址

local-proxy-arp enable

local-proxy-arp enable

开启本地代理ARP功能

distributed-gateway local

distributed-gateway local

配置VSI虚接口为分布式网关接口

pim distributed-dr

pim distributed-dr

配置接口为分布式DR接口

igmp enable

igmp enable

在接口上使能IGMP

pim sm

pim sm

使能PIM-SM

quit

quit

-

interface Vsi-interface3

interface Vsi-interface3

创建VSI虚接口

ip binding vpn-instance vpn1

ip binding vpn-instance vpn1

配置接口与指定VPN实例关联

pim sm

pim sm

使能PIM-SM

l3-vni 1000

l3-vni 1000

配置L3VNI

quit

quit

-

interface Vsi-interface4

interface Vsi-interface4

创建VSI虚接口

ip binding vpn-instance external_vpn

ip binding vpn-instance external_vpn

配置接口与指定VPN实例关联

pim sm

pim sm

使能PIM-SM

l3-vni 2000

l3-vni 2000

配置L3VNI

quit

quit

-

vsi vpn1

vsi vpn1

进入VSI视图

gateway vsi-interface 1

gateway vsi-interface 1

绑定VSI虚接口

quit

quit

-

vsi vpn2

vsi vpn2

进入VSI视图

gateway vsi-interface 2

gateway vsi-interface 2

绑定VSI虚接口

quit

quit

-

l2vpn drni peer-link ac-match-rule vxlan-mapping

l2vpn drni peer-link ac-match-rule vxlan-mapping

配置通过VXLAN ID映射方式生成IPL上动态AC的报文匹配规则

evpn drni group 5.6.7.8

evpn drni group 5.6.7.8

开启EVPN的分布式聚合模式

evpn drni local 4.4.4.4 remote 5.5.5.5

evpn drni local 5.5.5.5 remote 4.4.4.4

配置组成DR系统的本地IP地址和远端IP地址

drni restore-delay 300

drni restore-delay 300

配置延迟恢复时间为60秒

drni system-mac 0022-0022-0022

drni system-mac 0022-0022-0022

配置DR系统MAC地址

drni system-number 1

drni system-number 2

配置DR系统编号

drni system-priority 22

drni system-priority 22

配置DR系统优先级

drni standalone enable

drni standalone enable

开启DR设备独立工作功能

drni keepalive ip destination 21.1.0.2 source 21.1.0.1

drni keepalive ip destination 21.1.0.1 source 21.1.0.2

配置分布式聚合Keepalive报文的参数

interface Bridge-Aggregation1

interface Bridge-Aggregation1

创建聚合接口

link-aggregation mode dynamic

link-aggregation mode dynamic

配置聚合组工作在动态聚合模式下,同时开启LACP协议

quit

quit

-

interface HundredGigE1/0/32

interface HundredGigE1/0/32

进入接口视图

port link-aggregation group 1

port link-aggregation group 1

将接口加入聚合组

quit

quit

-

interface Bridge-Aggregation1

interface Bridge-Aggregation1

进入聚合接口视图

port drni intra-portal-port 1

port drni intra-portal-port 1

配置二层聚合接口为IPP口

port trunk pvid vlan 4050

port trunk pvid vlan 4050

配置Trunk端口的缺省VLAN

undo mac-address static source-check enable

undo mac-address static source-check enable

开启报文入接口与静态MAC地址表项匹配检查功能

避免跨IPL三层转发的流量不通的问题

quit

quit

-

interface Bridge-Aggregation2

interface Bridge-Aggregation2

进入聚合接口视图

link-aggregation mode dynamic

link-aggregation mode dynamic

配置聚合组工作在动态聚合模式下,同时开启LACP协议

quit

quit

-

interface HundredGigE1/0/26

interface HundredGigE2/0/26

进入接口视图

port link-aggregation group 2

port link-aggregation group 2

将接口加入聚合组

quit

quit

-

vlan 2 to 3 100

vlan 2 to 3 100

创建VLAN 2、3和100

quit

quit

-

interface Bridge-Aggregation2

interface Bridge-Aggregation2

进入聚合接口视图

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 2 to 3

port trunk permit vlan 2 to 3

配置允许VLAN 2、3通过该Trunk端口

port drni group 2

port drni group 2

配置聚合接口加入分布式聚合组

service-instance 1000

service-instance 1000

创建以太网服务实例

encapsulation s-vid 2

encapsulation s-vid 2

配置以太网服务实例的报文匹配规则

xconnect vsi vpn1

xconnect vsi vpn1

将AC与VSI关联

service-instance 1001

service-instance 1001

创建以太网服务实例

encapsulation s-vid 3

encapsulation s-vid 3

配置以太网服务实例的报文匹配规则

xconnect vsi vpn2

xconnect vsi vpn2

将AC与VSI关联

quit

quit

-

quit

quit

-

interface Bridge-Aggregation100

interface Bridge-Aggregation100

进入聚合接口视图

link-aggregation mode dynamic

link-aggregation mode dynamic

配置聚合组工作在动态聚合模式下,同时开启LACP协议

quit

quit

-

interface HundredGigE1/0/29

interface HundredGigE2/0/29

进入接口视图

port link-aggregation group 100

port link-aggregation group 100

将接口加入聚合组

quit

quit

-

interface Bridge-Aggregation100

interface Bridge-Aggregation100

进入聚合接口视图

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 100

port trunk permit vlan 100

配置允许VLAN 100通过该Trunk端口

port drni group 100

port drni group 100

配置聚合接口加入分布式聚合组

quit

quit

-

interface HundredGigE1/0/31

interface HundredGigE1/0/31

进入接口视图

ospf 1 area 0.0.0.0

ospf 1 area 0.0.0.0

在接口上使能OSPF

pim sm

pim sm

使能PIM-SM

quit

quit

-

drni mad exclude interface HundredGigE1/0/25

drni mad exclude interface HundredGigE1/0/25

配置保留接口

drni mad exclude interface HundredGigE1/0/27

drni mad exclude interface HundredGigE1/0/27

配置保留接口

drni mad exclude interface HundredGigE1/0/28

drni mad exclude interface HundredGigE1/0/28

配置保留接口

drni mad exclude interface HundredGigE1/0/31

drni mad exclude interface HundredGigE1/0/31

配置保留接口

drni mad exclude interface LoopBack0

drni mad exclude interface LoopBack0

配置保留接口

drni mad exclude interface Vlan-interface100

drni mad exclude interface Vlan-interface100

配置保留接口

drni mad exclude interface Vsi-interface1

drni mad exclude interface Vsi-interface1

配置保留接口

drni mad exclude interface Vsi-interface2

drni mad exclude interface Vsi-interface2

配置保留接口

drni mad exclude interface Vsi-interface3

drni mad exclude interface Vsi-interface3

配置保留接口

drni mad exclude interface Vsi-interface4

drni mad exclude interface Vsi-interface4

配置保留接口

bgp 100

bgp 100

创建BGP进程

router-id 4.4.4.4

router-id 5.5.5.5

为指定的BGP实例配置BGP路由器的Router ID

group e internal

group e internal

创建一个对等体组

peer e connect-interface LoopBack0

peer e connect-interface LoopBack0

指定与对等体/对等体组创建BGP会话时建立TCP连接使用的源接口

peer 1.1.1.1 group e

peer 1.1.1.1 group e

向对等体组中添加指定的对等体

peer 2.2.2.2 group e

peer 2.2.2.2 group e

向对等体组中添加指定的对等体

peer 3.3.3.3 group e

peer 3.3.3.3 group e

向对等体组中添加指定的对等体

address-family l2vpn evpn

address-family l2vpn evpn

进入EVPN地址簇

undo policy vpn-target

undo policy vpn-target

关闭BGP MVPN路由的VPN-Target过滤功能

peer e enable

peer e enable

允许本地路由器与指定对等体/对等体组交换路由信息

peer e next-hop-local

peer e next-hop-local

配置向对等体/对等体组发布路由时,将下一跳属性修改为自身的地址

peer e reflect-client

peer e reflect-client

配置本机作为路由反射器

quit

quit

-

quit

quit

-

igmp-snooping

igmp-snooping

开启设备的IGMP Snooping特性,并进入IGMP-Snooping视图

quit

quit

-

vlan 100

vlan 100

创建VLAN

igmp-snooping enable

igmp-snooping enable

使能VLAN内的IGMP Snooping

pim-snooping enable

pim-snooping enable

使能VLAN内的PIM Snooping

igmp-snooping triggered-query enable port-down port-up

igmp-snooping triggered-query enable port-down port-up

配置设备在端口链路状态发生变化时立刻发送IGMP普遍组查询报文,以及时更新组播转发表项

quit

quit

-

interface Vlan-interface100

interface Vlan-interface100

创建VLAN接口

ip binding vpn-instance external_vpn

ip binding vpn-instance external_vpn

配置接口与VPN实例关联

pim sm

pim sm

使能PIM-SM

pim distributed-dr

pim distributed-dr

配置接口为分布式DR接口

pim triggered-hello enable port-down port-up

pim triggered-hello enable port-down port-up

配置设备在端口链路状态发生变化时立刻发送Generation ID变化的Hello报文,以及时更新组播转发表项

igmp enable

igmp enable

在接口上使能IGMP

quit

quit

-

multicast-vpn vxlan vpn-instance external_vpn mode mdt

multicast-vpn vxlan vpn-instance external_vpn mode mdt

创建MDT模式的MVXLAN

address-family ipv4

address-family ipv4

进入IPv4地址簇

source LoopBack1 evpn-drni-group

source LoopBack1 evpn-drni-group

指定DR设备的虚拟地址为源接口的地址

default-group 239.0.2.0

default-group 239.0.2.0

配置Default-Group

data-group 239.0.3.0 255.255.255.128

data-group 239.0.3.0 255.255.255.128

配置Data-Group的范围

drni local 4.4.4.4 remote 5.5.5.5

drni local 5.5.5.5 remote 4.4.4.4

配置组成DR系统的本地IP地址和远端IP地址

quit

quit

-

quit

quit

-

multicast-vpn vxlan vpn-instance vpn1 mode mdt

multicast-vpn vxlan vpn-instance vpn1 mode mdt

创建MDT模式的MVXLAN

address-family ipv4

address-family ipv4

进入IPv4地址簇

source LoopBack1 evpn-drni-group

source LoopBack1 evpn-drni-group

指定DR设备的虚拟地址为源接口的地址

default-group 239.0.0.1

default-group 239.0.0.1

配置Default-Group

data-group 239.0.1.0 255.255.255.128

data-group 239.0.1.0 255.255.255.128

配置Data-Group的范围

drni local 4.4.4.4 remote 5.5.5.5

drni local 5.5.5.5 remote 4.4.4.4

配置组成DR系统的本地IP地址和远端IP地址

quit

quit

-

quit

quit

-

multicast routing

multicast routing

使能公网IP组播路由

quit

quit

-

multicast routing vpn-instance external_vpn

multicast routing vpn-instance external_vpn

使能私网IP组播路由

multicast extranet select-rpf l3-vni 1000 group 226.0.0.0 8

multicast extranet select-rpf l3-vni 1000 group 226.0.0.0 8

配置跨VPN的IPv4组播路由的RPF选路策略

quit

quit

-

multicast routing vpn-instance vpn1

multicast routing vpn-instance vpn1

使能私网IP组播路由

quit

quit

-

pim

pim

使能公网PIM

c-bsr 4.4.4.4

c-bsr 5.5.5.5

配置C-BSR

c-rp 4.4.4.4

c-rp 5.5.5.5

配置C-RP

quit

quit

-

pim vpn-instance external_vpn

pim vpn-instance external_vpn

使能私网PIM

c-bsr 4.4.4.4

c-bsr 5.5.5.5

配置C-BSR

c-rp 4.4.4.4

c-rp 5.5.5.5

配置C-RP

quit

quit

-

quit

quit

-

pim vpn-instance vpn1

pim vpn-instance vpn1

使能私网PIM

c-bsr 5.6.7.8

c-bsr 5.6.7.8

配置C-BSR

c-rp 5.6.7.8

c-rp 5.6.7.8

配置C-RP

 

1.6  流量模型

1.6.1  流量模型概述

流量模型描述表格主要包含以下信息:

·     编号:即流量编号,格式为O-X-XXX。其中,O表示Overrlay流量;X表示协议号,取值包括4(IPv4)和6(IPv6);XXX表示流量序号,从001开始。

·     类型:即流量类型,取值为IPV4组播。

·     流量方向:即流量的发送方向,取值包括Leaf到Border、跨Leaf东西、Border到Leaf等。

·     流量路径:即流量经过的每个节点。

·     仿真方式:进行本组网测试时,采用的流量仿真方式,一般为测试仪仿真,即采用测试仪模拟服务器发送流量。

·     流量大小:取值包括轻载(仿真流量小于1000条流)和重载(仿真流量大于1000条流)。

·     上墙/LB方式:本组网中无防火墙和LB设备,不涉及上墙和LB方式。

1.6.2  Overlay流量

编号

类型

流量方向

流量路径

仿真方式

流量大小

上墙/LB方式

O-4-001

IPV4组播

跨Leaf东西

Server 1-Switch A&Switch B-Switch E-Server 5

bond4+测试仪

轻载

不涉及

O-4-002

IPV4组播

Leaf到Border

Server 1-Switch A&Switch B-Switch C&Switch D-Server 4

bond4+测试仪

轻载

不涉及

 

1.7  收敛时间测试

1.7.1  单点故障测试

表1-1 链路单点故障测试情况表

设备

故障类型

流量中断时间

故障类型

流量中断时间

Leaf

上行ECMP链路单点故障

不超过500ms

上行ECMP链路单点故障恢复

0ms

DR成员链路单点故障

不超过500ms

DR成员链路单点故障恢复

不超过150ms

IPL链路故障

不超过3000ms

IPL链路故障恢复

不超过4000ms

Keepalive链路故障

0ms

Keepalive链路故障恢复

0ms

Keepalive和IPL都故障

不超过5000ms

Keepalive和IPL都故障恢复

不超过8000ms

升级操作

不超过3000ms

 

 

扩容操作

0ms

 

 

替换操作

不超过3000ms

 

 

Border

上行ECMP链路单点故障

不超过500ms

上行ECMP链路单点故障恢复

0ms

DR成员链路单点故障

不超过500ms

DR成员链路单点故障恢复

不超过150ms

IPL链路故障

不超过3000ms

IPL链路故障恢复

不超过4000ms

Keepalive链路故障

0ms

Keepalive链路故障恢复

0ms

Keepalive和IPL都故障

正切时间秒级,流量能够恢复

Keepalive和IPL都故障恢复

回切时间秒级,流量能够正常回切

升级操作

不超过3000ms

 

 

扩容操作

0ms

 

 

替换操作

不超过3000ms

 

 

 

1.8  配置验证命令行

1.8.1  配置验证命令汇总表

Switch D

Switch E

命令说明

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group receive [ brief | [ active | group group-address | sender source-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] * ]

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group receive [ brief | [ active | group group-address | sender source-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] * ]

显示MVXLAN接收报文中的Data-Group信息

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group send [ group group-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] *

display multicast-vpn vxlan { vpn-instance instance-name | public-instance } data-group send [ group group-address | vpn-source-address [ mask { mask-length | mask } ] | vpn-group-address [ mask { mask-length | mask } ] ] *

显示MVXLAN发送报文中的Data-Group信息

display multicast-vpn vxlan [ vpn-instance instance-name | public-instance ] default-group { local | remote }

display multicast-vpn vxlan [ vpn-instance instance-name | public-instance ] default-group { local | remote }

显示MVXLAN报文的Default-Group的信息

 

1.8.2  验证配置详细信息

# 查看SwitchA上的选择性组播以太网标签路由信息。

<SwitchA> display bgp l2vpn evpn route-type smet

 

 BGP local router ID is 1.1.1.1

 Status codes: * - valid, > - best, d - dampened, h - history

               s - suppressed, S - stale, i - internal, e - external

               a - additional-path

       Origin: i - IGP, e - EGP, ? - incomplete

 

 Total number of routes from all PEs: 3200

 

 Route distinguisher: 1:1(vpn1)

 Total number of routes: 2600

 

     Network            NextHop         MED        LocPrf     PrefVal Path/Ogn

 

* >i [6][0][0][0.0.0.0][32][225.0.0.1][32][4.4.4.4]/128

                        4.4.4.4         0          100        0

     Path/Ogn: i

* >i [6][0][0][0.0.0.0][32][225.0.0.1][32][5.5.5.5]/128

                        5.5.5.5         0          100        0

     Path/Ogn: i

* >i [6][0][0][0.0.0.0][32][225.0.0.2][32][4.4.4.4]/128

                        4.4.4.4         0          100        0

     Path/Ogn: i

# 查看SwitchA上的选择性组播业务接口路由信息。

<SwitchA> display bgp l2vpn evpn route-type s-pmsi

 

 BGP local router ID is 1.1.1.1

 Status codes: * - valid, > - best, d - dampened, h - history

               s - suppressed, S - stale, i - internal, e - external

               a - additional-path

       Origin: i - IGP, e - EGP, ? - incomplete

                                                    

 Total number of routes from all PEs: 1010

                                                     

 Route distinguisher: 1:1(vpn1)

 Total number of routes: 1507

                                                    

     Network            NextHop         MED        LocPrf     PrefVal Path/Ogn

                                                     

* >  [10][0][0][0.0.0.0][0][0.0.0.0][32][1.1.1.1]/96

                        0.0.0.0         0          100        32768  

     Path/Ogn: i

* >i [10][0][0][0.0.0.0][0][0.0.0.0][32][2.2.2.2]/96

                        2.2.2.2         0          100        0      

     Path/Ogn: i

*  i                    2.2.2.2         0          100        0      

     Path/Ogn: i

* >i [10][0][0][0.0.0.0][0][0.0.0.0][32][3.3.3.3]/96

                        3.3.3.3         0          100        0      

     Path/Ogn: i

*  i                    3.3.3.3         0          100        0      

     Path/Ogn: i

* >i [10][0][0][0.0.0.0][0][0.0.0.0][32][4.4.4.4]/96

                        4.4.4.4         0          100        0      

     Path/Ogn: i

* >i [10][0][0][0.0.0.0][0][0.0.0.0][32][5.5.5.5]/96

                        5.5.5.5         0          100        0      

# 查看VXLAN隧道信息。

<SwitchA> display interface tunnel

Tunnel0

Current state: UP

Line protocol state: UP

Description: Tunnel0 Interface

Bandwidth: 64 kbps

Maximum transmission unit: 1464

Internet protocol processing: Disabled

Last clearing of counters: Never

Tunnel source 1.2.3.4, destination 4.4.4.4

Tunnel protocol/transport UDP_VXLAN/IP

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

 

Tunnel1

Current state: UP

Line protocol state: UP

Description: Tunnel1 Interface

Bandwidth: 64 kbps

Maximum transmission unit: 1464

Internet protocol processing: Disabled

Last clearing of counters: Never

Tunnel source 1.2.3.4, destination 5.6.7.8

Tunnel protocol/transport UDP_VXLAN/IP

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

                                                         

Tunnel2

Current state: UP

Line protocol state: UP

Description: Tunnel2 Interface

Bandwidth: 64 kbps

Maximum transmission unit: 1464

Internet protocol processing: Disabled

Last clearing of counters: Never

Tunnel source 1.2.3.4, destination 5.5.5.5

Tunnel protocol/transport UDP_VXLAN/IP

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

                

Tunnel3

Current state: UP

Line protocol state: UP

Description: Tunnel3 Interface

Bandwidth: 64 kbps

Maximum transmission unit: 1464

Internet protocol processing: Disabled

Last clearing of counters: Never

Tunnel source 1.2.3.4, destination 3.3.3.3

Tunnel protocol/transport UDP_VXLAN/IP

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

# 查看Mtunnel接口的概要信息。

<SwitchA> display interface mtunnel brief

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface            Link Protocol Primary IP        Description             

MTunnel0             UP   UP       1.2.3.4          

MTunnel1             UP   UP       1.2.3.4          

MTunnel2             UP   UP       1.2.3.4          

MTunnel3             UP   UP       1.2.3.4         

……

# 查看Swich AVPN实例vpna的组播路由信息。

<SwitchA> display pim vpn-instance vpna routing-table

 Total 1 (*, G) entries; 1 (S, G) entries

 (*, 225.0.0.0)

     RP: 12.12.12.12 (local)

     Protocol: pim-sm, Flag: WC RC

     UpTime: 03:01:20

     Upstream interface: Register-Tunnel0

         Upstream neighbor: NULL

         RPF prime neighbor: NULL

     Downstream interface information:

     Total number of downstream interfaces: 1

         1: MTunnel0

             Protocol: MD, UpTime: 02:57:31, Expires: -

2: Vsi-interface2

             Protocol: igmp, UpTime: 03:01:22, Expires: -

(10.1.1.10, 225.0.0.0)

     RP: 12.12.12.12 (local)

     Protocol: pim-sm, Flag: SPT 2MSDP LOC ACT SQ RC 2MVPN

     UpTime: 03:01:20

     Upstream interface: Vsi-interface1

         Upstream neighbor: NULL

         RPF prime neighbor: NULL

     Downstream interface information:

     Total number of downstream interfaces: 1

         1: MTunnel1

             Protocol: MD, UpTime: 02:56:31, Expires: -

2: Vsi-interface2

             Protocol: igmp, UpTime: 03:01:22, Expires: -

# 查看分布式聚合系统信息。

[SwitchA] display drni system

IPP: BAGG1

State: UP

 

DR          System number System MAC         System priority

Local      1                0001-0001-0001    123

Peer       2                0001-0001-0001    123

# 查看分布式聚合系统的接口摘要信息。

[SwitchA] display drni summary

Global consistency check           : SUCCESS

Inconsistent type 1 global settings: -

 

IPP             IPP ID        State

BAGG1         1             UP

 

DR interface    DR group ID   State    Check result   Type 1 inconsistency

BAGG1           1             UP       SUCCESS        -

BAGG1           2             UP       SUCCESS        -

1.9  升级操作

1.9.1  Leaf的升级

1. 升级前的命令行检查

升级前的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-2 升级前的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

2. 升级操作

具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。

3. 升级操作中流量中断时间

单点故障时间正切小于500ms,回切小于150ms。具体参见“1.7  收敛时间测试”。

4. 升级后的命令行检查

升级后的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-3 升级后的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

1.9.2  Spine的升级

1. 升级前的命令行检查

升级前的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-4 升级前的命令行检查汇总表

Spine 1

Spine 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

2. 升级操作

升级设备软件前,请进行如下操作:

(1)     使用display version命令查看设备当前运行的BootWare程序以及启动软件的版本。

(2)     获取新软件的版本发布说明书,了解新软件的版本号、软件大小以及和当前运行的BootWare程序以及Comware软件的兼容性。

(3)     通过版本发布说明书了解将安装的软件包是否需要License。如果需要,查看设备上是否有对应的有效的License。如果没有,请先安装License。否则,会导致软件包安装失败。

(4)     使用dir命令查看存储介质是否有足够的空间存储新的软件。如果存储空间不足,可使用delete命令删除一些暂时不用的文件。请保证系统中所有的主控板都有足够的存储空间。

(5)     使用FTP、TFTP方式将新软件包下载到任一文件系统的根目录下。

具体升级方式没有特殊要求,以现场情况为准。

3. 升级操作中流量中断时间

单点故障时间正切小于500ms,回切小于150ms。具体参见“1.7  收敛时间测试”。

4. 升级后的命令行检查

升级后的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-5 升级后的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

1.9.3  Border的升级

1. 升级前的命令行检查

升级前的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-6 升级前的命令行检查汇总表

Border 1

Border 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

2. 升级操作

具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。

3. 升级操作中流量中断时间

单点故障时间正切小于500ms,回切小于150ms。具体参见“1.7  收敛时间测试”。

4. 升级后的命令行检查

升级后的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-7 升级后的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

1.10  扩容操作

说明

本文描述的扩容操作指新增一组Leaf设备。

 

1.10.1  Leaf的扩容操作

1. 扩容前的命令行检查

扩容前的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-8 扩容前的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

2. 扩容操作

(1)     新增设备断开网管

(2)     升级完成相应版本

(3)     做好预配置

(4)     接入网管

(5)     控制器进行纳管

3. 扩容操作中流量中断时间

具体参见“1.7  收敛时间测试”。

4. 扩容后的命令行检查

扩容后的命令行检查,请参见下表中的命令行。

表1-9 扩容后的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

1.11  替换操作

1.11.1  设备替换操作

1. 替换前的命令行检查

替换前的命令行检查,请参见“1.8.1  配置验证命令汇总表”和以下表格中的命令行。

表1-10 替换前的命令行检查汇总表

Leaf 1

Leaf 2

命令说明

display device

display device

用来显示分布式聚合系统的接口摘要信息

display boot-loader

display boot-loader

用来显示本次启动和下次启动所采用的启动软件包的名称

display version

display version

用来显示系统版本信息

 

2. 替换操作

具体操作步骤请参考“H3C交换机DRNI升级、替换、扩容指导”。

3. 替换操作中流量中断时间

具体参见“1.7  收敛时间测试”。

4. 替换后的命令行检查

与替换前命令行检查相同。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们