Quick start training class - PowerPoint PPT Presentation

1 / 133
About This Presentation
Title:

Quick start training class

Description:

Note: Because we are reserving both ports at the same time, you might notice a ... Click on the first port reserved in the test, and click on the Hosts icon ... – PowerPoint PPT presentation

Number of Views:151
Avg rating:3.0/5.0
Slides: 134
Provided by: mikeh52
Category:

less

Transcript and Presenter's Notes

Title: Quick start training class


1
Quick start training class
  • Alex de Ocampo
  • Technical Development Manager

2
Agenda
  • House keeping
  • Spirent Account Team and Website
  • Professional Services Free on-line training
  • Hardware Setup Management
  • Getting started
  • What well learn
  • Lab
  • Topic 1
  • Lab
  • Topic 2
  • Lab
  • Topic 3
  • .
  • .

3
Spirent Account Team and WebsiteDedicated Cisco
Account Teams
Team-Alias For rapid response to any questions
or onsite support
-- www.gospirent.com --
4
Professional Services - http//www.spirentclassroo
m.com/SpirentCampus/
  • Login and create an account
  • Training covers
  • The Spirent TestCenter Architecture
  • Spirent TestCenter Features and Functionality
  • New Concepts (e.g., Hosts, Stream Blocks,
    HyperFilters)
  • Managing the Software License and Firmware
    Downloads
  • Initially Setting Up and Connecting to a Chassis
  • Working with Individual/Multiple Chassis
  • Using Spirent TestCenter Modules
  • Using the Spirent TestCenter Application

5
Hardware Setup Management Overall System Setup
  • Components to get started
  • Spirent Test Center chassis and Test modules
  • Dedicated PC to run the tests (WinXP recommended)
  • Active network connection between PC and chassis
  • Software installed on the PC to control the
    chassis
  • Spirent Test Center 2.00,
  • STC Clearsight plug-in installed
  • Licensing

6
Hardware Setup Management PC Requirements
Test and Measurement Worlds
  • 1. Pentium 4 dual-core CPU
  • 2. Minimum 1gig of RAM for Windows
  • 3. One of the following Windows operating
    systems
  • gt Windows 2000, Professional Edition, Service
    Pack 3
  • gt Windows NT 4.0, Professional Edition, Service
    Pack 6a
  • gt Windows XP Professional, Service Pack 1
    (recommended)
  • 4. SVGA 1024x768 resolution video or better
  • NOTE Tests with more than 24 ports or more
    than 5,000 streams will require higher end PC

7
Hardware Setup Management Putting it all
together
Classroom setup
Spirent Test Center 9U chassis
DUT
Laptop running STC 2.00
LAN network Running DHCP 192.168.x.0/24
. . . .
Please refer to the Lab sheet for STC Port
assignment and IP addressing
8
Hardware Setup Management Putting it all
together
Recommended Setup
DUT
NIC1 Connected to Network
NIC2 Connected to SmartBits
Any PC with Remote Desktop support
Campus Network Internet
Dedicated PC running WinXP
PC opens a Remote Desktop session to the
dedicated PC with Spirent Test Center 2.00
software installed By default, laptops with
Windows 2000 or XP should have the Remote Desktop
client installed (Start, Programs, Accessories,
Communications, Remote Desktop)
DUT
9
Getting Started,prerequisites for Labs
  • Connect to LAN, check to see if you get a DHCP
    address, ping server, and STC chassis
  • Check Lab sheet to see your STC and DUT port
    assignments (assigned by station)
  • Download and install STC 2.01 application
  • Download and install STC Clear sight plug-in

10
What well learn today
  • Lab 1 Connect and reserve ports
  • Topic 1 Whats a Host and WHY do I need Hosts?
  • Lab 2 How to create Host blocks/Hosts
  • Topic 2 What are a Stream Block, Raw stream,
    Bound Stream?
  • Lab 3 How to create L3 traffic using Raw
    Streams
  • Lab 4 How to create L3 traffic using Bound
    Streams
  • Lab 5 How to send traffic and view Results
  • Topic 3 What are Hyper filters
  • Lab 6 How to use the Hyper filters
  • Lab 7 Troubleshooting
  • Lab 8 How to create DHCP clients and send using
    L3 traffic
  • Lab 9 How to create IGMP hosts, and to send
    Multicast traffic
  • Topic 4 Whats the Command Sequencer
  • Lab 10 How to use Command Sequencer and how to
    results export to the Results Reporter

11
Lab1 topology
DUT
STC port 1
STC port 2
.1
.1
Please refer to your lab sheet for STC Port
assignment and IP addressing
12
LAB 1 Connect and Reserve Ports
13
Lab 1 Connect and Reserve Ports
  • How to connect reserve ports
  • How to set port parameters
  • How to verify physical port connectivity

