2-92
Cisco Broadband Cable Command Reference Guide
OL-1581-08
Chapter 2 Cisco CMTS Configuration Commands
cable filter group
cable filter group
To create, configure, and activate a DOCSIS 1.1 filter group that filters packets on the basis of the
TCP/IP and UDP/IP headers, use the
cable filter group
command in global configuration mode. To
delete a filter group or to reset a particular option to its default value, use the
no
form of this command.
cable filter group
group-id
index
index-num
[
option option-value
]
no cable filter group
group-id
index
index-num
[
option option-value
]
Syntax Description
group-id
Specifies a unique group ID for this filter group. The valid range is 1
to 256.
index-num
Specifies a unique index for this particular filter. The valid range is 1
to 128.
Specify one of the following options and option-values:
dest-ip
ip-address
(Optional) Specifies the destination IP address that should be matched.
The default IP address is 0.0.0.0.
dest-mask
mask
(Optional) Specifies the mask for the destination address that should be
matched. The
mask
is ANDed with the IP address specified by the
dest-ip
option and compared to the result of ANding the
mask
with the
packet’s destination IP address. The filter considers it a match if the
two values are the same.
Note
The default mask of 0.0.0.0 matches all IP addresses.
dest-port
port-num
(Optional) Specifies the TCP/UDP destination port number that should
be matched. The valid range is 0 to 65535. The default value matches
all TCP/UDP port numbers.
ip-proto
proto-type
(Optional) Specifies the IP protocol type number that should be
matched. The valid range is 0 to 256, with a default value of 256 that
matches all protocols. Some commonly-used values are:
•
1 = ICMP, Internet Control Message Protocol.
•
2 = IGMP, Internet Group Management Protocol.
•
4 = IP in IP encapsulation.
•
6 = TCP, Transmission Control Protocol.
•
17 = UDP, User Datagram Protocol.
ip-tos
tos-mask tos-value
(Optional) Specifies a type of service (TOS) mask and value to be
matched:
•
tos-mask
= 8-bit value expressed in hexadecimal notation. The
valid range is 0x00 through 0xFF.
•
tos-value
= 8-bit value expressed in hexadecimal notation. The
valid range is 0x00 through 0xFF.
The
tos-mask
is ANDed with the
tos-value
and compared to the result
of ANDing the
tos-mask
with the packet’s actual TOS value. The filter
considers it a match if the two values are the same.
Note
The default values for both parameters matches all ToS values.