![background image](http://html1.mh-extra.com/html/3com/officeconnect-3c100xf/officeconnect-3c100xf_cli-users-manual_440829214.webp)
27-4
C
HAPTER
27: P
ACKET
F
ILTERS
The OR operation can be implemented by successive ACCEPT rules. For example,
to accept a packet if the source address is
xxx
, or the destination address is
yyy
,
use the following rules:
IP:
010 ACCEPT src-addr = xxx;
020 ACCEPT dst-addr = yyy;
Generic Filter Rules
Generic filter rules are similar in format to protocol filter rules. The following
shows the rule syntax.
The rule syntax is:
<line #> <verb> <keyword> <operator> origin = <DATA | FRAME>
offset = <value>/length = <value>/mask = <hexadecimal value>/
value = <hexadecimal value>;
The following table describes each field used in the rule syntax:
Table 27-2
Field
Description
line #
Each rule must have a unique line number (1-999). You must arrange
rules in increasing order.
verb
This field can be one of the following:
ACCEPT - allow the packet access if the condition is met
REJECT - do not allow the packet access if the condition is met
AND - logically use the AND condition with condition of the next
rule to determine if the packet is accepted or rejected. Both
defined conditions must be met.
keyword
For descriptions, see Keyword section at the end of this chapter
operator
Describes the relationship between the keyword and its value. The
operator field must be one of the following symbols that apply to the
specific keyword used:
= Equal
!= Not Equal
> Greater Than
< Less Than
>= Greater Than or Equal To
<= Less Than or Equal To
=> Generic
value
Contains an entity appropriate for the Keywords as described at the
end of this chapter.
Содержание OfficeConnect 3C100XF
Страница 1: ...http www 3com com OfficeConnect Gateway CLI User s Guide Release 1 0 Part No 10042302 Rev AA ...
Страница 14: ...xiv ...
Страница 18: ...iv ABOUT THIS GUIDE ...
Страница 30: ...1 12 CHAPTER 1 USING THE COMMAND LINE INTERFACE CLI ...
Страница 50: ...3 14 CHAPTER 3 ADMINISTRATIVE CLI COMMANDS ...
Страница 58: ...4 8 CHAPTER 4 CONFIGURING AND MANAGING USERS ...
Страница 70: ...6 8 CHAPTER 6 BRIDGING COMMANDS ...
Страница 78: ...8 4 CHAPTER 8 INTERFACE COMMANDS ...
Страница 82: ...9 4 CHAPTER 9 ARP COMMANDS ...
Страница 88: ...11 4 CHAPTER 11 DHCP COMMANDS ...
Страница 124: ...12 36 CHAPTER 12 IP ROUTING COMMANDS ...
Страница 134: ...13 10 CHAPTER 13 DNS COMMANDS ...
Страница 142: ...15 6 CHAPTER 15 MULTICASTING AND IGMP COMMANDS ...
Страница 160: ...17 8 CHAPTER 17 PPP COMMANDS ...
Страница 182: ...21 6 CHAPTER 21 ADDRESS TRANSLATION COMMANDS ...
Страница 186: ...22 4 CHAPTER 22 IPSEC COMMANDS ...
Страница 188: ...23 2 CHAPTER 23 SECURITY ASSOCIATION SA COMMANDS ...
Страница 192: ...24 4 CHAPTER 24 TCP COMMANDS ...
Страница 204: ...25 12 CHAPTER 25 SNMP COMMANDS ...
Страница 210: ...26 6 CHAPTER 26 IP FILTERS COMMANDS ...
Страница 238: ...29 6 CHAPTER 29 TRACEROUTE COMMANDS ...
Страница 255: ...xv RFC 1483 16 3 RFC 1483 MER 16 4 ...
Страница 256: ...xvi ...
Страница 260: ......