收藏 分销(赏)

IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.doc

上传人:快乐****生活 文档编号:4741009 上传时间:2024-10-11 格式:DOC 页数:91 大小:5.61MB 下载积分:18 金币
下载 相关 举报
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.doc_第1页
第1页 / 共91页
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案.doc_第2页
第2页 / 共91页


点击查看更多>>
资源描述
IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案 IP城域网汇聚层及接入层SRRP+EthOAM热备组网测试方案 广州移动 2013年3月 城域网与OLT配合采用VRRP测试方案 版本变更记录 日期 版本 说明 作者 2013.3 1.0 创建修改文档 林建明 目 录 1. 前言 3 2. 测试网络的物理拓扑 3 3. 测试准备 4 3.1 设备的选型 4 3.2 测试人员 5 4. 测试方法 5 4.1 “小V”专线业务热备测试 5 4.1.1 设备配置 5 4.1.2 测试结果 5 4.2 “大V”专线业务热备测试 6 4.2.1 设备配置 6 4.2.2 测试结果 6 5. 测试总结 8 -89- 城域网与OLT配合采用VRRP测试方案 1. 前言 2. 测试网络的物理拓扑 测试采用网络拓扑与现网的设备是密切相关的。既考虑到网络的现状,也要 考虑未来的网络结构的演进和变化,本次测试设计到两个类型的拓扑图。 “小v”型结构如下图, OLT到SW的上联链路进行捆绑(快速LACP),7750和SW直接使用EFM功能防止单通,SR之间的采用SRRP实现专线业务的热备,。 “小v”型网络拓扑结构 “大v”型结构如下图,OLT直接上联到两台SW。SW和SR互连,开启EFM功能,SR之间的采用SRRP实现专线业务的热备 “大v”型网络拓扑结构 非共享网关结构如下图,结构采用小V型,但是每个用户拥有独立的网段,使用不同的网关IP: 非共享网关网络拓扑结构 3. 测试准备 3.1 设备的选型 本次测试SR/BRAS选择上海贝尔的 7750,使用9.0 R7的软件版本。交换机采用华为9312产品,OLT分别采用华为和阿朗的设备。(阿朗OLT不具备测试条件,配置方法可以参考佛山公司的测试结果) SR/BRAS:XY-BRAS01,XH-BRAS01,XH-SR01 SW:先烈东、东风中 OLT:先烈东OLT(华为) 大V型: 链路类型 本端设备 本端端口 对端设备 对端端口 SW-SR XLD-SW ETH-TRUNK 6 GE10/0/5 XY-BRAS01 G1/2/4 LAG4 SW-SR DFZ-SW ETH-TRUNK 4 GE12/0/2 XH-BRAS01 G2/2/4 LAG23 SW-OLT XLD-SW ETH-TRUNK 4 (G10/0/4,G12/0/4) XLD-OLT G11/0,12/0 SW-OLT DFZ-SW G12/0/7 D101-1-D3/D4 XLD-OLT 待调通 小V型/非共享网关 链路类型 本端设备 本端端口 对端设备 对端端口 SW-SR XLD-SW ETH-TRUNK 6 GE10/0/5 XY-BRAS01 G1/2/4 LAG4 SW-SR XLD-SW ETH-TRUNK 2 GE10/0/0 GE12/0/2 XH-SR01 G1/2/14,G 10/2/9 LAG5 SW-OLT XLD-SW ETH-TRUNK 4 (G10/0/4,G12/0/4) XLD-OLT G11/0,12/0 3.2 测试人员 SR/BRAS SW OLT 广州移动 林建明 林建明 文溯 上海贝尔 刘育平 刘育平 4. 测试方法 4.1 “小V”专线业务热备测试 4.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类型的路由就可以了。 4.1.2 设备配置 4.1.2.1 GDGZ-MS-IPMAN-XY-BRAS01-7750 下行链路起LACP configrue lag 4 description "To-[GDGZ-MA-IPMAN-XLD-SW01-S9312]-lag-6" mode access encap-type qinq port 1/2/4 lacp active administrative-key 32769 hold-time down 50 no shutdown exit 4.1.2.2 IES 10000888配置group-interface和启用SRRP configure service sdp 1033 mpls create description "TO-[GDGZ-MS-IPMAN-XH-SR01-7750]-LOOPBACK0" far-end 120.196.27.33 ldp keep-alive shutdown exit no shutdown exit configure service ies 1000888 customer 1000 create redundant-interface “SRRP-XYBRAS01/XHSR01" create description " SRRP-Test" address 192.168.254.5/30 remote-ip 192.168.254.6 spoke-sdp 1033:10000888 create no shutdown exit exit subscriber-interface "OAM-SRRP-Test" create address 183.239.184.194/27 gw-ip-address 183.239.184.193 group-interface "XLD-SW01-SDHandPTN" create srrp-enabled-routing redundant-interface “SRRP-XYBRAS01/XHSR01" sap lag-4:1706.0 create exit sap lag-4:1706.100 create anti-spoof ip static-host ip 183.239.184.196 create no shutdown exit exit srrp 100088801 create keep-alive-interval 50 message-path lag-4:1706.0 priority 120 no shutdown exit exit exit 4.1.2.3 GDGZ-MS-IPMAN-XY-BRAS01-7750路由发布配置 configure router policy-options policy-statement "Export_Submgmt_Route" entry 5 from prefix-list "Direct_Route" state srrp-non-master-SRRP备用侧发布的路由 exit to protocol bgp exit action reject ---抑制该路由的发布 exit entry 10 from protocol sub-mgmt prefix-list "Direct_Route" exit to protocol bgp exit action accept exit exit exit 4.1.2.4 GDGZ-MS-IPMAN-XH-SR01-7750下行链路起LACP configrue lag 5 description "To-[GDGZ-MA-IPMAN-DFZ-SW01-S9312]-ETH-4" mode access encap-type qinq port 1/2/14 port 10/2/9 lacp active administrative-key 32789 hold-time down 50 no shutdown exit 4.1.2.5 IES 10000888配置group-interface和启用SRRP configure service sdp 1239 mpls create description "TO-[GDGZ-MS-IPMAN-XY-BRAS01-7750]-LOOPBACK0" far-end 120.196.27.239 ldp keep-alive shutdown exit no shutdown exit configure service ies 10000888 customer 1000 create redundant-interface “SRRP-XYBRAS01/XHSR01" create description "OAM-SRRP-Test" address 192.168.254.6/30 remote-ip 192.168.254.5 spoke-sdp 1239:10000888 create no shutdown exit exit subscriber-interface "OAM-SRRP-Test" create address 183.239.184.195/27 gw-ip-address 183.239.184.193 group-interface "XLD-SW01-SDHandPTN-BF" create redundant-interface “SRRP-XYBRAS01/XHSR01" sap lag-5:1706.0 create exit sap lag-5:1706.100 create anti-spoof ip static-host ip 183.239.184.196 create no shutdown exit exit srrp 100088801 create keep-alive-interval 50 message-path lag-5:1706.0 priority 100 no shutdown exit exit 4.1.2.6 GDGZ-MS-IPMAN-XH-SR01-7750路由发布配置 configure router policy-options policy-statement "Export_Submgmt_Route" entry 5 from prefix-list "Direct_Route" state srrp-non-master-SRRP备用侧发布的路由 exit to protocol bgp exit action reject ---抑制该路由的发布 exit entry 10 from protocol sub-mgmt prefix-list "Direct_Route" exit to protocol bgp exit action accept exit exit exit 4.1.3 测试结果 测试编号 4.1 测试项目 小“v”型专线业务热备测试 测试目的 验证专线业务备份功能,在链路中断时,业务得到保护的情况 测试环境 测试步骤 1、在SW接终端分别ping网关和外网(百度) 2、中断链路1,观察业务情况。 3、恢复链路1,观察业务情况 预期结果 主用链路1出现故障,业务可以正常切换到备用侧 测试结果 ping网关 ping百度 切换 还原 切换 还原 第1次 3 0 4 0 第2次 3 0 6 0 第3次 2 1 4 0 ping外网由于涉及到主备SR用户路由的发布切换,因为中断时间会稍长 备注 主用侧路由: B:GDGZ-MS-IPMAN-BRAS01-XY-AL# show router route-table 183.239.184.196 =========================================================== Route Table (Router: Base) =========================================================== Dest Prefix[Flags] Type Proto Age Pref Next Hop[Interface Name] Metric ------------------------------------------------------------------------------- 183.239.184.196/32 Remote Sub Mgmt 21h18m09s 0 [XLD-SW01-SDHandPTN] 0 ------------------------------------------------------------------------------- No. of Routes: 1 Flags: L = LFA nexthop available B = BGP backup route available n = Number of times nexthop is repeated 备用侧路由: A:GDGZ-MS-IPMAN-SR01-XH-AL# show router route-table 183.239.184.196 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix[Flags] Type Proto Age Pref Next Hop[Interface Name] Metric ------------------------------------------------------------------------------- 183.239.184.196/32 Remote Sub Mgmt 01d17h21m 0 [SRRP-XYBRAS01/XHSR01] ---备用SR的用户路由指向redundant-interface 0 ------------------------------------------------------------------------------- No. of Routes: 1 Flags: L = LFA nexthop available B = BGP backup route available n = Number of times nexthop is repeated 切换前srrp状态: B:GDGZ-MS-IPMAN-BRAS01-XY-AL>config>service>ies# show srrp 100088801 =========================================================== SRRP Instance 100088801 ===========================================================Description : (Not Specified) Admin State : Up Oper State : master Oper Flags : subnetMismatch Preempt : yes One GARP per SAP : no Monitor Oper Group : None System IP : 120.196.27.239 Service ID : IES 10000888 Group If : XLD-SW01-SDHandPTN MAC Address : 0c:a4:02:b0:71:45 Grp If Description : N/A Grp If Admin State : Up Grp If Oper State: Up Subscriber If : OAM-SRRP-Test Sub If Admin State : Up Sub If Oper State: Up Address : 183.239.184.130/26 Gateway IP : 183.239.184.129 Address : 183.239.184.194/27 Gateway IP : 183.239.184.193 Redundant If : OAM-SRRP Red If Admin State : Up Red If Oper State: Up Address : 192.168.254.1/30 Red Spoke-sdp : 1243:10000888 Msg Path SAP : lag-4:1706.0 Admin Gateway MAC : Oper Gateway MAC : 00:00:5e:00:01:e1 Config Priority : 120 In-use Priority : 120 Master Priority : 120 Keep-alive Interval : 50 deci-seconds Master Since : 04/15/2013 16:32:01 Fib Population Mode : all VRRP Policy 1 : None VRRP Policy 2 : None B:GDGZ-MS-IPMAN-BRAS01-XY-AL>config>service>ies# show router bgp neighbor 120.196.27.1 advertised-routes | match 183.239.184.196/32 ? 183.239.184.196/32 主用发布用户路由 100 0 A:GDGZ-MS-IPMAN-BRAS01-XH-AL# show srrp 100088803 =========================================================== SRRP Instance 100088803 =========================================================== Description : (Not Specified) Admin State : Up Oper State : backupShunt Oper Flags : subnetMismatch Preempt : yes One GARP per SAP : no Monitor Oper Group : None System IP : 120.196.27.243 Service ID : IES 10000888 Group If : XLD-OLT001 MAC Address : 8c:90:d3:71:00:68 Grp If Description : N/A Grp If Admin State : Up Grp If Oper State: Up Subscriber If : OAM-SRRP-Test Sub If Admin State : Up Sub If Oper State: Up Address : 183.239.184.131/26 Gateway IP : 183.239.184.129 Redundant If : OAM-SRRP Red If Admin State : Up Red If Oper State: Up Address : 192.168.254.2/30 Red Spoke-sdp : 1239:10000888 Msg Path SAP : lag-23:1705.0 Admin Gateway MAC : Oper Gateway MAC : 00:00:5e:00:01:e3 Config Priority : 100 In-use Priority : 100 Master Priority : 120 Keep-alive Interval : 50 deci-seconds Master Since : 04/15/2013 19:40:08 Master Down Interval: 15.000 sec (Expires in 14.050 sec) Fib Population Mode : all VRRP Policy 1 : None VRRP Policy 2 : None A:GDGZ-MS-IPMAN-BRAS01-XH-AL# show router bgp neighbor 120.196.27.1 advertised-routes | match 183.239.184.196/32 ---没有向外发布用户路由 切换后SRRP状态: B:GDGZ-MS-IPMAN-BRAS01-XY-AL# show srrp 100088801 =========================================================== SRRP Instance 100088801 =========================================================== Description : (Not Specified) Admin State : Up Oper State : initialize Oper Flags : subnetMismatch Preempt : yes One GARP per SAP : no Monitor Oper Group : None System IP : 120.196.27.239 Service ID : IES 10000888 Group If : XLD-SW01-SDHandPTN MAC Address : 0c:a4:02:b0:71:45 Grp If Description : N/A Grp If Admin State : Up Grp If Oper State: Down Subscriber If : OAM-SRRP-Test Sub If Admin State : Up Sub If Oper State: Down Address : 183.239.184.130/26 Gateway IP : 183.239.184.129 Address : 183.239.184.194/27 Gateway IP : 183.239.184.193 Redundant If : OAM-SRRP Red If Admin State : Up Red If Oper State: Up Address : 192.168.254.1/30 Red Spoke-sdp : 1243:10000888 Msg Path SAP : lag-4:1706.0 Admin Gateway MAC : Oper Gateway MAC : 00:00:5e:00:01:e1 Config Priority : 120 In-use Priority : 120 Master Priority : 120 Keep-alive Interval : 50 deci-seconds Master Since : 04/15/2013 16:32:01 Master Down Interval: 0.000 sec (Expires in 0.000 sec) Fib Population Mode : all VRRP Policy 1 : None VRRP Policy 2 : None A:GDGZ-MS-IPMAN-BRAS01-XY-AL# show router bgp neighbor 120.196.27.1 advertised-routes | match 183.239.184.196/32 ---没有向外发布用户路由 A:GDGZ-MS-IPMAN-SR01-XH-AL# show srrp 100088801 =========================================================== SRRP Instance 100088801 ===============================
展开阅读全文

开通  VIP会员、SVIP会员  优惠大
下载10份以上建议开通VIP会员
下载20份以上建议开通SVIP会员


开通VIP      成为共赢上传

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服