
324
C
HAPTER
15: P
ACKET
F
ILTERING
pushLiteral.size
<value>
1 (.b)
2 (.w)
4 (.l)
6 (.a) bytes
depending on the
size of <value>
plus 1 byte for a
total of 2, 3, 5, or 7
bytes
Pushes a literal constant <value> onto the stack. The
most significant byte of the <value> is the first byte of
the literal. Bytes are copied directly from the operand
onto the stack. The size field of the instruction
determines number of bytes pushed.
Specify the value as either an octal, decimal, or
hexadecimal number.
■
Precede an octal number by a “0”.
■
Precede a hexadecimal number by either “0x” or
“0X”.
■
Use either upper or lower case letters for the
hexadecimal digits “a” through “f”.
pushTop
1 byte
Pushes the current top of the stack onto the stack (that
is, it reads the top of the stack and pushes the value
onto the stack, which effectively duplicates the item
currently on top of the stack). The size of the contents
of the stack determines the size of the push.
Use
pushTop
for each additional comparison you
intend to make with the current top of the stack. The
pushTop
instruction makes a copy of the field more
efficiently than if you use a second
pushField
instruction.
If you are writing a filter that is going to check the
same offset more than once, such as checking the
Ethernet type field to filter multiple protocols, use the
following guidelines. Assume that you want to filter
DEC LAT, IP, and ARP traffic on a port.
Table 66
Packet Filtering Opcodes (continued)
Opcode
Memory
Requirements
Description
Содержание 4007
Страница 1: ...http www 3com com Switch 4007 Implementation Guide Release 3 0 5 Part No 10013673 Published May 2000 ...
Страница 36: ...36 ABOUT THIS GUIDE ...
Страница 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Страница 38: ......
Страница 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Страница 52: ......
Страница 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Страница 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Страница 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Страница 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Страница 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Страница 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Страница 350: ...350 CHAPTER 15 PACKET FILTERING ...
Страница 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Страница 534: ...534 CHAPTER 20 IPX ROUTING ...
Страница 612: ...612 CHAPTER 22 QOS AND RSVP ...
Страница 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Страница 657: ...IV REFERENCE Appendix A Technical Support Index ...
Страница 658: ......
Страница 664: ......