14
Step 1 Connecting to Chassis
  • See lab sheet for your chassis ip address
  • First, add the chassis ip address and click Add
    Chassis
  • To connect to the device, Right click and click
    connect chassis
  • This can also be done by expanding the sign
    under Connection Name column for the
    corresponding IP.
  • After expanding the ports, dont click the empty
    white box next to the ip address. This will
    reserve all ports of the system. Dont reserve
    ports yet

15
Step 2 Reserving ports
  • See lab sheet for your port assignment
  • After connecting to Chassis, select the ports
    which are to be used.
  • By default , ports are reserved in multiples of
    two unless it is a 10GigE port.
  • Note Because we are reserving both ports at the
    same time, you might notice a slight delay for
    the check mark to appear when clicking on the
    port.

16
Step 3 How to set port parameters
  • Go to ALL Ports
  • Click on PortConfig tab
  • Make sure media type is set to either Copper of
    Fiber
  • By un clicking the Auto Negotiation box, you
    expose the speed and duplex settings

17
Step 4 How to check physical port connectivity
  • Click on the Ports folder, then click on the
    Port icon
  • Next, click on the Ethernet Advanced tab
  • Click the Break Link button to see the port LED
    turn from Green to Grey.
  • Then, click the Restore Link button to bring the
    port back up from grey to green
  • Check your DUT port status while doing this to
    ensure correct physical cabling

18
Topic 1 Whats a Host Block or a Host?
19
Topic 1 Whats a Host Block or a Host?
  • A Host/Host Block a
  • A. People who invite you to dinner at their house
  • B. Master of a Ceremony, or an event.
  • C. Person who is the star of a television talk
    show
  • D. Endpoints used in Spirent TestCenter 2.00 for
    simulating IPv4/v6 PCs, PPP Clients, DHCP
    Clients, IGMP Hosts, and other technologies.
  • the answer is All of the above.but
    especially D

20
Why do I need Hosts?
  • Host are used as
  • Sources and Destinations of traffic.
  • Think of them as a PC/Client on the network the
    needs to Transmit/Receive traffic as well as
    participate in various networking protocols
    like ARP, PING, DHCP, IGMP, and PPPoE
  • Hosts can also be used as Sources/Destinations
    for the upper layer protocols, such as Routing,
    MPLS, etc.
  • Hosts replace the Port IP address of Spirent
    TestCenter 1.x
  • Hosts can be quickly and easily created manually,
    or by using the Host Wizard.
  • Configuration Tip See Options tab at bottom
    of the main tree to use your favorite IP Subnet
    as the starting point for all new hosts
    configured in the application.

21
Host Configuration
  • The best place to start is the All Hosts
    viewas that is where you can quickly/easily
    create Hosts using the Host Wizard
  • Most of the time (for basic L2/L3 traffic) this
    is the 1st thing you will do when using the 2.00
    GUI.
  • Note the other areas/technologies that also use
    Hosts
  • Note Hosts can also be manually added (without
    the wizard) via each Ports Hosts Window

22
LAB 2a How to create static hosts using Hosts
wizard
23
Lab2a topology
DUT
STC port 1
STC port 2
.1
.1
  • Host block name
  • Hostwizard-2
  • Static Src ip 102.0.0.2/24
  • Host block name
  • Hostwizard-1
  • Static Src ip 101.0.0.2/24

Please refer to your lab sheet for IP addressing
24
Lab 2a How to create static hosts using Hosts
wizard
  • Click on the first port, Port icon, that you
    reserved i.e. Port //2/3
  • Right-click on grid
  • Choose Add Multiple Hosts
  • OR click on the Add button to start to add a
    host(s)

Fact - Host wizard makes it easier to configure
L2/L3 endpoints easily across multiple ports or
within a single port spanning across thousands of
vlans
25
Lab 2a How to create static hosts using Hosts
wizard
  • Select port(s) to create hosts on. Make sure the
    first port is checked
  • Click Next
  • Choose which type of Host

Fact - Traffic only means that host will be
configured with static ip address(s) or static L2
address(s)
26
Lab 2a How to create static hosts using Hosts
wizard
  • Choose IPV4
  • Choose Ethernet
  • Click Next

27
Lab 2a How to create static hosts using Hosts
wizard
  • Leave everything default except configure the
    ipv4 address and gateway according to the Lab
    sheet
  • Note when you configure the IPv4 address the
    IPV4 gateway automatically copies the subnet with
    the host being .1

28
Lab 2a How to create static hosts using Hosts
wizard
  • Check addressing info and make sure it matches to
    the addresses from your Lab sheet.
  • Click Finish

29
Lab 2a How to create static hosts using Hosts
wizard
  • After exiting the Host wizard, you are brought
    back to the Hosts grid and you can see the Host
    block that was just recently configured
  • Click in the Host Name column and change the name
    to Hostwizard-1.

