logo资料库

Spirent TestCenter交换与路由测试方法学.pdf

第1页 / 共86页
第2页 / 共86页
第3页 / 共86页
第4页 / 共86页
第5页 / 共86页
第6页 / 共86页
第7页 / 共86页
第8页 / 共86页
资料共86页,剩余部分请下载后查看
Spirent TestCenter 交换与路由测试方法学 思博伦通信 胡 波 george.hu@spirent.com PROPRIETARY AND CONFIDENTIAL
提纲  从方法学上认识网络测试技术  微观(本质) vs.宏观(现象) • 二层交换测试方法学 • 三层路由测试方法学 • 现网(Live-network)测试方法学  网络测试未来的发展趋势  Spirent TestCenter 测试平台的优势 2
我们为什么要进行测试?  Internet是由大量的设备如路器、交换机、HUB、防火墙以及主机等 构成的。  广大的设备制造商及网络服务提供商需要向Internet保持兼容性。  设备制造商及网络服务提供商需要某种测试工具,在网络规划的初期, 到网络建成整个过程中对网络进行模拟、分析、排错、改进、及对网 络运行的效果进行测试。 Internet 3
测试的分类  为了对被测设备(DUT)各方面特性、功能进行衡量,有四种不同种 类的测试:  一致性测试:检验被测设备相关协议的实现是否遵循了协议规范。  功能测试:验证设备是否支持声明的全部功能。(例如:对协议的 支持,过滤功能,网管等)  性能测试:分为负载测试(load testing)及压力测试(stress testing), 通常可以认为在一定负载或压力下的设备表现。  被动测试:类似于协议分析,在真实的运行状态下观察协议运行的 过程,特别是在有外界干扰和无外界干扰的情况下观察设备的工作 状态。 4
常见的测试规范及标准 正式RFC  RFC • Benchmarking Terminology for Network Interconnection Devices (RFC 1242) • Benchmarking Methodology for Network Interconnect Devices (RFC 1944), obsoleted by RFC 2544 • Benchmarking Terminology for LAN Switching Devices (RFC 2285) • Terminology for IP Multicast Benchmarking (RFC 2432) • Benchmarking Methodology for Network Interconnect Devices (RFC 2544) • Benchmarking Terminology for Firewall Performance (RFC 2647) • Terminology for ATM Benchmarking (RFC 2761) • Benchmarking Methodology for LAN Switching Devices (RFC 2889) • Methodology for ATM Benchmarking (RFC 3116) • Terminology for Frame Relay Benchmarking (RFC 3133) • Terminology for ATM ABR Benchmarking (RFC 3134) • Terminology for Forwarding Information Base (FIB) based Router Performance (RFC 3222) • Benchmarking Methodology for Firewall Performance (RFC 3511) • Methodology for IP Multicast Benchmarking (RFC 3918) • Terminology for Benchmarking BGP Device Convergence in the Control Plane (RFC 4098) • Considerations When Using Basic OSPF Convergence Benchmarks (RFC 4063) • OSPF Benchmarking Terminology and Concepts (RFC 4062) • Benchmarking Basic OSPF Single Router Control Plane Convergence (RFC 4061) 5
RFC 2544/1242—网络通信测试的基础 思博伦通信 提供业界标准的 RFC2544测试 测试产品: Spirent TestCenter SmartBits AX/4000 主要测试指标 ✓延迟—Latency ✓背对背缓冲—Back to Back Frames ✓吞吐量—Throughput ✓丟包率—Frame Loss Rate ✓系统恢复 – System Recovery ✓重启 - Reset ✓几乎适用于我们目前所有的2~3层设备和网络的测试 适用的场景 ✓交换机、路由器、防火墙、VPN… … ✓各种类型和拓扑的网络 6
丟包率—Frame Loss Rate RFC 2544 思博伦通信 支持在各种场景下 的丟包率测试 测试流量 测试流量 测试产品: Spirent TestCenter SmartApplications SmartFlow 测试负载流量:X 转发负载流量:Y TeraRouting Tester 被测试设备丢失流量:Z AX GUI RPT 定义 RFC 1242 ✓Percentage of frames that should have been forwarded by a network device under steady state (constant) load that were not forwarded due to lack of resources. ✓被测试设备在稳定的情况下没有能够转发的帧的比例 丟包率 = ( X – Y ) × 100/ X 7
丟包率—Frame Loss Rate 思博伦通信 支持在各种场景下 的丟包率测试 测试流量 测试流量 RFC 2544 测试产品: Spirent TestCenter SmartApplications SmartFlow TeraRouting Tester AX GUI RPT ✓ Send a specific number of frames at a specific rate through the DUT to be tested and count the frames that are transmitted by the DUT. The frame loss rate at each point is calculated using the following equation: ( ( input_count - output_count ) * 100 ) / input_count ✓The first trial SHOULD be run for the frame rate that corresponds to 100% of the maximum rate for the frame size on the input media. Repeat the procedure for the rate that corresponds to 90% of the maximum rate used and then for 80% of this rate. This sequence SHOULD be continued (at reducing 10% intervals) until there are two successive trials in which no frames are lost. The maximum granularity of the trials MUST be 10% of the maximum rate, a finer granularity is encouraged. 测试过程 8 0%10%20%30%40%50%60%70%80%90%100%12345678910
分享到:
收藏