Spirent Test Center – Setting up basic

MPLS LDP sessions and advertising LSPs

using OSPF as IGP

____________________________________________________________________

 

To Print or View in Word format, click here

 

Content

 

Introduction

Components Used

Configuration Summary

Test Topology

Connect to the Spirent TestCenter chassis and setup two ports

Enable OSPF & LDP and advertise the routes &LSPs

Use Traffic Wizard to create traffic between the LSPs

Check counters in real-time and after the test stops

____________________________________________________________________

 

Introduction

The purpose of this document is to provide the user step-by-step instructions to

configure LDP neighbors, advertise LSPs, and send traffic to the advertised routes

using OSPF as the IGP.

 

Components Used

  • DUT configured with LDP & OSPF connected to two Ethernet Spirent ports
  • Spirent TestCenter 9U chassis with two Ethernet interfaces
  • Spirent TestCenter application software

 

Configuration Summary

  • Connect to the Spirent TestCenter chassis and setup two ports
  • Enable OSPF & LDP and advertise the routes & LSPs
  • Use Traffic Wizard to create traffic between the LSPs
  • Check counters in real-time and after the test stops

 

Test Topology

 

 

Connect to the Spirent TestCenter chassis and setup two ports

 

Step#1: Click Actions, Connect

 

 

Step#2: Click Active on the ports and hit Apply

 

NOTE: Apply button must be clicked after every config change

 

 

 

Step#3: If link does not come up, double check the Media Type and Auto Negotiation settings

 

 

Step#4: Right-click on any of the port LEDs and use the Link or Unlink option to check if you are connected to the right port on the DUT (useful feature if working remote from physical setup)

 

 

Step#5: Go to the IP Config section, configure the IP address of the ports, and click Apply

 

 

Step#6: Go to DUT and ping the Spirent port

 

 

Enable OSPF & LDP and advertise the routes and LSPs

 

Step#7: Go to the Protocols section and enable OSPF and LDP on both ports

 

 

Step#8: Go to Adjacencies and click on Apply Default Addresses

 

 

Step#9: Go to the Router-LSA section, click LSA Generator, and set Routers to value = 2

 

 

Step#10: Click Stub Networks and set # Stub Networks to 0

 

 

Step#11: Click Summary Routes and set # Summary LSAs to 0

 

 

Step#12: Click External Routes and set # External-Routes-LSAs to 100, Distribution Even, Min Prefix 32, Max Prefix 32, % Duplicated 0

 

 

Step#13: Click Other and set the Start IP Address to 201.1.1.1

 

 

Step#14: Click External-LSAs section and note the routes advertised from each OSPF router

 

 

Step#15: Go to LDP, Sessions and change the Min Label on both LDP sessions

 

NOTE: This is used to easily differentiate the LSPs on the DUT

 

 

Step#16: Go to LDP, LSPs, right click on a sesion and click New LSP

 

 

Step#17: Configure 50  prefixes (/32) on both LDP sessions

 

 

Use Traffic Wizard to create traffic between the LSPs

 

Step#18: Go to Streams and click on Traffc Wizard

 

Step#19: Select All LDP LSPs on both sides and click on Next

 

 

Step#20: Click Finish

 

 

Step#21: Note the Streams that are configured

 

 

Step#22: View and modify the frame with the PDU editor by right-clicking on any Stream and selecting Edit Frame

 

 

Step#23: Modify the frame with the PDU editor (optional)

 

 

Step#24: Click the Start Test and set the Tx Load to 500 fps. Click Run

 

 

Check DUT for LDP neighbors and MPLS forwarding table

 

 

Step#25: Go to Traffic, Streams, right-click on a stream and select View Binding Information

 

 

Step#26: Compare the binding information on the DUT

 

 

Note the binding information is in the range specified in the GUI  (min 100 and 200)

 

 

Check counters in real-time and after the test stops

 

Step#27: Select Port Rates and Port Counters from the drop-down menu and note the Signature Frames sent and received

 

 

Step#28: Enable per-stream stats by clicking on Result Collection and selecting All Streams. Click Ok

 

 

Step#29: Click Apply and select Streams from the drop-down menu

 

 

Step#30: Set unique loads for each stream by going to Transmit Ports, clicking in the Load section, and set the Mode to Per Stream. Click OK.

 

 

Step#31: Set unique frame size for each stream by going to Transmit Ports, clicking in the Frame Size section, and set the Mode to Per Stream. Click OK.

 

 

Step#32: Set the Frame Size and Rate for each stream and click Apply

 

 

Step#33: Select Streams from the drop-down menu and note the Tx Rate for each stream

 

NOTE: the % Loss is based on the run-time Tx/Rx rate and not the actual loss. The Lost Frames and % Loss will display the correct results after stopping the test

 

 

Step#34: Click the Stop Test button and wait for the hardware to send results to the GUI

 

NOTE: Always note the status of the GUI in the lower left-hand corner. The amount of time for the test to stop will vary depending on the size and complexity of the test

 

 

Step#35: After the test stops, select Detailed Stream Statistics from the drop-down menu and review the Lost Frames, % Loss, and Latency numbers