30
Lab 2a How to create static hosts using Hosts
wizard
  • Repeat these steps for the second reserved port
    in the test
  • Note be sure to follow the assigned addresses
    from your Lab sheet and name the second host on
    port 2, Hostwizard-2
  • When your finished, Click on the All Hosts icon
    to see all configured hosts across all ports. You
    should see something like this below

31
LAB 2b How to create static hosts manually
32
Lab2b topology
DUT
STC port 1
STC port 2
.1
.1
  • Host block name
  • Hostmanual-2
  • Static Src ip 102.0.0.3/24
  • Host block name
  • Hostmanual-1
  • Static Src ip 101.0.0.3/24

Please refer to your lab sheet for IP addressing
33
Lab 2b How to create static hosts manually
  • Click on the first port reserved in the test, and
    click on the Hosts icon
  • Within the Hosts Grid, right click and choose the
    Add Host to manually add a Host block within the
    Grid.
  • For the new host created, enter the appropriate
    parameters within the GRID such as the IPV4
    address, IPV4 Default Gateway according to the
    Lab sheet. Tip You can select the both rows, do
    a right-click on the IP address column and do a
    fill increment on the IP address
  • Rename the host to Hostmanual-1 for port1

34
Lab 2b How to create static hosts manually
  • Repeat these steps for the second reserved port
    in the test
  • Note be sure to follow the assigned addresses
    from your Lab sheet and name the second host on
    port 2, Hostmanual-2
  • When your finished, Click on the All Hosts icon
    to see all configured hosts across all ports. You
    should see something like this below

35
Topic 2 What is a Stream Block?
36
Topic 2 What is a Stream Block?
  • A Stream Block is a set of Streams that share the
    same basic parameterssuch as
  • Frame Length
  • Types of Headers
  • Not necessarily the same addressing
  • Load/Rate
  • Duration
  • Priority (for new scheduling mode)
  • Fill Pattern (now with PRBS!)
  • Burst Parameters
  • and others

37
What is a Stream Block?
  • A Stream Block
  • Can be a single Stream or hundreds/thousands of
    Streams
  • The rate set in the general parameters is for the
    entire Stream Block. Each Stream in the Block
    receives an equal percentage of traffic.
  • A Stream Block can be built in 2 ways
  • Raw Stream Block same as before, but better (of
    course )
  • Bound Stream Block Dynamically Binding of
    hosts/routes, etc. into the Streams using a
    traffic-wizard-like method inside the Stream
    Block.
  • Hosts are PPPoE/DHCP/Ethernet hosts, routers, or
    routes can be bound
  • Mesh, Backbone, Port-pairOne-to-one or
    Many-to-many traffic mapping
  • Makes it easier than manually adding the headers
    in RAW Stream Blocks.

38
Stream Block benefits
  • Reduce Time to Test
  • Explode small number of Blocks into large
    number of Streams
  • Use multiple CPUs on test modules rather than a
    single CPU on the users PC
  • Reduce data transferred between the users PC and
    the Spirent TestCenter system
  • Arbitrary PDUs
  • PDU definition attached to each Stream Block
  • Consumes only 2K of memory per Stream Block (aka
    per PDU definition)
  • Increase Scale
  • Support large Stream count and port count tests
    (gt P1.x) while
  • Providing tools for easier and faster test
    configuration

39
Stream Block Hierarchy
Stream Block Definition
Hosts
Variations
Port X . . . .
Streams
Variations
Hosts
Port Y . . . .
Streams
40
MORE Stream Block benefits
  • Stream Blocks help us quickly and easily
    configure a large number of Streams
  • Stream Blocks help us rapidly download these
    configurations to the hardware
  • Each Stream Block will contain a formula for
    generating Streams that belong to the Block
  • Streams are no longer generated on the users PC.
  • The general parameters, frame PDU and pattern are
    transmitted from the users PC to the Spirent
    TestCenter systembut only done once for each
    Stream Block !!!

All of these equal Huge Time-To-Test
Improvements
41
There are 2 ways to create and configure Stream
Blocks for traffic generation
  • 1st way - Add Bound Stream Block(s) -
  • Can be done from the All Stream Blocks All Ports
    view or by clicking on the Traffic Generator on
    a single port and clicking the Add Bound Stream
    Block (s) option.
  • Bind previously configured endpoints (hosts) into
    one or more Stream Blocks
  • Use Pairs, Mesh, or Backbone Traffic patterns
  • Use One-to-One, or Many-to-Many endpoint mappings

OR
42
There are 2 ways to create and configure Stream
Blocks for traffic generation
  • 2nd way - Add RAW Stream Block
  • Similar to how it was done in Spirent TestCenter
    1.x
  • Use 1.x-like PDU Builder to create Streams
  • Click on the Traffic Generator from a single
    port, and either right-click on the grid itself,
    and choose Add Raw Stream Block or click on the
    Add button and choose Add Raw Stream Block

