62-13
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 62 Configuring Network Security with ACLs
Layer 4 Operators in ACLs
–
Layer 4 operation 7 stores lt 9 deny from ACL 102
–
Layer 4 operation 8 stores range 11 13 deny from ACL 102
Using ACLs to Filter TCP Flags and How ACL Processing Impacts CPU
You can use IPv4 or IPv6 ACLs to filter TCP flags. You do this by configuring ACEs that make up an
access list to allow matching on a flag that is set.
You use a combination of flags on which to filter; these combinations are processed in hardware. Only
the following combinations are supported (applicable to IPv4 and IPv6 ACLs) and the flags must be used
in the specified combination:
•
rst
and
ack
—equivalent to the keyword
established
.
–
rst
—The reset flag indicates that the receiver should delete the connection without further
interaction.
–
ack
—The acknowledge flag indicates that the acknowledgment field of a segment specifies the
next sequence number the sender of this segment is expecting to receive.
•
syn
and
fin
and
rst
–
syn
—The synchronize flag is used to establish connections.
–
fin
— The finish flag is used to clear connections.
–
rst
—See above
•
psh
—The push flag indicates the data in the call should be immediately pushed through to the
receiving user.
•
urg
—The urgent flag indicates that the urgent field is meaningful and must be added to the segment
sequence number
Note
Match-all is not supported. Match-any is supported only when used in the following
combinations of positive flags: "rst and ack" (must be combined), "sync and fin and rst"
(must be combined), "psh" and "urg".
ACL processing can impact the CPU in two ways:
•
For some packets, when the hardware runs out of resources, the software must perform the ACL
matches:
–
The TCP flag combinations rst ack, syn fin rst, urg and psh are processed in hardware. Other
TCP flag combinations are supported in software.
–
If the total number of Layer 4 operations in an ACL is less than six, you can distribute the
operations in any way you choose.
To create an ACL (IPv4 or IPv6) to filter TCP tags, perform the following task:
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...