Technical information

Cuda 12000 IP Access Switch CLI Reference Guide
cm-filter 89
prot {any | tcp | udp
| <number>}
Specifies one of the following protocols for the filter:
any – Any protocol is filtered.
tcp – TCP packets are filtered.
udp – UDP packets are filtered.
<number> – Packets identified by the protocol number are filtered.
You can obtain official protocol numbers from the Internet Assigned
Numbers Authority (their Web site is www.iana.org). Specify a
number from 0 to 256. Note that specifying 256 is the same as
specifying “any.”
src <ip-address>
<mask>
Optional argument, specifying the source IP address and corresponding
mask to match. The default value for the address and mask is 0.0.0.0
(matches any source IP address).
dest <ip-address>
<mask>
Optional argument, specifying the destination IP address and
corresponding mask to match. The default value for the address and
mask is 0.0.0.0 (matches any destination IP address).
tos <tos-value>
<mask>
Optional argument, specifying the following values:
<tos-value> – Two-digit hexadecimal number indicating the Type of
Service (ToS) value (for example, 0a) to be matched against the ToS
value in IP packets. The default is 00.
<mask> – Two-digit hexadecimal number that specifies the mask to
be applied to the ToS value matched in the IP packet (for example
1b). The mask determines which bits are matched (a 0 specifies a
match while a 1 specifies no match). The default is 00, which means
that the ToS value you specify is matched against all ToS values in IP
packets.
src-port {any |
<number>}
Optional argument, specifying the source TCP or UDP port number to
match. Specify one of the following values:
any – Match any source port.
<number> – Match a source port number. The range is 0 to 65536
where a value of 65536 (the default) matches any value in the TCP or
UDP source port field. Specifying the 65536 value is the same as
specifying the any argument.
Note that this argument applies to TCP and UDP filters only.