OR
43
Why create traffic with a Raw Stream Block?
  • A user needs full control over the entire PDU
  • Can modify Preamble if using Ethernet
  • Can create negative test cases by building
    errored PDUs or custom PDUs. i.e.
    Ethernet-IPV4-UDP-IPV6
  • Can apply a pattern within Payload or header by
    using Modifiers with no restrictions

Right-click on header
44
Why create traffic by using Bound Stream Blocks?
  • A user can take advantage of Spirents Traffic
    Wizard to easily create different types of
    traffic patterns, and distributions across a
    large number of ports.
  • Can create a Full mesh, Partial-mesh, Pair
  • Host Blocks and/or emulated Routing info will be
    used as the endpoints for sources and
    destinations of the traffic streams. Remember,
    the Hosts Blocks can run host protocols, like
    DHCP or PPPoE to learn IP addresses from a DUT.
  • Users can take advantage of Spirents key
    feature of dynamically updating the Streams in
    real-time when changes are made to either the
    Host blocks or emulated Routing info. This can
    be user initiated or DUT initiated, like in the
    case of a DHCP server renewing an ip address.

45
LAB 3a Lab 3a How to create L3 IPV4 traffic
using Raw streams
46
Lab3a topology
Hostwizard-1
Hostwizard-2
RawSB-1 traffic flow
RawSB-2 traffic flow
DUT
Hostmanual-2
Hostmanual-1
STC port 1
STC port 2
.1
.1
Please refer to your lab sheet for IP addressing
47
Lab 3a How to Generate a L3 IPV4 packets using
Raw streams
  • Pre-requisite
  • Completed Lab2a,2b created traffic endpoints.
    Take note of the IP addresses of the hosts. We
    will be using them as the destination addresses
    to send traffic to.
  • Your GUI config for Host blocks created should be
    like this below

48
Lab 3a How to Generate a L3 IPV4 traffic using
Raw streams
  • Click on the first port reserved in the test
  • Click in the drop down menu, and change the
    Scheduling mode to Priority Based. (Note this is
    not a required parameter and will be discussed in
    another session, but this will allow us to change
    rates with the Bandwidth slider bar)
  • Click on the Traffic Generator on the first port
    reserved in the test
  • Click on the Add button, and choose Add Raw
    Stream Block

49
Lab 3a How to Generate a L3 IPV4 traffic using
Raw streams
  • In the General tab enter leave everything as
    default, but rename the stream block to RawSB-1

50
Lab 3a How to Generate a L3 IPV4 traffic using
Raw streams
  • Click on the Frame tab
  • Click on the Show All Fields box (even though
    it might be check already) This will expand the
    entire PDU structure
  • Since we are creating traffic via the RAW mode,
    we need to set the SRC/DST ip address, GATEWAY
    manually to ensure proper forwarding.
  • Enter the SRC IP address as 101.0.0.4 (check ur
    lab sheet for correct IP address)
  • Enter the DST address as 102.0.0.2 (check ur lab
    sheet for correct IP address)
  • Note The dst address should be one of the Host
    ip addresses that was configured on the second
    port from Lab 2 via manually, or thru the Traffic
    Wizard. I.e. Hostwizard-2 or Hostmanual-2. Enter
    that IP address in the
  • Click OK

51
Lab 3a How to Generate a L3 IPV4 traffic using
Raw streams
  • Now add a Raw Stream Block on the second port to
    create bi-directional traffic. Follow the same
    steps as before, but with the correct IP
    addressing. Please follow the lab sheet.
  • Rename the Raw Stream Block to RawSB-2

52
Lab 3a How to Generate a L3 IPV4 traffic using
Raw streams
  • After creating the Raw Stream Blocks, click on
    the All Stream Blocks icon under the All Ports
    view.
  • You should see the 2 stream blocks that were
    created, namely RawSB-1 and RawSB-2. Your GUI
    config should look similar to this screen.
  • Within the Test Configuration window, scroll all
    the way to the left to see the Arp Resolved check
    box. Notice that its not checked indicating
    that Arp is not resolved.
  • Hold the Shift button and click on both Stream
    blocks to highlight them
  • Do a right-click, scroll down to Start ARP/ND and
    do a left click. This should send out the ARP
    requests, and if successful the Arp Resolved
    boxes will be checked.
  • Note in the later troubleshooting lab, well
    show you how to view the resolved mac address
  • Dont start sending traffic yet. ?

53
LAB 3b Lab 3b How to create L3 IPV4 traffic
using Bound Streams
54
Lab3b topology
Hostwizard-1
Hostwizard-2
BoundSB_1-gt2 traffic flow
Hostmanual-2
Hostmanual-1
.1
.1
STC port 1
STC port 2
Please refer to your lab sheet for IP addressing
55
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Prerequisites
  • Lab 2a,b completed
  • Host blocks created will be used as source and
    destination endpoints for our Bound Streams

