Note
•
The ACL Support for Filtering IP Options feature can be used only with named, extended ACLs.
•
Resource Reservation Protocol (RSVP) Multiprotocol Label Switching Traffic Engineering (MPLS
TE), Internet Group Management Protocol Version 2 (IGMPV2), and other protocols that use IP
options packets may not function in drop or ignore mode if this feature is configured.
•
On most Cisco devices, a packet with IP options is not switched in hardware, but requires control
plane software processing (primarily because there is a need to process the options and rewrite the
IP header), so all IP packets with IP options will be filtered and switched in software.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip access-list extended access-list-name
4.
[
sequence-number
]
deny protocol source source-wildcard destination destination-wildcard
[
option
option-value
] [
precedence precedence
] [
tos tos
] [
log
] [
time-range time-range-name
] [
fragments
]
5.
[
sequence-number
]
permit protocol source source-wildcard destination destination-wildcard
[
option
option-value
] [
precedence precedence
] [
tos tos
] [
log
] [
time-range time-range-name
] [
fragments
]
6.
Repeat Step 4 or Step 5 as necessary.
7.
end
8.
show ip access-lists access-list-name
DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.
configure terminal
Example:
Device# configure terminal
Step 2
Specifies the IP access list by name and enters named access
list configuration mode.
ip access-list extended access-list-name
Example:
Device(config)# ip access-list extended mylist1
Step 3
(Optional) Specifies a
deny
statement in named IP access list
mode.
[
sequence-number
]
deny protocol source
source-wildcard destination destination-wildcard
Step 4
[
option option-value
] [
precedence precedence
] [
tos
tos
] [
log
] [
time-range time-range-name
] [
fragments
]
•
This access list happens to use a
deny
statement first, but
a
permit
statement could appear first, depending on the
order of statements you need.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1238
How to Configure ACL Support for Filtering IP Options
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......