IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案广州移动2013年3月城域网与OLT配合采用VRRP测试方案-1-版本变更记录日期版本说明作者2013.31.0创建修改文档林建明城域网与OLT配合采用VRRP测试方案-2-目录1.前言........................................................................................................................32.测试网络的物理拓扑................................................................................................33.测试准备.................................................................................................................53.1设备的选型.....................................................................................................53.2测试人员........................................................................................................64.测试方法.................................................................................................................64.1“小V”专线业务热备测试..............................................................................64.1.1设备配置.......................................................................................................................................64.1.2测试结果......................................................................................................................................114.2“大V”专线业务热备测试............................................................................184.2.1设备配置.....................................................................................................................................184.2.2测试结果.....................................................................................................................................265.测试总结...............................................................................................................551.前言2.测试网络的物理拓扑测试采用网络拓扑与现网的设备是密切相关的。既考虑到网络的现状,也要考虑未来的网络结构的演进和变化,本次测试设计到两个类型的拓扑图。“小v”型结构如下图,OLT到SW的上联链路进行捆绑(快速LACP),7750和SW直接使用EFM功能防止单通,SR之间的采用SRRP实现专线业务的热备,。ETH-TRUNK信信BRAS信信信SWOLT信信SRONUSR/BRASRadius信信2信信112LACPLACP信信信信信信信信信信信信SRRPLACP“小v”型网络拓扑结构“大v”型结构如下图,OLT直接上联到两台SW。SW和SR互连,开启EFM功能,SR之间的采用SRRP实现专线业务的热备城域网与OLT配合采用VRRP测试方案-4-信信BRAS信信信SWOLT信信BRASONUSR/BRASRadius信信2信信112Eth-OAM信信信信信信信信信信信信SRRP信信信SWEth-OAMEth-OAMEth-OAM“大v”型网络拓扑结构非共享网关结构如下图,结构采用小V型,但是每个用户拥有独立的网段,使用不同的网关IP:城域网与OLT配合采用VRRP测试方案-5-ETH-TRUNK信信BRAS信信信SWOLT信信SRONUSR/BRASRadius信信2信信1Eth-OAMLACPEth-OAMUpEth-OAMDownLACPLACP非共享网关网络拓扑结构3.测试准备3.1设备的选型本次测试SR/BRAS选择上海贝尔的7750,使用9.0R7的软件版本。交换机采用华为9312产品,OLT分别采用华为和阿朗的设备。(阿朗OLT不具备测试条件,配置方法可以参考佛山公司的测试结果)SR/BRAS:XY-BRAS01,XH-BRAS01,XH-SR01SW:先烈东、东风中OLT:先烈东OLT(华为)大V型:链路类型本端设备本端端口对端设备对端端口SW-SRXLD-SWETH-TRUNK6GE10/0/5XY-BRAS01G1/2/4LAG4SW-SRDFZ-SWETH-TRUNK4XH-BRAS01G2/2/4LAG23城域网与OLT配合采用VRRP测试方案-6-GE12/0/2SW-OLTXLD-SWETH-TRUNK4(G10/0/4,G12/0/4)XLD-OLTG11/0,12/0SW-OLTDFZ-SWG12/0/7D101-1-D3/D4XLD-OLT待调通小V型/非共享网关链路类型本端设备本端端口对端设备对端端口SW-SRXLD-SWETH-TRUNK6GE10/0/5XY-BRAS01G1/2/4LAG4SW-SRXLD-SWETH-TRUNK2GE10/0/0GE12/0/2XH-SR01G1/2/14,G10/2/9LAG5SW-OLTXLD-SWETH-TRUNK4(G10/0/4,G12/0/4)XLD-OLTG11/0,12/03.2测试人员SR/BRASSWOLT广州移动林建明林建明文溯上海贝尔刘育平刘育平4.测试方法4.1“小V”专线业务热备测试4.1.1设备配置热备配置方式:小V型组网采用SRRP+LACP的方式,SR和SW之间启用LACP检测传输链路状态,2台SR之前启用SRRP同步信息路由发布配置:由于SRRP协议的主备用端口都是UP,主备SR同时发布路由,因此对于用户下行流量,会同时下发到主备用SR,流量到达备用的SR后,通过redundant-interface送回到主用SR,如下图所示:城域网与OLT配合采用VRRP测试方案-7-ETH-TRUNK信信BRAS信信信SWOLT信信SRONUSR/BRASRadius信信2信信112LACPLACP信信信信信信信信信信信信SRRPLACP这样会导致备用侧的上下行重复流量,无形中导致可用带宽变小,因此,必须抑制备用侧发布路由,由于7750启用SRRP后,会产生srrp-master和srrp-non-master两种类型的路由,备用侧只要抑制srrp-non-master类型的路由就可以了。4.1.2设备配置4.1.2.1GDGZ-MS-IPMAN-XY-BRAS01-7750下行链路起LACPconfigruelag4descriptionTo-[GDGZ-MA-IPMAN-XLD-SW01-S9312]-lag-6modeaccessencap-typeqinqport1/2/4lacpactiveadministrative-key32769hold-timedown50城域网与OLT配合采用VRRP测试方案-8-noshutdownexit4.1.2.2IES10000888配置group-interface和启用SRRPconfigureservicesdp1033mplscreatedescriptionTO-[GDGZ-MS-IPMAN-XH-SR01-7750]-LOOPBACK0far-end120.196.27.33ldpkeep-aliveshutdownexitnoshutdownexitconfigureserviceies1000888customer1000createredundant-interface“SRRP-XYBRAS01/XHSR01createdescriptionSRRP-Testaddress192.168.254.5/30remote-ip192.168.254.6spoke-sdp1033:10000888createnoshutdownexitexitsubscriber-interfaceOAM-SRRP-Testcreateaddress183.239.184.194/27gw-ip-address183.239.184.193group-interfaceXLD-SW01-SDHandPTNcreatesrrp-enabled-routingredundant-interface“SRRP-XYBRAS01/XHSR01saplag-4:1706.0createexitsaplag-4:1706.100createanti-spoofipstatic-hostip183.239.184.196createnoshutdownexitexitsrrp100088801createkeep-alive-interval50message-pathlag-4:1706.0priority120noshutdown城域网与OLT配合采用VRRP测试方案-9-exitexitexit4.1.2.3GDGZ-MS-IPMAN-XY-BRAS01-7750路由发布配置configurerouterpolicy-optionspolicy-statementExport_Submgmt_Routeentry5fromprefix-listDirect_Routestatesrrp-non-master-SRRP备用侧发布的路由exittoprotocolbgpexitactionreject---抑制该路由的发布exitentry10fromprotocolsub-mgmtprefix-listDirect_Routeexittoprotocolbgpexitactionacceptexitexitexit4.1.2.4GDGZ-MS-IPMAN-XH-SR01-7750下行链路起LACPconfigruelag5descriptionTo-[GDGZ-MA-IPMAN-DFZ-SW01-S9312]-ETH-4modeaccessencap-typeqinqport1/2/14port10/2/9lacpactiveadministrative-key32789城域网与OLT配合采用VRRP测试方案-10-hold-timedown50noshutdownexit4.1.2.5IES10000888配置group-interfac