15 Jul

Simple line card performance testing configuration (IOS XR)

It’s easy trick but I’m going to put it here anyway so anyone can use it and for me so I can easy find code when I need it 🙂 This is “snake” that is made traffic from generator go through all ports on line cards and between two line cards. It’s made for testing purposes in lab environment if you need to verify performance capability of ASR9K router (or any other runnin IOS XR in this case) for customer.

The idea is simple – Ethernet ports are configured as EFP’s for particular VLAN and then we alternate point-to-point cross connects and physical connections between subsequent ports, remembering that first and last port in out chain are connected to traffic generator

 xconnect group snake
  p2p 1
   interface gi 0/0/0/1.50
   interface gi0/0/0/2.50
  p2p 2
   interface gi 0/0/0/3.50
   interface gi0/0/0/4.50
  p2p 3
   interface gi 0/0/0/5.50
   interface gi0/0/0/6.50

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.