Viavi Xgig User Manual page 167

Table of Contents

Advertisement

Template Editor
Entering Values that Cross Byte Boundaries
Port values are generally understood as decimal numbers. For example, an NFS port is known as
decimal 2049. Patterns are expressed as bytes and begin on byte boundaries. It takes two bytes to
express a port number. Therefore, for port numbers you must convert the decimal number to a
value that can be entered on a byte boundary. The example below shows how to enter NFS port
2049 in the display.
Take the port number (2049) and divide by 256. The result is 8 remainder 1. In IP "dot"
1
notation, this could be expressed as "8.1".
2
Set the Data format pull-down box in the display to Decimal. Values in the Data pattern area
will be entered in decimal.
3
Enter 8 in offset 34 and enter 1 in offset 35. Enter 8 in offset 36 and 1 in offset 37. This sets the
selection to both the source and the destination port.
If a port number is a decimal value less than 256, then the value of the first byte of the port number
is zero, and the second byte is the decimal port number. For example, for HTTP port 80, enter zero
in offset 34 and 80 in offset 35.
The byte-boundary restriction applies to any other decimal number, such as a number in a data
pattern that you want to select for. You must first convert it so the value is expressed using byte
boundaries.
Bit-Level Patterns
Xgig TraceControl can create a pattern at the bit level. To set a bit pattern, place the cursor within
a byte field in the
dialog box displays. The dialog box gives the number of the offset you are currently
Pattern
changing in its title bar. Enter any values for each bit that you want to include in the template.
Leave values that you do not care about marked with an X. An example
box is shown below:
Xgig Analyzer User's Guide
Current Template Display
Chapter 5, Template Browser/Template Editor
area. Press the
Set Bit Pattern
button. The
Bit Level
dialog
Bit-Level Pattern
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents