0% found this document useful (0 votes)
107 views

Spirent Testcenter Rip Testing

The document discusses configuring and testing RIP routing using Spirent TestCenter. It covers adding routers, configuring RIP parameters on routers, generating routes, and viewing routing results. Key features covered include support for RIPv1/RIPv2, authentication, timers, VLAN tagging, and generating up to 500,000 routes across 1,000 routers for testing.

Uploaded by

sumabang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views

Spirent Testcenter Rip Testing

The document discusses configuring and testing RIP routing using Spirent TestCenter. It covers adding routers, configuring RIP parameters on routers, generating routes, and viewing routing results. Key features covered include support for RIPv1/RIPv2, authentication, timers, VLAN tagging, and generating up to 500,000 routes across 1,000 routers for testing.

Uploaded by

sumabang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

Spirent TestCenter

RIP Testing

www.spirentcampus.com
Topic Overview
„ RIP Routing Features
„ Configuring Routers
„ Route Generator
„ Editing Routes
„ Router Options
„ Sending Traffic to the Advertised Routes
„ Logging Protocol Events
„ Starting the Routers
„ Router Results
„ Starting Traffic and Viewing Results
„ Command Sequencer
„ Charting Incremental Results
2
Spirent TestCenter RIP Testing
RIP Routing Features

„ Support for RIPv1/RIPv2 and RIPng (IPv4 and IPv6


respectively)
„ Ability to send RIP updates to Broadcast, Multicast, or
Unicast
„ Support for Simple and MD-5 authentication
„ Support for BFD
„ Emulate up to 1,000 routers and over 500,000 routes per
port-group
„ Detailed result statistics show the state of all routers
„ Control of all timers

3
Spirent TestCenter RIP Testing
Technology Selector
„ The Technology Selector is used to filter protocols seen in the Spirent
TestCenter Application.
„ The tool automatically opens each time the Application is launched.
„ Users can add unselected protocols to a test at any time by clicking the
Technology Selector button from the main toolbar.

4
Spirent TestCenter OSPF Testing
Adding Routers
„ Spirent TestCenter offers you different options to add routers:
‹ From either the All Ports or Individual Ports grids
‹ Manually or using the Create Routers Wizard
‹ or use a combination of any of the above

5
Spirent TestCenter RIP Testing
Router Wizard – Select Ports
„ During a single Router Wizard session you can add one or more Routers
to one or more Ports.
„ However, all of the Routers added have similar attributes.
„ For example, they may all have the same encapsulation and support the
same protocols.
„ Multiple Router Wizard sessions can be used to add different Routers
with different attributes.

6
Spirent TestCenter RIP Testing
Router Wizard – Select Protocols
„ Select the routing protocol(s) to run on these routers.
„ Select whether to launch Route Wizard when finished (optional).

7
Spirent TestCenter RIP Testing
Router Wizard – Encapsulation

„ Choose the Upper layer protocol (IPv4 only, IPV6 only, or both)
„ You can also add one or more (i.e., a stack) of 802.1Q tags by
checking the “Number of VLAN Headers” option.
‹ When this is selected, the Configure VLANs step will appear.

8
Spirent TestCenter RIP Testing
Router Wizard – Configure VLANs
„ The following slide describes some stuff about this.

Ethernet
Ethernet 802.1Q Service Provider Tag
Frame 802.1Q Customer Tag
Frame (S-Tag) (C-Tag)
D S TPID CoS VLAN TPID CoS C VLAN Ether-
Priority
D
ID F Data FCS
A A E Priority I ID Type

9
Spirent TestCenter RIP Testing
Configure VLANs continued
„ The example on the previous slide had 2 VLAN headers configured (i.e.,
Q-n-Q)
„ VLAN #1 is always the first (top) tag
‹ It is the only tag if only 1 VLAN header is configured
‹ If only 1 tag is configured, its TPID must be 0x8100 per IEEE 802.1Q
‹ Spirent TestCenter only counts it as a VLAN frame when its TPID is 0x8100
„ The TPID identifies the frame as 802.1Q.
„ The S-Tag TPID is vendor proprietary.
‹ Some vendors use a unique TPID for the S-Tag to identify the frame as
Q-in-Q.
‹ Some common S-Tag TPID values: 0x9100, 0x9200, 0x88a8
„ The C-Tag TPID is always 0x8100.
„ For the S-Tag, the Canonical Format Identifier (CFI) has been redefined
to be used for Discard Eligible (DE), similar to Frame Relay DE.
10
Spirent TestCenter RIP Testing
Router Wizard – Configure Routers
„ Set the number of Routers, Router ID, Router MAC and IP
Addresses, Gateway, and Priority (don’t forget the Steps).

11
Spirent TestCenter RIP Testing
Router Wizard – Configuring RIP

„ Select either RIPv1 or RIPv2

12
Spirent TestCenter RIP Testing
Router Wizard – Preview

„ A last chance to view the parameters before selecting Finish.

13
Spirent TestCenter RIP Testing
RIP Route Generator
„ Is a quick and easy way to associate routes that will be advertised.
„ This will be covered in more detail later.

14
Spirent TestCenter RIP Testing
Router Interface
„ Routing Emulation with Spirent TestCenter is router centric which is more like
you would set up a real router.
„ Go to All Routers > Router Interface tab or to an individual Port’s Routers tab.
„ The Router Interface tab is the common parameters for all protocols, such as IP
address, MAC address, default gateway and so on.

NOTE: You do not have to resolve the Gateway Address (ARP)


manually. Rather, it will resolve automatically when the Router
is started.
15
Spirent TestCenter RIP Testing
Router Encapsulation
„ VLANs, Q-in-Q and other types of encapsulations like GRE tunneling are
configured on the Router Interface.
„ All protocols running on that router inherit the encapsulation.
‹ No need to configure the VLAN on each protocol
„ IPv6 is enabled when you set the encapsulation on the Router Interface.
„ All IPv6 related parameters are shown if IPv6 routers are configured (same with
VLANs).

