360 likes | 795 Views
Agenda. Spirent's Cisco Support Team Key Spirent Support Sites Chassis
E N D
1. SNT Training
2. Agenda Spirent’s Cisco Support Team
Key Spirent Support Sites
Chassis & Card Overview
SNT
Installation
Configuration
Running
Results
Firmware Management
Chassis IP Address Set/Change
3. Cisco Team San Jose Tim Jefferson – Area Director
Mike Murphy – Sr. Account Manager – MFG,Security,Voice,High End Routing
Josh Jansen – Account Manager – Switching + Metro
Alex De Ocampo – Prin. Systems Engineer – R&S
Marc Pelletier – Sr. Systems Engineer – R&S, Security
Carl Lee – Sr. Systems Engineer – Voice
Robert Ho – Sr. Systems Engineer – R&S, CCIE #7312
Matt Jefferson – Sr. Systems Engineer - Automation for Cisco MFG
Deepak Mehta – Systems Engineer - Automation
Shaun Tamblin – Systems Engineer - Security
Morgan Cook – Sales Support
4. Key Support Websites
5. Support Process Production Related Issues:
Examples:
Smartbits chassis is down!
What is the meaning of this error message shown in SNT?
Front Line :
China TAC : +86 (10) 82-33-00-33
Mention “Cisco Manufacturing”
Sheng (Ryan) Zhong : +86 13761145660
For onsite assistance in Shanghai
Jaimin Wan : +86 13826009175
For onsite assistance in Shenzhen
Escalation :
ciscomfgsupport@spirent.com
Goes to Matt Jefferson, Mike Murphy, and Asia Team
General Questions:
Examples:
How do I create IMIX configuration?
What is the best way to test this scenario?
Email to : ciscomfgsupport@spirent.com
6. Smartbits Hardware Overview
7. Different Linecard Types Traditional vs. Smartmetrics Terametrics
For SNT, Smartmetrics cards can have many streams, and Traditional cards can only have 1 stream.
Terametrics cards are Smartmetrics+, they have everything the Smartmetrics cards have plus they have Layer4-7 processing.
Traditional Cards (mainly on smb-2000)
SX-7410, LAN-3100, LAN-3200, AT-9155, AT-9622.
Only gives per PORT statistics
SmartMetrics Cards
ML-7710, LAN-3101, LAN-3201, LAN-3310.
Gives per port and per stream statistics
Terametrics Cards (routing, L4-L7, + rates per stream capability)
LAN-33XX, XFP-3731 (10G)
8. What is a Command Line Interface (CLI)
9. Physical Topology
10. Basic Test Layout
11. Ways to Run Smartbits in Production SNT+
Configuration file driven (*.SNT and *.SAI)
Most widely deployed driver
Ideal for short duration batch mode style testing
Cisco Products = Cat6k, Cat4k, WNBU, ATG (New ATG product by Hong Lu)
SNTtc
Command-line driven
Ideal for dynamic configuration file creation
Modular: Supports Spirent TestCenter, Avalanche and the SmartBits platforms
Cisco Products = 7600 (SPA), DC3, CRS
SNT
Command-line driven
Only supports data-plane traffic on the SmartBits platform
Cisco Products = Cable, MDS, ATG, DSBU, VTG
Custom Scripts
Generally written by Cisco TE, typically > 5 years old, done prior to SNT+ creation. Not recommended by Spirent due to support challenges
Cisco Products = 7x00 Routers Use sentence case in bullet points, DO NOT use all caps, or initial caps.
Use no punctuation at the end of sentences.
Use bold or italics for emphasis, but not all the time.
Try not to have more than five major bullets of text on a page, and not more than 8 lines of text. Don’t try to cram everything into one slide -- make major points on the slide and use notes pages or your voice track to add in the details.
Use sentence case in bullet points, DO NOT use all caps, or initial caps.
Use no punctuation at the end of sentences.
Use bold or italics for emphasis, but not all the time.
Try not to have more than five major bullets of text on a page, and not more than 8 lines of text. Don’t try to cram everything into one slide -- make major points on the slide and use notes pages or your voice track to add in the details.
12. Spirent TestCenter Introduction
Spirent’s new chassis
Existing Cisco groups continuing with SmartBits (Cat6k, Cat4k)
New Cisco groups with no Spirent equipment are deploying Spirent TestCenter
Recent wins with CRS, DC3, and STBU Cisco products
13. My Topology for Demonstration
14. Installation + Start Download snt.zip from www.gospirent.com/mfg
FTP snt.zip to your Sun workstation
Simply copy this zip file to where you want to install it on the workstation.
Extract the file with "unzip snt.zip"
Set the LD_LIBRARY_PATH to point to the *.so file that is included:
Example = setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/autoprog/foxconn/snt
Set permissions with “chmod 777 *” on snt directory and contents
To Start = ./sntx.x <chassis ip>
15. Configuration – Reserving Ports conf terminal
port 0
reserve 1/4/1
exit
port 1
reserve 1/4/2
exit
16. Configuration for Router UUT General Tip = All commands are “autocomplete”, meaning you do not have to type the whole word. “sh por” is the same as “show port”
Note = framerate can only be set on stream level for certain cards (lan-33xx). For older cards (i.e. lan-3101 or smb-2000 cards) rate is set on the port level
config t
port 0
packetcount 10000 # sets port to generate 10,000 packets
stream create 1 # create emulated device on logical port 0
stream 1 # enter configuration mode for stream (emulated device)
macdest arp # enables arp resolution for destination MAC, required for routers
ipsource 20.1.1.2 # sets source ip address of emulated device
ipdest 30.1.1.2 # sets destination ip address of emulated device
packetsize 512 sets packet size for emulated device to transmit
framerate 10000 # sets frames per second to generate, actual rate would be fps * frame size * 8 (to convert to bits) or 10000 * 512 * 8 = ~40mbps
Exit
port 1
packetcount 10000
stream create 1
stream 1
macdest arp
ipsource 30.1.1.2
ipdest 20.1.1.2
packetsize 512
framerate 10000
17. Configuration for Switch UUT config t
port 0
packetcount 10000
stream create 1 # create emulated device on logical port 0
stream 1 # enter configuration mode for stream (emulated device)
macsource 00-00-00-00-00-01 # sets source mac address for traffic
macdest 00-00-00-00-00-02 # sets destination mac address for traffic, arp not required when testing a switch
packetsize 512
framerate 10000
port 1
packetcount 10000
stream create 1
stream 1
macsource 00-00-00-00-00-02
macdest 00-00-00-00-00-01
packetsize 512
framerate 10000
18. Show Commands
19. Run and Results SNT> run port all # runs all the ports configured in the test for the duration defined in the ports statement
SNT> run port 0 # runs only port 0, no other ports will generate, all ports still receive
SNT> run port 0-1 # runs only ports 0 through 1. If there were 10 ports in this test, only 0- 1 would generate traffic
SNT> show count # shows port counters only
Pt#/Stream# TxFrames RxFrames RxBytes RxTriggers OverSize UnderSize CRCErrors
0 1000 1000 516000 0 0 0 0
1 1000 1000 516000 0 0 0 0
SNT> show bcount # shows stream counters, more details on next slide
Pt#/Stream# TxFrames RxFrames RxBytes RxTriggers OverSize UnderSize CRCErrors
0 1000 1000 516000 0 0 0 0
(1/4/1) 1 1000
(1/4/2) 1 1000
1 1000 1000 516000 0 0 0 0
(1/4/2) 1 1000
(1/4/1) 1 1000
SNT> clear counters #erases port and stream counters
20. Port Results vs. Stream Results A port can have multiple streams. A stream is defined as an individually trackable item usually with unique attributes like a different source ip address.
Benefit : Allows for more detailed pass/failure analysis
Example : The below topology shows two Smartbits ports testing x number of UUTs, in this case UUTs are IP phones (current Foxconn configuration). The 3rd UUT is failing
21. Internet Mix (Imix) Traffic Traditionally, Cisco runs three separate tests at different frame sizes, i.e. 64, 512, 1518. Some groups have changed to one test, running a mixture of framesizes, modeled after a realworld network.
IMIX is defined as a 7:4:1 ratio of 64:512:1518 byte packets. This means that for every 12 packets, 7 are 64 bytes, 4 are 512 and 1 is 1518.
This is another example of how to utilize streams
Example:
port 0
reserve 1/4/1
packetcount 100000
stream create 3
stream 1
packetsize 64
framerate 7000
stream 2
packetsize 512
framerate 4000
stream 3
packetsize 1518
framerate 1000
22. Other Configuration Options General + Root Prompt Commands
help or ? Displays list of available commands at that prompt
clear config Deletes running configuration
config <filename.cnf> Loads new configuration
write <filename> Saves existing configuration to file, .cnf automatically added to filename
exit Returns back one prompt
end Returns back to root prompt
Port level configuration menu
speed Set port transmission speed (10/100/1000 Mbps, autoneg)
duplex Set port transmission type (full/half duplex)
phyint Set physical interface for dual-media 1G (copper/fiber)
packetcount Change the # of packets to send
pattern Set packet payload, default is 0000
show Show port and stream level parameters for current port
exit | end Return to main command level
23. Unix No Nos Cautions for UNIX
DO NOT DO CTRL-Z on SNT. CTRL-Z is a standard Unix operative to put the foreground job into the background. If you accidentally do this, snt will disappear
type “jobs” to see how many SNT’s are stopped
you must type “fg” to get back each snt you put in the background ( fg is unix for “foreground” )
If you find SNT is not connecting, and you may have done some strange things like CTRL-Z or prehaps started many SNT sessions you did not want, use “astop snt” to get rid of them all.
24. Smartbits Hardware No Nos Smartbits cards are NOT Hot-Swappable.
Power OFF the Smartbits chassis if you want to swap cards. Smartbits cards are static-senstive, so use of a grounding strap is recommended.
25. SNT Firmware Requirements
26. SNT Firmware Requirements How do you check what is currently installed?
The text (Click here to add text) and title (Click here to add title) placeholders are set where they should be, DO NOT change or delete them. They are there for a reason, and when applying different templates they automatically format to the template formatting.
Text slides ? there are two placeholders for text. The first placeholder is for the title of the slide, font is Arial, Bold, 36 point, color is orange. Titles should be initial cap, except for articles and conjunctions (a, an, and, but, for, nor, it, to, the), like in a newspaper headline.
Try to stay within one line in the title, DO NOT use more than two.
The text (Click here to add text) and title (Click here to add title) placeholders are set where they should be, DO NOT change or delete them. They are there for a reason, and when applying different templates they automatically format to the template formatting.
Text slides ? there are two placeholders for text. The first placeholder is for the title of the slide, font is Arial, Bold, 36 point, color is orange. Titles should be initial cap, except for articles and conjunctions (a, an, and, but, for, nor, it, to, the), like in a newspaper headline.
Try to stay within one line in the title, DO NOT use more than two.
27. SNT Firmware Requirements
Snt> run
Dump port(0,0,0)
(1.117) ERROR: [Fatal] (Code = -504) ERROR: The LAN-3325A SmartCard/SmartModule that "snake_1" belongs to lacks the minimum firmware required.
Firmware 5.00 was detected.
Firmware 5.50 or higher is required.
Halting test...
28. SNT Firmware Requirements Go to www.gospirent.com , software section
29. SNT Firmware Requirements What is firmware download manager?
Windows based GUI used to upgrade firmware and add RPM(for bgp) files to card
30. SNT Firmware Requirements http://www.gospirent.com/techtips.html
31. Upgrading Firmware on SMB-600/6000
32. Upgrading Firmware on SMB-600/6000
33. Upgrading Firmware on SMB-600/6000
34. Upgrading Firmware on SMB-600/6000
35. Upgrading Firmware on SMB-600/6000
36. Setting IP address For Smartbits:1. Telnet 10.1.1.x2. login = login3. IPADDR (shows current IP address)4. IPADDR x.x.x.x (changes IP address)5. GATEWAY (shows current gateway)6. GATEWAY x.x.x.x (changes gateway)7. NETMASK (shows current netmask)8. NETMASK x.x.x.x (changes netmask)9. SAVE10. Power cycle smartbits
If no IP connectivity, follow this same procedure via console cable
If 2000 chassis, you will need type "echo on" before you'll see your own outputHyperterminal Settings: 38400, 8, N, 1, Xon/Xoff
37. Setting IP – Screen Shots