
336
C
HAPTER
15: P
ACKET
F
ILTERING
Port Group Filter
See “Using Port Groups in Custom Packet Filters” for a port group filter
example.
Limits to Filter Size
A packet filter program is stored in a preprocessed format to minimize the
space that is required by the packet filter definition. Comments are
stripped. When assigned to a port, the packet filter is converted from the
stored format to a run-time format to optimize the performance of the
filter. Each module is limited to a maximum of 16 packet filter programs.
The maximum length of a packet filter definition is 4096 bytes.
Storage Rules for
Preprocessed
Packet Filters
Each module provides a maximum of 2048 bytes of nonvolatile storage
for
preprocessed
packet filter programs. In the preprocessed stored
format:
■
A single packet filter program is limited to 254 bytes.
■
Each instruction in the packet filter program requires 1 byte for the
opcode and size, plus additional bytes for any explicit operands.
■
Module overhead is 22 bytes, plus a per-packet-filter overhead of
13 bytes. For example, assume a packet filter program requires 200
bytes for storing the instructions in the program. If this packet filter is
the only one loaded, the nonvolatile memory required is 22 bytes (for
module overhead) plus 13 bytes (for packet filter overhead) plus
200 bytes (for the program itself) — a total of 235 bytes.
Run-time Storage of
Packet Filters
For
run-time
storage of packet filter programs, each module provides a
maximum of 8192 bytes. There is no explicit system or per-packet-filter
overhead; however, performance considerations can result in unused
areas of the run-time storage.
The run-time format is approximately eight times the size of the stored
format. Thus a 200-byte packet filter program in stored format expands
to approximately 1600 bytes in the run-time format. A single packet filter
program cannot exceed 2048 bytes in the run-time format.
Содержание 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: ......