Your GUI config for Host blocks created should be
like this below
56
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Click on the All Stream Blocks under the All
    Ports view
  • Notice the previous Stream Blocks (Raw). Do not
    delete, and leave for now.
  • Click on the Add button to start the Traffic
    Wizard
  • Make sure both ports are selected
  • Click Next

57
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Notice the Hosts that were previously configured
    via the Host wizard or manually are now seen as
    endpoints within the Traffic Wizard.
  • This will allow a user to easily create a traffic
    pattern/distribution b/w the endpoints.

58
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Click on the Pair for Distribution
  • Under the Encapsulation, choose IPV4
  • Leave other parameters as default
  • Under the Source and Destinations, click on
    Hostwizard-1 box on port 1 as the source, and
    click on the Hostwizard-2 box as the destination
  • Click the Add button to see the Stream Blocks
    below
  • Click Next

59
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Preview the Stream Block that was created
  • Click Next

60
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Rename the Stream Block to BoundSB_1-gt2
  • Change the Frame Size to 512
  • Change Scheduling Mode to Priority Based
  • Click Next

61
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • At this point, one can add Headers, change QoS
  • BUT a user should not change the Source and/or
    Destination IP address of the Stream Block.
    Remember, the addresses are being Bound from
    the Host Blocks that were previously created. So,
    if these parameters are changed, then a user
    breaks the Bound Streams and so the traffic
    might be sending wrong information.
  • Click Finish
  • When prompted, choose No so that we can just
    append to existing Stream Blocks.

62
Lab 3b How to Generate a L3 IPV4 traffic using
Bound Streams
  • Within the All Streams Blocks grid, you can see
    the recently created Stream Block (Bound), named
    TrafficWizard-1-gt2-1
  • One can tell the difference b/w a Raw and Bound
    Stream Block by noticing that the Src and Dst
    info is empty for the Raw Streams, whereas the
    Bound Streams shows the endpoints.
  • Note To see the details of the Raw Stream
    Blocks, click the Edit, and view the Frame tab
    info
  • Dont send traffic yet, thats our next lab ?

63
LAB 4a Lab 4a How to start traffic view Basic
Traffic results
64
Lab 4a How to start traffic View Basic Traffic
results
  • Click the APPLY button.
  • Note Anytime you make GUI changes, you need to
    hit the APPLY button to push the changes down to
    the hardware. When the APPLY button is
    highlighted, then you need to press it.
  • At this point, lets start traffic. You can do
    this in two ways
  • Click on the Global Start traffic button
  • Right-click on the traffic generator on the
    port(s), and start traffic.

65
Lab 4a How to start traffic View Basic Traffic
results
  • On the lower half of the screen, we have two
    windows for Results viewing.
  • On the left side, click on the Change Results
    View and choose Port Traffic and then Basic
    Traffic Results

66
Lab 4a How to start traffic View Basic Traffic
results
  • Lets customize the Basic Traffic Results for
    simple viewing of just the Signature frames sent
    and received (Count/Rate)
  • Click on the Change Result View and choose
    Customize View
  • Remove all fields except
  • Generator Sig frame Count
  • Rx Sig Frame Count
  • Generator Sig Frame Rate
  • Rx Sig Frame Rate
  • Click Ok

67
Lab 4a How to start traffic View Basic Traffic
results
  • Each port is on a separate row and you should
    notice the Transmitting frame count increasing as
    well as the rate
  • You should also notice that the Rx count is
    either zero or not incrementing with the TX
    counters. Question Why are we not receiving
    traffic?
  • Since this is L3, we need to resolve arp on the
    stream blocks that have been configured. Go to
    next page

68
Lab 4a How to start traffic View Basic Traffic
results
  • Click on the All Stream Blocks icon
  • Notice all the Stream Blocks configured, both Raw
    Bound.
  • Highlight all of them, and do Right-click on the
    grid scroll down to ARP/ND, and choose START
    ARP/ND On All Stream Blocks

69
Lab 4a How to start traffic View Basic Traffic
results
  • After we resolved ARP, you should notice the Rx
    frame count and rate increase

70
LAB 4b How to View Detailed Stream results
71
Lab 4b How to View Detailed Stream results
  • Now, use the right hand side window to look at
    Detailed Stream Results
  • Click Change Result View, scroll down to Stream
    Results, choose Detailed Stream Results
  • You can toggle b/w the different tabs to see
    other types of stats. i.e. Advanced shows
    real-time dropped count, in-order count, where
    the Basic Counters shows Ave, min, Max Latency

72
LAB 4c How to create a Graph for basic port
counters
73
Lab 4c How to create a Graph for basic port
counters
  • Create a Graph for basic port counters for Tx v.s
    Rx rates
  • Go to the Basic Traffic Results
  • Right-click on the Generator Sig Frame Rate cell,
    and choose Add to Chart
  • Name the Chart
  • Tx v.s Rx
  • Click on the Port Traffic folder to say that the
    graph will be placed there
  • Click OK

