Tuesday 5 September 2017

Spirent [STC] points to remember!!

Spirent [STC] points to remember!!


1. Raw and bound are custom traffic.

2. Single device can run multiple protocols same time.

3. TCP, ARP are emulated frames. Test frames contains signature field.

4. On the fly while running the test we can change load profile.

5. Control plane packets will capture both Tx and Rx packets in Wireshark.

6. One test profile can have 4000 stream blocks

7. Hypermetrics CM module can have 32000 streams.

8. Each modifier can have one stream or same modifier can be used for multiple streams.

9. Use streams option will create separate stream for each variation.

11. Signature filed is used to track the frames in term of streams, sequencing of packets and 
      latency information.

12. Each analyzer can analyze upto 64000 streams.

13. Control plane statistics: data which is generated by CPU like ARP, ICMP, PPP

14. STC software and firmware version must match.

15. Single port reservation is possible in case of 10GE port or HM CM module having version
      > 3.3X otherwise ports are reserved in multiple of two.

16. Individual ARP request result can be viewed under port traffic and counters -> arp nd results.

17. In bound stream, by default traffic is port based. Port based mode means traffic will
      be shared.

18. By default analyzer set to analyze everything but it’s basically looks for the stream ID.

19. Analyzer preload is new feature added in 3.50 version. It has a ability to detect dead
      streams and will know what kind of traffic to expect.
      This option is enabled under streamblock.

20. Real time results refresh in 1 sec


21. A single port can have 32K devices.

22. Devices and routes can be mixed in single stream block or port.

23. Raw and bound stream blocks can be mixed in single test.

24. Each port can provide counts and rates for 32K streams

Advantage of lab server:
-one tcp connection only
-more session based on the number of user connected.
-for overnight test.

Use of raw streams block:
-to create bad traffic
-want to simply send traffic irrespective of destinations.

The default ToS/DiffServ on Raw Streamblock is 00 while the Bound Streamblock is C0.
All packets associated with one particular steam have a signature field with the same stream ID.
Signature field is 20 bytes

How to make DUT as dhcp server
Config t
# ip dhcp pool spirent
# network 1.1.1.0 255.255.255.0

R# show ip dhcp bindings
Clear ip dhcp binding *

Stc can be configured as dhcp client or server .
Dhcp client : cisco router
#int g0/2
Ip dhcp client class-id abc

OSPF config in DUT
Ospf : 
Router ospf 1
Network 192.168.11.0 0.0.0.255 area 0
Network 192.168.12.0 0.0.0.255 area 0

Show ip route
Show ip ospf int
Show ip ospf neighbor

Bigger the frame size, more is the latency but there will be less no of drops since router has to process less packets.

OSPF config in STC:

1.Go to Port eg. 1/5 -->Go to Devices->Select Add on the Top.
2.Select the port 1/5 and then None(Traffic only devices) and next.
3.change the ip give 20.20.20.4  and gateway as 20.20.20.5 as in connecting DUT.check the dut config and then next finish.
4.Click in ospf tab and enable Active and the make dead interval same as other side 60 in this case and helo interval as 15 ..it is 1/4 of dead interval. And then select router and start the device on the add tab.
5.Router ospf neighborship is up -- its should b full in Spirent.
6.see "sh ip ospf neighbor" in the dut to see the neighbourship.
7.Now to pump route.
8.select lsa generator on the add toolbar and select the port 1/5
9.select next make necessary changes and then check for the prefix if needed to be changed otherwise use default.
10.Select next and then enter the number of routes to create eg.20.
11.select if you need to alter any new options and proceed next and finish.
12. Apply the changes and then check "sh ip route" and " sh ip ospf route"
both should have learnt the 20 routes pumped by ospf.


BGP config in DUT.
BGP :
Router bgp 100
Neighbor 1.1.1.2 remote as 200
Neighbor 2.2.2.2 remote as 300

Show ip route
Show ip bgp summary
Show ip bgp
Show ip bgpo neighbors

4 byte as no is used if there are many AS numbers.

2 management ports in present in 9U Chasis.

AC failure means power cable is not connected . DC failure means AC power is not converted into DC power. This chould be a serious issue.

In avalanche u need to install license in your pc for the application you are running.
In STC one time only license need to be installed.

CPU 5002A modules: each  8 port act as individual port : 8 core : default profile is l4/l7
CM modules : there are 4 port groups. Each port groups contains 2 ports. default is stc . Need to install l4/l7 package
DX : 4 port groups : 10 Gbps*4 = 40 Gbps
DX2 is single slot with 32 ports.
CM – 1G – D4 == dual 4 ports. 2 port groups. Dual == optical + electrical

If you are running through wizards , capture is disabled , you need to run manually for capture but through script it is possible.

Simple raw traffic is called data traffic.
Anything with routing and other protocols is called : control traffic

RFC 2544 : benchmarking for network interconnected devices. L2/L3 switches

RFC 2889 : Benchmarking methodology for LAN Switching devices

RFC 2889 : Methodology for IP Multicast benchmarking

Spirent TestCenter is fully interactive: Control and data plane parameters can be changed dynamically, and real–time feedback can be received. All tests can be saved as configuration files for simplified test automation.

There are two classes of Spirent TestCenter packages:
-The Base packages provide software for testing network protocols.
-The Test packages provide software for testing based on well-defined testmethodologies that
  are either RFC-based standards or developed by Spirent in working with its customers


No comments:

Post a Comment

Note: only a member of this blog may post a comment.