3Com SUPERSTACK 2200 User Manual page 188

Switch administration console
Table of Contents

Advertisement

A-14
A
A: P
PPENDIX
ACKET
F
O
, E
ILTER
PCODES
XAMPLES
Table A-1 Possible Syntax Errors When Loading Packet Filters (continued)
Syntax Error
Invalid
characters
in number
Number is too
large
Missing open
quote on string
String is too
long
Missing close
quote on string
Multiple name
statements in
program
Program too large
Too many errors
- compilation
aborted
,
S
E
AND
YNTAX
RRORS
Description
The number specified as an offset or literal is improperly
formatted. Possible causes are 1) lack of white space setting
off the number, and 2) invalid characters in the number.
Note: The radix of the number is determined by the first 1 or
2 characters of the number.
A number with a leading "0x" or "0X" is treated as
hexadecimal.
A number with a leading 0 is treated as octal.
All other numbers are treated as decimal.
The number specified as an offset or literal is too large.
An offset is limited to 1518 minus the size of the operand.
For example, the offset for pushField.b can be no more than
1517 and the offset for pushField.w no more than 1516.
A literal value is limited to the number of bytes in the
operand size (1, 2, 4, or 6).
The string specified does not have a starting quotation
mark (").
The string specified is too long. Strings are limited to 32
characters exclusive of the opening and closing quotation
marks.
The string specified does not have an ending quotation mark
(").
More than one name statement was found in the program.
Only a single name statement is allowed.
The program exceeds the maximum size allowed. The causes
of this error include a source definition exceeding 4096
bytes, a stored format exceeding 254 bytes, or a run-time
format exceeding 2048 bytes. All of these boundary
conditions are checked when the filter is loaded. See
Table 13-2 for more information on packet filter sizes.
The program contains an excessive number of errors. No
further syntax errors will be reported. The program stops
compiling when this condition occurs.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Superstack ii 2200

Table of Contents