74
Lab 4c How to create a Graph for basic port
counters
  • The second window should pop up the Graph that
    was created, and you should see the Generator Sig
    Frame rate on port 1 being plotted.
  • Now, right-click on the Rx Sig Frame rate for
    port 1 within the Basic Traffic Results window to
    add to the chart

Right-click in the cell
75
Lab 4c How to create a Graph for basic port
counters
  • Add the data series to the preconfigured graph,
    called Tx v.s Tx
  • Click Ok

76
Lab 4c How to create a Graph for basic port
counters
  • You should notice the Graph with the recently
    added data series showing Rx Sig frame rate on
    Port 1
  • Repeat these steps for Port 2 so that will have 4
    data series showing traffic from both ports
  • To draw more emphasis, click on a data series and
    click on the Highlight function

77
Topic 3 Whats a Hyper filter?
78
Hyper filters
  • STC 2.0 has four 16-bit filters and one 32-bit
    filter
  • Each one of these filters is user configurable
  • They can be used independently or together
  • Any field in any header may be used for analysis
  • All other unfiltered information is collected as
    overflow data
  • Filters may be saved as templates for later use
  • Filtered stream data is shown in a separate tab
    in the Results view

79
Hyper filters
  • There are two ways to configure a filter
  • Template Filters use the PDU-builder interface
    to easily select portions of the frame by name
  • Custom Filters create custom 16 or 32-bit
    filters by specifying a specific location in the
    frame
  • Advantages of template filters
  • They are easy to configure
  • They have the same look/feel as the PDU builder
  • They do not require that the user knows the
    location of the object within the frame
  • They are reusable Users can define and save
    their own favorite template filters
  • After selecting filter contents a filter summary
    is automatically shown

80
PGA Key Capabilities - Spirent TestCenter RX
Analyzer with HyperFiltersTM
Just 8 of the 120 Spirent TestCenter Options!
Source
Destination
QoS Level
L3 Protocol
Source/Destination Pairs
Source QoS
L3 Protocol QoS
81
RX Analyzer HyperfiltersTM
The results are viewable in the Filtered Stream
Results
82
LAB 5 How to configure a Hyper filter
83
Lab 5 How to configure a Hyper filter
  • Under the first port, click on the Traffic
    Analyzer
  • Check mark the Show All Fields box to expand the
    Filter template

84
Lab 5 How to configure a Hyper filter
  • Within the PDU template, click on the Destination
    Box to indicate that you want filter on Dst IP
    address. Leave as default.
  • Press the Apply button to activate the
    Hyperfilter

85
Lab 5 How to configure a Hyper filter
  • On the second result window, click on the Change
    Result View, and scroll down to Stream Results,
    and choose Filtered Stream Results

86
Lab 5 How to configure a Hyper filter
  • Notice that the filter is now showing the value
    of the Dst IP address while providing all the
    metrics as the Detailed Stream Results.
  • This can be used to validate the function of a
    DUT remarking a packet, while tracking packet
    loss, latency, sequencing and the more
  • Click on the Advanced Sequencing to see Dropped
    frame count in Real-time

87
  • LAB 6
  • Troubleshooting
  • -How to use the Real-time and Post-analysis
    Capture
  • -Diagnostic Loopback
  • PING, view Resolved ARP

88
Lab 6a Troubleshooting - How to use the
Real-time and Post-analysis Capture
  • Very helpful in debugging control-plane events
    such as routing sessions or adjacencies not
    coming up.
  • Ability to see both TX and RX packets
  • Under the first port, click on the Capture icon
  • Click the Settings button
  • Make sure youve already installed the STC
    Clearsight plug-in for Real-time analysis
  • Browse to the Clear sight executable for both
    windows
  • Click OK

89
Lab 6a Troubleshooting - How to use the
Real-time and Post-analysis Capture
  • In the Real-Time Mode box, choose Enabled
  • Click on the Start button to start capturing
    traffic. This will launch Clear sight analyzer
    to display real-time packet flows

90
Lab 6a Troubleshooting - How to use the
Real-time and Post-analysis Capture
  • You can view packets flowing in Real time
  • By pressing the Stop button you can stop capture

91
Lab 6a Troubleshooting - How to use the
Real-time and Post-analysis Capture
  • In the Real-Time Mode, choose Disabled (this uses
    the Post-analysis capture)
  • Press the Start button to activate capture
  • Press the either the Stop or View button to see
    the packets
  • Note this takes a couple of seconds for
    Clearsight to show the captured output the first
    time you launch te decoder. Be patient ?

92
  • LAB 6
  • Troubleshooting
  • -How to use the Real-time and Post-analysis
    Capture
  • -Diagnostic Loopback
  • PING, view Resolved ARP

