deny [<0-255>|tcp|udp] [<SOURCE-NETWORK-IP/MASK>|any|host <SOURCE-HOST-IP>] [<DEST-NETWORK-IP/MASK>|any|host <DEST-HOST-IP>] [control-flag <0-63>| destination-port <0-65535>|destination-port-bitmark <0-65535>|dscp <0-63>| ex3500-time-range <TIME-RANGE-NAME>|ip-precedence <0-63>|rule-precedence <1-128>| source-port <0-65535>|source-port-bitmark <0-65535>]
deny [<0-255>|tcp|udp] [<SOURCE-NETWORK-IP/MASK>|any|host <SOURCE-HOST-IP>] [<DEST-NETWORK-IP/MASK>|any|host <DEST-HOST-IP>] [control-flag <0-63>| destination-port <0-65535>|destination-port-bitmark <0-65535>|dscp <0-63>| ex3500-time-range <TIME-RANGE-NAME>|ip-precedence <0-63>|rule-precedence <1-128>| source-port <0-65535>|source-port-bitmark <0-65535>]
deny [<0-255>| tcp|udp] | Creates a deny rule and identifies the protocol type. This deny rule is applied only to packets matching the protocol specified here. |
[<SOURCE-NETWORK-IP/MASK>| any| host <SOURCE-HOST-IP>] | Specifies the source as any, host, or network
|
[<DEST-NETWORK-IP/MASK>| any| host <DEST-HOST-IP>] | Specifies the destination as any, host, or network
|
control-flag <0-63> | Configures the decimal number (representing a bit string) that specifies the
control flag bits in byte 14 of the TCP header
Note: Control flags can be used
only in ACLs designed to filter TCP traffic.
The TCP header contains
several one-bit boolean fields known as flags that influence flow of data across a
TCP connection. Ignoring the CWR and ECE flags added for congestion notification
by RFC 3168, there are six TCP control flags.
|
destination-port <0-65535> | Configures the protocol destination port to match. The destination protocol can
be TCP, UDP or any other protocol identified by its number (<0-255>).
|
destination-port-bitmark <0-65535> | Configures the decimal number representing the protocol destination port bits
to match
|
dscp <0-63> | Configures the DSCP priority level
Note: If specifying DSCP
priority, ip-precedence cannot be specified.
|
ex3500-time-range <TIME-RANGE-NAME> | Applies a periodic or absolute time range to this rule
|
ip-precedence <0-7> | Configures the IP header precedence
|
source-port <0-65535> | Configures the protocol source port to match. The source protocol can be TCP,
UDP or any other protocol identified by its number (<0-255>).
|
source-port-bitmark <0-65535> | Configures the decimal number representing the protocol source port bits to
match
|
rule-precedence <1-128> | The following keywords are recursive and common to all of the above
parameters:
|
The following example denies TCP outgoing packets from all sources p within the 192.168.14.0/24 network to a specific host 192.168.13.13:
nx9500-6C8809(config-ip-ex3500-ext-acl-test)#deny tcp 192.168.14.0/24 host 192.168.13.13 rule-precedence 1
nx9500-6C8809(config-ip-ex3500-ext-acl-test)#show context ip ex3500-ext-access-list test deny tcp 192.168.14.0/24 host 192.168.13.13 rule-precedence 1 nx9500-6C8809(config-ip-ex3500-ext-acl-test)#
no (ex3500-ext acl) | Removes a specified deny access rule from this IPv4 EX3500 extended ACL |