16
Spirent TestCenter RIP Testing
RIP Router Parameters

„ Used to configure the session parameters of your RIP tests.


„ Well observe the “Router State” change when we start the
router soon.

17
Spirent TestCenter RIP Testing
RIP Route Generator
„ Is a quick and easy way to associate routes that will be
advertised.
„ Is launched using the Router Generator button from the RIP
tab.

18
Spirent TestCenter RIP Testing
Route Generator – Select Routers

„ Select the Port’s Routers that you want the routes added to.

19
Spirent TestCenter RIP Testing
Route Generator – Configure Routes

20
Spirent TestCenter RIP Testing
Configure Routes continued
„ Some things to think about:
‹ How many routes do you want added during this Route Wizard
session and what is the start prefix and mask?
‹ How do you want the routes distributed to each router?
• An even number per port
• An even number per router (even if the number of routers per port is not
linear)
• Based on the Port’s speed relative to each other (i.e., you want more
routes on higher speed ports regardless of the number of routers per
port)
‹ Do you want to duplicate routes on other routers, and if so, what is
the metrics for the duplicate routes?
‹ How do you want the prefixes to be distributed?

21
Spirent TestCenter RIP Testing
Viewing Routes Created and Edit Routes

„ Go to All Routers > RIP tab.


„ Select the router(s) you created the routes on.
„ Select Edit Routes… to view the routes.

22
Spirent TestCenter RIP Testing
RIP Route Attributes
„ What are the Attributes of the advertised routes?
„ The “Route Category” can be one of the following:
‹ Undefined, Primary, Secondary, Unique.
‹ If you use the Route Generator and set the % to duplicate to be > 0, then it
will automatically tag the routes with either Primary or Secondary
(Otherwise, it tags them as Unique by default).
‹ Any route tagged as Secondary will NOT show up in the Traffic Wizard
whether it is an actual duplicate or not (see the following slides).

23
Spirent TestCenter RIP Testing
Sending Traffic to the Advertised Routes
„ You need a potential source and destination for the traffic.
„ These can be (among other things), a Host (see next slide)
or a Route (i.e., the same route(s) that you advertised).
„ Then you can use the Traffic Wizard to create a “Bound”
Stream Block.
‹ Bound Stream Blocks are used when you want to create automatic
traffic patterns.
‹ Bound Stream Blocks are “bound” between hosts, routers, and/or
route blocks.
‹ They inherit their attributes (source/destination addresses) from their
associated entity.
‹ This could include IP addresses automatically assigned by PPP or
DCHP, and/or destination MAC addresses resolved by ARP/ND.

24
Spirent TestCenter RIP Testing
Creating Hosts
„ To create a Host you first must have at least one Port.
‹ Reserved or Offline
„ Hosts can be created in one of three ways:
1. Individually from the Host Interface grid under a single Port
2. One or more Hosts, across one or more ports, can be added simultaneously
using the Host Wizard
3. Copied (Duplicated) from existing Hosts

1
2

3
25
Spirent TestCenter RIP Testing
Traffic Wizard

26
Spirent TestCenter RIP Testing
Logging RIP Protocol Events

„ This should be set before you start the routers to see all of
the events.
„ Notice that the Log tab is selected.

27
Spirent TestCenter RIP Testing
Starting the Routers

„ Right click or use Start Router button(s)

28
Spirent TestCenter RIP Testing
Routers Running

„ Notice the “Router State”


„ Notice the Stop Routers button is now active

29
Spirent TestCenter RIP Testing
RIP-specific Commands

30
Spirent TestCenter RIP Testing
Selecting RIP Router Protocol Statistics

„ In the Results Browser, change the Results View to Router


Protocols > RIP Results.

31
Spirent TestCenter RIP Testing
RIP Results

„ Remember that RIP is a stateless protocol.


„ Therefore it is just what you sent and received.
„ Notice the Stop Routers and Stop RIP buttons in the Results
window.

32
Spirent TestCenter RIP Testing
Viewing Received Routes

33
Spirent TestCenter RIP Testing
Viewing Received Routes continued

34
Spirent TestCenter RIP Testing
Starting Traffic and Viewing Results

35
Spirent TestCenter RIP Testing
Command Sequencer
„ Allows customized testing.
„ Automatically created (but hidden) when Test Wizard used.
„ Create “Batch-mode” testing.
„ Build a complex series of events to truly stress a DUT.
‹ Run continuously or a timed test.

„ Add , remove or modify test steps.


„ Allows the introduction of “real world” events into a test
‹ Emulate link failures, route flapping, router failures, etc.
‹ Whole or partial failures supported.

„ Insert External Events – “White Box Testing”


36
Spirent TestCenter RIP Testing
Command Sequencer

„ Use the command sequencer for customized testing.


Choose all or specific command groups
1

2
Add, then re-order the commands 3

Read the description


before selecting

37
Spirent TestCenter RIP Testing
RIP-specific Commands

„ RIP-specific commands group.

38
Spirent TestCenter RIP Testing
Starting the Test Sequence

„ Step through commands.


„ Run all at once.

39
Spirent TestCenter RIP Testing
Event Results using a Chart
„ The example below show a Chart that was created to track incremental
results.
‹ In the Results Browser, right-click on an item to rack and “Add to Chart.”
„ Events are annotated with the assigned name and any comments
„ Width of the flap indication line depicts the amount of time that it took to
implement that event

40
Spirent TestCenter RIP Testing
End of Topic

www.spirentcampus.com
41
Spirent TestCenter RIP Testing

You might also like