93
Lab 6b Troubleshooting Diagnostic Loopback
  • Verify what the traffic generator is sending
  • Click on any port
  • Click on the Ethernet Advanced
  • Click on the Diagnostic Loopback
  • Click on the APPLY button
  • Start Traffic
  • View results and see port receive what the
    traffic generator is sending

94
Lab 6c Troubleshooting Ping and view resolved
ARP
  • Verify IP connectivity from Host blocks, and
    Emulated Router
  • Highlight the Hosts
  • Right-click on the Host block grid
  • Choose Ping

95
Lab 6c Troubleshooting Ping and view resolved
ARP
  • View resolved ARP from the Host block
  • When sending L3 IP over Ethernet traffic and
    traffic is not getting all the way through the
    DUT, view the Resolved ARP

96
LAB 7 How to create DHCP hosts using Hosts
wizard and to send traffic
97
Lab7 topology
DUT DHCPv4 server
DHCP client
DHCP client
STC port 1
STC port 2
.1
.1
  • Host block Name
  • DHCP_host-2
  • IP address assigned by DUT (102.0.0.100 110)
  • GW IP 102.0.0.1/24
  • Host block Name
  • DHCP_host-1
  • - IP address assigned by DUT (101.0.0.100 110)
  • GW IP 101.0.0.1/24

Please refer to your lab sheet for IP addressing
98
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Select port(s) to create hosts on. Use first port
    reserved.
  • Click Next
  • Choose which type of Host
  • Choose Access/Multicast
  • Check DHCPv4

Fact by choosing Access/Multicast means that
Host IP address(s) will be learned via the
protocol thats chosen or checked, in our case it
will be DHCPv4
99
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Select Encapsulation choose IPV4
  • Click Next
  • Configure Hosts Leave everything as default
  • Configure the IPV4 gateway address according the
    lab sheet.
  • Click Next

100
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Preview configuration
  • Make sure GW address and Src mac address is
    correct
  • Click Finish
  • Click NO . This will append the DHCP host to the
    existing Hosts

101
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Within the Hosts Grid, click on the DHCP tab
  • Take note that there is an Active column
    indicating that the last host within the grid
    will be using the DHCP, while the other hosts are
    not.
  • Rename the host to DHCP_host-1

102
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Repeat these steps for the second reserved port
    in the test
  • Note be sure to follow the assigned addresses
    from your Lab sheet and name the second host on
    port 2, DHCP_host-2
  • When your finished, Click on the All Hosts icon
    to see all configured hosts across all ports. You
    should see something like this below

103
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Click on All Stream Blocks
  • Click Add
  • Select both ports
  • Set Distribution to Pair
  • Set Encapsulation to IPV4
  • For Src endpoint, choose the DHCPv4_host-1
  • For the DST endpoint, choose DHCPv4)_host-2
  • Click Add
  • Click Next
  • Click Next

104
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Rename the Stream Block to DHCP_Bound_1-gt2
  • Set Frame size to 512
  • Set Scheduling mode to Priority Based
  • Set Load to 1
  • Leave everything else as default
  • Click Next
  • Click Next
  • Click Finish
  • Click NO to overwrite existing configuration
  • You should see the old Stream Blocks along with
    the newly created one

105
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Change results view back to Detailed Stream
    Results
  • Note make sure you disable the Hyper filter
    before switching views. This can be done by
    going to the analyzer and un-checking any field
    within the filter template. If you do not do
    this, the Detailed stream Results will NOT track
    the streams.

Nothing checked, turns of the Hyperfilter,
remember to press APPLY after
106
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Since we are emulating a DHCPv4 client on both
    ports, we need to send the request to the server
    to obtain our leased addresses.
  • Click on the All Hosts icon
  • Click on the DHCP tab
  • Notice that only the two Host blocks are enabled
    for DHCP
  • Click on the Bind Host Icon to start discovery
  • Next use the other result window to view DHCP
    control plane state and stats. Make sure the
    State is Bound

107
Lab 7 How to create DHCP hosts using Hosts
wizard and to send traffic
  • Click on the All Stream Blocks icon
  • Highlight the Stream block, DHCP_Bound_1-gt2-1
  • Right-click on the Stream Block, and choose the
    Start, to start sending traffic
  • Right-click on Stream Block to resolve arp
  • Look the at the Detailed Stream Results and you
    should see the new Stream block,
    DHCP_Bound_1-gt2-1, and notice both TX and RX
    counts increasing

108
LAB 8 How to create IGMP hosts, and to send
Multicast traffic
109
Lab8 topology
DUT
Multicast Source
IGMP client
STC port 1
STC port 2
.1
.1
Host block Name Src 102.0.0.2/24
  • Host block Name
  • IGMP_host-1
  • IP address 101.0.0.5/24
  • Mulicast group to join 225.0.0.1

Please refer to your lab sheet for IP addressing
110
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Go to port 1, and create and IGMPv2
  • Click on the Hosts icon
  • Click the Add button
  • Make sure port 1 is checked, and click Next
  • Click on Access/Multicast
  • Check the IGMP/MLD box
  • Click Next
  • Click Next
  • Enter the IPv4 address GW refer to your Lab
    sheet
  • Click Next

111
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Choose IGMPv2
  • Enter 1 for the number of groups
  • Enter the Starting group address refer to your
    Lab sheet
  • Click Next
  • Preview the IGMP host and Multicast group info
  • Click Finish

112
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Choose NO to append the Host to the existing
    configs
  • Rename the newly created Host block/Host to
    IGMP_host-1
  • Click APPLY

113
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Use one of the Results windows to view IGMP
    hosts, by switching to Host Protocols -gt IGMP
    Results
  • Click highlight on your IGMP host and click on
    the IGMP/MLD tab
  • Press the the Send Report for ALL Groups button
    to send the Join message
  • Verify that the IGMP has sent the Report/Join
    message

114
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Now, lets create the Host who will be acting as
    the Multicast source
  • Click on the Hosts icon on the second port
  • Click Add to create the Multicast source host
  • Make sure the second port is checked and click
    Next

115
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Click on the Traffic only button
  • Click Next
  • Leave everything default and click Next
  • Enter the IP address of the Host and Gateway
    address. Refer to your Lab sheet for addressing
    information
  • Click Next

116
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Preview and verify the addressing info
  • Click Finish
  • Choose NO to delete existing Hosts.

117
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Click the newly created Host and rename it to
    Src-225.0.0.1
  • Click APPLY

118
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Go to the Traffic Generator on Port 2, and use
    the Traffic Wizard to create a Bound Stream from
    Src-225.0.0.1 to 225.0.0.1
  • Choose Pair for distribution
  • Set Encapsulation to IPV4
  • Add the src-dst pair to the window below
  • Click Next
  • Click Next

119
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Rename the Stream block name to 225.0.0.1
  • Change
  • Frame size to 512
  • Scheduling to Priority Based
  • Load 1
  • Click Next
  • Click Finish
  • Choose NO to overwrite existing configuration

120
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Back on the Traffic Generator gird, you should
    now see the newly created stream block, called
    225.0.0.1-1
  • Uncheck the other Stream blocks leaving
    225.0.0.1-1 only active
  • Click APPLY
  • Use one of the Results window to switch to the
    Basic Traffic Results

121
Lab 8 How to create IGMP hosts and to send
Multicast traffic
  • Right-click on the Traffic Generator on Port 2,
    choose Start Traffic
  • You should now see both Tx and Rx counters
    increasing
  • Question what feature did we learn that will
    allow us to verify multicast replication across
    each vlan?

122
Topic 4 Command Sequencer
123
Command Sequencer
Automation in the GUI!!!!
  • The Command Sequencer includes over 130 commands
    including all protocol, stream, capture and more
  • It can be run at any time in the GUI and shows
    status and time stamp for each event
  • Command Sequencer also includes Run External
    Event command which enables White Box testing to
    interact with the DUT/SUT during the test.

124
Command Sequencer, What can I use it for?
  • RFC tests 2544, 2889
  • New protocol independent commands stopping and
    starting devices, capture, analyzer, and
    generator to name a few
  • Iterating sequence loops
  • Create new combinations of protocols and
    sequences of events
  • Powerful selection over when commands are
    executed
  • Allows for synchronous and asynchronous execution
  • Combine smaller tests into a mega-test sequences
  • Elimination of the need to code tests

125
LAB 9 How to use the Command Sequencer and
export the results to the Results Reporter
126
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • Click on the Command Sequencer tab
  • Click on the Edit Command Sequence

127
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • Using what we have already configured in our
    previous labs, lets use the CS to do the
    following
  • Wait 10 seconds
  • Send Join message
  • Wait 5 seconds
  • ARP the DUT on my Multicast source host on Port
    2, Source-225.0.0.1.
  • Send Traffic from Port 2 to 1, using STREAM
    block, 225.0.0.1-1
  • Wait 15 seconds
  • Send Leave message
  • Highlight all commands and do a Right-click and
    choose Group Commands
  • Choose Fixed and enter 1 for the of loops
  • Click OK

128
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • There are two ways to start the Command Sequencer
  • Start Sequencer button
  • Step Sequencer
  • Click on the Start sequencer command

or
129
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • You should now see the sequencer go through each
    command
  • Go back to you the results window and observe the
    Tx v.s Rx graph and verify counters
  • Once the Command Sequencer is finished, you
    should see all check marks at each command

130
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • When finished you can go to File-gtSave Result
  • This will export all results to the Results
    Reporter

131
Lab 9 How to use the Command Sequencer and to
export the results to the Results Reporter
  • You can also write to the Results Reporter during
    a test by inserting the command,
    EOTResultsWriteIterationCommand

132
Lab assignments
133
Done!Thank you
Write a Comment
User Comments (0)
About PowerShow.com