Administrator’s Handbook
126
set filterset name
filterset_name
rule
number
match-dscp [
number
|
diffserv_class_string
]
Matches diffserv class with supplied numerical value, which can be in decimal(ex: 32) or in Hex(ex: 0x20);
Or match the supplied diffserv class. This value may be any of the BE, EF, AFxx or CSx classes. A full list is:
{ "CS0", 0x00 }
{ "CS1", 0x08 }
{ "CS2", 0x10 }
{ "CS3", 0x18 }
{ "CS4", 0x20 }
{ "CS5", 0x28 }
{ "CS6", 0x30 }
{ "CS7", 0x38 }
{ "BE", 0x00 }
{ "AF11", 0x0a }
{ "AF12", 0x0c }
{ "AF13", 0x0e }
{ "AF21", 0x12 }
{ "AF22", 0x14 }
{ "AF23", 0x16 }
{ "AF31", 0x1a }
{ "AF32", 0x1c }
{ "AF33", 0x1e }
{ "AF41", 0x22 }
{ "AF42", 0x24 }
{ "AF43", 0x26 }
{ "EF", 0x2e }
set filterset name
filterset_name
rule
number
match-src-port
number
[
number
]
Matches TCP|UDP source port field or port range.
set filterset name
filterset_name
rule
number
match-dst-port
number
[
number
]
Matches TCP|UDP destination port field or port range.
set filterset name
filterset_name
rule
number
match-tcp-flags
tcp_flag_string
Matches TCP flags in a packet. The flag string is comma-delimited.
set filterset name
filterset_name
rule
number
match-packet-length
number
[
number
]
Matches packet length against value or range.
set filterset name
filterset_name
rule
number
action forward [ pass | drop | reject ]
Executes the named filterset’s default action:
pass
,
drop
, or
reject
.
set filterset name
filterset_name
rule
number
match-qos-marker-enable [ off | on ]
Turns the function of tagging the packet according to the queue marker name on or off. Default is
off
.