
ACL Commands
93
•
source-port
— Specifies the UDP/TCP source port. (Range: 1 - 65535)
•
source-port-wildcard
—Specifies wildcard bits to be applied to the source port by placing 1s in bit
positions to be ignored.
•
flags
list-of-flags
— Specifies the list of TCP flags. If a flag is set, it is prefixed by "+". If a flag is
not set, it is prefixed by "-". Available options are
+urg, +ack, +psh, +rst, +syn, +fin, -urg, -ack,
-psh, -rst, -syn and -fin
. The flags are concatenated to a one string. For example:
+fin-ack
.
Default Configuration
No IPv4 ACL is defined.
Command Mode
IP-Access List Configuration mode.
User Guidelines
•
Use the
ip access-list
Global Configuration mode command to enable the IP-Access List
Configuration mode.
•
Before an Access Control Element (ACE) is added to an ACL, all packets are permitted. After an ACE
is added, an implied
deny-any-any
condition exists at the end of the list and those packets that do not
match the conditions defined in the permit statement are denied.
Example
The following example shows how to define a permit statement for an IP ACL.
deny (IP)
The
deny
IP-Access List Configuration mode command denies
traffic if the conditions defined in the
deny statement match.
Syntax
•
deny
[
disable-port
] {
any
|
protocol
} {
any
|{
source source-wildcard
}} {
any
|{
destination destination-
wildcard
}} [
dscp
number
|
ip-precedence
number
]
•
deny-icmp
[
disable-port
] {
any
|{
source source-wildcard
}} {
any
|{
destination destination-wildcard
}}
{
any
|
icmp-type
} {
any
|
icmp-code
} [
dscp
number
|
ip-precedence
number
]
•
deny-igmp
[
disable-port
] {
any
|{
source source-wildcard
}} {
any
|{
destination destination-wildcard
}}
{
any
|
igmp-type
} [
dscp
number
|
ip-precedence
number
]
Console(config)#
ip access-list
ip-acl1
Console(config-ip-al)#
permit
rsvp 192.1.1.1 0.0.0.0
any dscp
56
book.book Page 93 Thursday, December 18, 2008 7:40 PM
Содержание PowerConnect 3500 Series
Страница 62: ...62 Command Groups book book Page 62 Thursday December 18 2008 7 40 PM ...
Страница 80: ...80 Command Modes book book Page 80 Thursday December 18 2008 7 40 PM ...
Страница 124: ...124 Address Table Commands book book Page 124 Thursday December 18 2008 7 40 PM ...
Страница 162: ...162 DHCP Snooping book book Page 162 Thursday December 18 2008 7 40 PM ...
Страница 244: ...244 Line Commands book book Page 244 Thursday December 18 2008 7 40 PM ...
Страница 266: ...266 LLDP Commands book book Page 266 Thursday December 18 2008 7 40 PM ...
Страница 276: ...276 Login Banner book book Page 276 Thursday December 18 2008 7 40 PM ...
Страница 280: ...280 PHY Diagnostics Commands book book Page 280 Thursday December 18 2008 7 40 PM ...
Страница 290: ...290 Power over Ethernet Commands book book Page 290 Thursday December 18 2008 7 40 PM ...
Страница 294: ...294 Port Channel Commands book book Page 294 Thursday December 18 2008 7 40 PM ...
Страница 298: ...298 Port Monitor Commands book book Page 298 Thursday December 18 2008 7 40 PM ...
Страница 310: ...310 QoS Commands book book Page 310 Thursday December 18 2008 7 40 PM ...
Страница 318: ...318 RADIUS Commands book book Page 318 Thursday December 18 2008 7 40 PM ...
Страница 414: ...414 Syslog Commands book book Page 414 Thursday December 18 2008 7 40 PM ...
Страница 440: ...440 TACACS Commands book book Page 440 Thursday December 18 2008 7 40 PM ...
Страница 452: ...452 TIC Commands book book Page 452 Thursday December 18 2008 7 40 PM ...
Страница 460: ...460 Tunnel book book Page 460 Thursday December 18 2008 7 40 PM ...
Страница 492: ...492 VLAN Commands book book Page 492 Thursday December 18 2008 7 40 PM ...
Страница 500: ...500 Voice VLAN book book Page 500 Thursday December 18 2008 7 40 PM ...
Страница 514: ...514 Web Server book book Page 514 Thursday December 18 2008 7 40 PM ...