IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.docx
《IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.docx》由会员分享,可在线阅读,更多相关《IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.docx(67页珍藏版)》请在冰豆网上搜索。
![IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.docx](https://file1.bdocx.com/fileroot1/2022-12/12/e6334f61-835e-480d-8be7-1a0a80cb48c4/e6334f61-835e-480d-8be7-1a0a80cb48c41.gif)
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案
广州移动
2013年3月
版本变更记录
日期
版本
说明
作者
2013.3
1.0
创建修改文档
林建明
“大v”型网络拓扑结构
非共享网关结构如下图,结构采用小V型,但是每个用户拥有独立的网段,使用不同的网关IP:
非共享网关网络拓扑结构
1.测试准备
1.1设备的选型
本次测试SR/BRAS选择上海贝尔的7750,使用9.0R7的软件版本。
交换机采用华为9312产品,OLT分别采用华为和阿朗的设备。
(阿朗OLT不具备测试条件,配置方法可以参考佛山公司的测试结果)
SR/BRAS:
XY-BRAS01,XH-BRAS01,XH-SR01
SW:
先烈东、东风中
OLT:
先烈东OLT(华为)
大V型:
链路类型
本端设备
本端端口
对端设备
对端端口
SW-SR
XLD-SW
ETH-TRUNK6
GE10/0/5
XY-BRAS01
G1/2/4LAG4
SW-SR
DFZ-SW
ETH-TRUNK4
GE12/0/2
XH-BRAS01
G2/2/4LAG23
SW-OLT
XLD-SW
ETH-TRUNK4
(G10/0/4,G12/0/4)
XLD-OLT
G11/0,12/0
SW-OLT
DFZ-SW
G12/0/7D101-1-D3/D4
XLD-OLT
待调通
小V型/非共享网关
链路类型
本端设备
本端端口
对端设备
对端端口
SW-SR
XLD-SW
ETH-TRUNK6
GE10/0/5
XY-BRAS01
G1/2/4LAG4
SW-SR
XLD-SW
ETH-TRUNK2
GE10/0/0
GE12/0/2
XH-SR01
G1/2/14,G10/2/9LAG5
SW-OLT
XLD-SW
ETH-TRUNK4
(G10/0/4,G12/0/4)
XLD-OLT
G11/0,12/0
1.2测试人员
SR/BRAS
SW
OLT
广州移动
林建明
林建明
文溯
上海贝尔
刘育平
刘育平
2.测试方法
2.1“小V”专线业务热备测试
2.1.1设备配置
热备配置方式:
小V型组网采用SRRP+LACP的方式,SR和SW之间启用LACP检测传输链路状态,2台SR之前启用SRRP同步信息
路由发布配置:
由于SRRP协议的主备用端口都是UP,主备SR同时发布路由,因此对于用户下行流量,会同时下发到主备用SR,流量到达备用的SR后,通过redundant-interface送回到主用SR,如下图所示:
这样会导致备用侧的上下行重复流量,无形中导致可用带宽变小,因此,必须抑制备用侧发布路由,由于7750启用SRRP后,会产生srrp-master和srrp-non-master两种类型的路由,备用侧只要抑制srrp-non-master类型的路由就可以了。
2.1.2设备配置
2.1.2.1GDGZ-MS-IPMAN-XY-BRAS01-7750下行链路起LACP
configruelag4
description"To-[GDGZ-MA-IPMAN-XLD-SW01-S9312]-lag-6"
modeaccess
encap-typeqinq
port1/2/4
lacpactiveadministrative-key32769
hold-timedown50
noshutdown
exit
2.1.2.2IES10000888配置group-interface和启用SRRP
configureservice
sdp1033mplscreate
description"TO-[GDGZ-MS-IPMAN-XH-SR01-7750]-LOOPBACK0"
far-end120.196.27.33
ldp
keep-alive
shutdown
exit
noshutdown
exit
configureserviceies1000888customer1000create
redundant-interface“SRRP-XYBRAS01/XHSR01"create
description"SRRP-Test"
address192.168.254.5/30remote-ip192.168.254.6
spoke-sdp1033:
10000888create
noshutdown
exit
exit
subscriber-interface"OAM-SRRP-Test"create
address183.239.184.194/27gw-ip-address183.239.184.193
group-interface"XLD-SW01-SDHandPTN"create
srrp-enabled-routing
redundant-interface“SRRP-XYBRAS01/XHSR01"
saplag-4:
1706.0create
exit
saplag-4:
1706.100create
anti-spoofip
static-hostip183.239.184.196create
noshutdown
exit
exit
srrp100088801create
keep-alive-interval50
message-pathlag-4:
1706.0
priority120
noshutdown
exit
exit
exit
2.1.2.3GDGZ-MS-IPMAN-XY-BRAS01-7750路由发布配置
configurerouterpolicy-options
policy-statement"Export_Submgmt_Route"
entry5
from
prefix-list"Direct_Route"
statesrrp-non-master-SRRP备用侧发布的路由
exit
to
protocolbgp
exit
actionreject---抑制该路由的发布
exit
entry10
from
protocolsub-mgmt
prefix-list"Direct_Route"
exit
to
protocolbgp
exit
actionaccept
exit
exit
exit
2.1.2.4GDGZ-MS-IPMAN-XH-SR01-7750下行链路起LACP
configruelag5
description"To-[GDGZ-MA-IPMAN-DFZ-SW01-S9312]-ETH-4"
modeaccess
encap-typeqinq
port1/2/14
port10/2/9
lacpactiveadministrative-key32789
hold-timedown50
noshutdown
exit
2.1.2.5IES10000888配置group-interface和启用SRRP
configureservice
sdp1239mplscreate
description"TO-[GDGZ-MS-IPMAN-XY-BRAS01-7750]-LOOPBACK0"
far-end120.196.27.239
ldp
keep-alive
shutdown
exit
noshutdown
exit
configureserviceies10000888customer1000create
redundant-interface“SRRP-XYBRAS01/XHSR01"create
description"OAM-SRRP-Test"
address192.168.254.6/30remote-ip192.168.254.5
spoke-sdp1239:
10000888create
noshutdown
exit
exit
subscriber-interface"OAM-SRRP-Test"create
address183.239.184.195/27gw-ip-address183.239.184.193
group-interface"XLD-SW01-SDHandPTN-BF"create
redundant-interface“SRRP-XYBRAS01/XHSR01"
saplag-5:
1706.0create
exit
saplag-5:
1706.100create
anti-spoofip
static-hostip183.239.184.196create
noshutdown
exit
exit
srrp100088801create
keep-alive-interval50
message-pathlag-5:
1706.0
priority100
noshutdown
exit
exit
2.1.2.6GDGZ-MS-IPMAN-XH-SR01-7750路由发布配置
configurerouterpolicy-options
policy-statement"Export_Submgmt_Route"
entry5
from
prefix-list"Direct_Route"
statesrrp-non-master-SRRP备用侧发布的路由
exit
to
protocolbgp
exit
actionreject---抑制该路由的发布
exit
entry10
from
protocolsub-mgmt
prefix-list"Direct_Route"
exit
to
protocolbgp
exit
actionaccept
exit
exit
exit
2.1.3测试结果
测试编号
4.1
测试项目
小“v”型专线业务热备测试
测试目的
验证专线业务备份功能,在链路中断时,业务得到保护的情况
测试环境
测试步骤
1、在SW接终端分别ping网关和外网(XX)
2、中断链路1,观察业务情况。
3、恢复链路1,观察业务情况
预期结果
主用链路1出现故障,业务可以正常切换到备用侧
测试结果
ping网关
pingXX
切换
还原
切换
还原
第1次
3
0
4
0
第2次
3
0
6
0
第3次
2
1
4
0
ping外网由于涉及到主备SR用户路由的发布切换,因为中断时间会稍长
备注
主用侧路由:
B:
GDGZ-MS-IPMAN-BRAS01-XY-AL#showrouterroute-table183.239.184.196
===========================================================
RouteTable(Router:
Base)
===========================================================
DestPrefix[Flags]TypeProtoAgePref
NextHop[InterfaceName]Metric
-------------------------------------------------------------------------------
183.239.184.196/32RemoteSubMgmt21h18m09s0
[XLD-SW01-SDHandPTN]0
-------------------------------------------------------------------------------
No.ofRoutes:
1
Flags:
L=LFAnexthopavailableB=BGPbackuprouteavailable
n=Numberoftimesnexthopisrepeated
备用侧路由:
A:
GDGZ-MS-IPMAN-SR01-XH-AL#showrouterroute-table183.239.184.196
===============================================================================
RouteTable(Router:
Base)
===============================================================================
DestPrefix[Flags]TypeProtoAgePref
NextHop[InterfaceName]Metric
-------------------------------------------------------------------------------
183.239.184.196/32RemoteSubMgmt01d17h21m0
[SRRP-XYBRAS01/XHSR01]---备用SR的用户路由指向redundant-interface0
-------------------------------------------------------------------------------
No.ofRoutes:
1
Flags:
L=LFAnexthopavailableB=BGPbackuprouteavailable
n=Numberoftimesnexthopisrepeated
切换前srrp状态:
B:
GDGZ-MS-IPMAN-BRAS01-XY-AL>config>service>ies#showsrrp100088801
===========================================================
SRRPInstance100088801
===========================================================Description:
(NotSpecified)
AdminState:
UpOperState:
master
OperFlags:
subnetMismatch
Preempt:
yesOneGARPperSAP:
no
MonitorOperGroup:
None
SystemIP:
120.196.27.239
ServiceID:
IES10000888
GroupIf:
XLD-SW01-SDHandPTNMACAddress:
0c:
a4:
02:
b0:
71:
45
GrpIfDescription:
N/A
GrpIfAdminState:
UpGrpIfOperState:
Up
SubscriberIf:
OAM-SRRP-Test
SubIfAdminState:
UpSubIfOperState:
Up
Address:
183.239.184.130/26GatewayIP:
183.239.184.129
Address:
183.239.184.194/27GatewayIP:
183.239.184.193
RedundantIf:
OAM-SRRP
RedIfAdminState:
UpRedIfOperState:
Up
Address:
192.168.254.1/30
RedSpoke-sdp:
1243:
10000888
MsgPathSAP:
lag-4:
1706.0
AdminGatewayMAC:
OperGatewayMAC:
00:
00:
5e:
00:
01:
e1
ConfigPriority:
120In-usePriority:
120
MasterPriority:
120
Keep-aliveInterval:
50deci-secondsMasterSince:
04/15/201316:
32:
01
FibPopulationMode:
all
VRRPPolicy1:
NoneVRRPPolicy2:
None
B:
GDGZ-MS-IPMAN-BRAS01-XY-AL>config>service>ies#showrouterbgpneighbor120.196.27.1advertised-routes|match183.239.184.196/32
?
183.239.184.196/32主用发布用户路由1000
A:
GDGZ-MS-IPMAN-BRAS01-XH-AL#showsrrp100088803
===========================================================
SRRPInstance100088803
===========================================================
Description:
(NotSpecified)
AdminState:
UpOperState:
backupShunt
OperFlags:
subnetMismatch
Preempt:
yesOneGARPperSAP:
no
MonitorOperGroup:
None
SystemIP:
120.196.27.243
ServiceID:
IES10000888
GroupIf:
XLD-OLT001MACAddress:
8c:
90:
d3:
71:
00:
68
GrpIfDescription:
N/A
GrpIfAdminState:
UpGrpIfOperState:
Up
SubscriberIf:
OAM-SRRP-Test
SubIfAdminState:
UpSubIfOperState:
Up
Address:
183.239.184.131/26GatewayIP:
183.239.184.129
RedundantIf:
OAM-SRRP
RedIfAdminState:
UpRedIfOperState:
Up
Address:
192.168.254.2/30
RedSpoke-sdp:
1239:
10000888
MsgPathSAP:
lag-23:
1705.0
AdminGatewayMAC:
OperGatewayMAC:
00:
00:
5e:
00:
01:
e3
ConfigPriority:
100In-usePriority:
100
MasterPriority:
120
Keep-aliveInterval:
50deci-secondsMasterSince:
04/15/201319:
40:
08
MasterDownInterval:
15.000sec(Expiresin14.050sec)
FibPopulationMode:
all
VRRPPolicy1:
NoneVRRPPolicy2:
None
A:
GDGZ-MS-IPMAN-BRAS01-XH-AL#showrouterbgpneighbor120.196.27.1advertised-routes|match183.239.184.196/32
---没有向外发布用户路由
切换后SRRP状态:
B:
GDGZ-MS-IPMAN-BRAS01-XY-AL#showsrrp100088801
===========================================================
SRRPInstance100088801
===========================================================
Description:
(NotSpecified)
AdminState:
UpOperState:
initialize
OperFlags:
subnetMismatch
Preempt:
yesOneGARPperSAP:
no
MonitorOperGroup:
None
SystemIP:
120.196.27.239
ServiceID:
IES10000888
GroupIf:
XLD-SW01-SDHandPTNMACAddress:
0c:
a4:
02:
b0:
71:
45
GrpIfDescription:
N/A
GrpIfAdminState:
UpGrpIfOperState:
Down
SubscriberIf:
OAM-SRRP-Test
SubIfAdminState:
UpSubIfOperState:
Down
Address:
183.239.184.130/26GatewayIP: