Spirent Testcenter Rip Testing
Spirent Testcenter Rip Testing
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
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
12
Spirent TestCenter RIP Testing
Router Wizard – Preview
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.
16
Spirent TestCenter RIP Testing
RIP Router Parameters
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
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
28
Spirent TestCenter RIP Testing
Routers Running
29
Spirent TestCenter RIP Testing
RIP-specific Commands
30
Spirent TestCenter RIP Testing
Selecting RIP Router Protocol Statistics
31
Spirent TestCenter RIP Testing
RIP Results
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.
2
Add, then re-order the commands 3
37
Spirent TestCenter RIP Testing
RIP-specific Commands
38
Spirent TestCenter RIP Testing
Starting the Test Sequence
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