
Common Syntax Errors
331
Common Syntax
Errors
When you leave the Administration Console’s built-in editor or load a
packet filter definition from across the network, the software examines
the definition for syntax errors. Table 67 lists syntax errors and their
causes.
Table 67
Common Syntax Errors
Syntax Error
Description
Opcode not found
OR
Unknown opcode
An opcode was expected on the line and was not found.
The opcode must be one of those described in “Packet
Filter Opcodes” later in this chapter and must include the
size, if any. The opcode and size must be separated by a
single period (.) with no intervening spaces. Any mix of
uppercase and lowercase characters is permitted.
Operands are not the
same size
The opcode requires two operands of the same size. The
top two operands on the stack are of different sizes.
Stack underflow
The opcode requires one or more operands. An insufficient
number of operands are currently on the stack.
Stack overflow
The opcode pushes an operand on the stack. The stack
does not have sufficient room for the operand.
No result found on top
of stack
The program must end with a byte operand on the top of
the stack. After the last instruction in the program is
executed, the stack is either empty or contains an operand
other than a byte.
Extra characters on
line
The source line contains extraneous characters that are not
part of the instruction and are not preceded by a comment
character (#).
Expected a byte
operand
The opcode requires a byte operand as one of its
parameters. The operand is of a size other than a byte.
Offset not found
The opcode requires an offset to be specified. None was
found on the line.
Literal not found
The opcode requires a literal value to be specified. None
was found on the line.
String not found
The opcode requires a quoted string to be specified. None
was found on the line.
Summary of Contents for 4007
Page 36: ...36 ABOUT THIS GUIDE ...
Page 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Page 38: ......
Page 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Page 52: ......
Page 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Page 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Page 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Page 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Page 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Page 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Page 350: ...350 CHAPTER 15 PACKET FILTERING ...
Page 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Page 534: ...534 CHAPTER 20 IPX ROUTING ...
Page 612: ...612 CHAPTER 22 QOS AND RSVP ...
Page 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Page 657: ...IV REFERENCE Appendix A Technical Support Index ...
Page 658: ......
Page 664: ......