Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

deny

Configure a filter that drops IP packets meeting the filter criteria.

Syntax
deny {ip | ip-protocol-number} {source mask | any | host ip-address} {destination mask | any | host ip-address} [ttl operator][count [byte] | log] [dscp value] [order] [monitor] [fragments] [no-drop]
To remove this filter, you have two choices:
  • Use the no seq sequence-number command if you know the filter’s sequence number.
  • Use the no deny {ip | ip-protocol-number} {source mask | any | host ip-address} {destination mask | any | host ip-address} command.
Parameters
ip
Enter the keyword ip to configure a generic IP access list. The keyword ip specifies that the access list denies all IP protocols.
ip-protocol-number
Enter a number from 0 to 255 to deny based on the protocol identified in the IP protocol header.
source
Enter the IP address of the network or host from which the packets were sent.
mask
Enter a network mask in /prefix format (/x) or A.B.C.D. The mask, when specified in A.B.C.D format, may be either contiguous or noncontiguous.
any
Enter the keyword any to specify that all routes are subject to the filter.
host ip-address
Enter the keyword host then the IP address to specify a host IP address.
destination
Enter the IP address of the network or host to which the packets are sent.
ttl
Enter the keyword ttl to deny a packet based on the time to live value. The range is from 1 to 255.
operator
Enter one of the following logical operand:
  • eq(equal to) — matches packets that contain a ttl value that is equal to the specified ttl value.
  • neq(not equal to) — matches packets that contain a ttl value that is not equal to the specified ttl value.
  • gt(greater than) — matches packets that contain a ttl value that is greater than the specified ttl value.
  • lt (less than) — matches packets that contain a ttl value that is less than the specified ttl value.
  • range(inclusive range of values) — matches packets that contain a ttl value that falls between the specified range of ttl values.
count
(OPTIONAL) Enter the keyword count to count packets that the filter processes.
byte
(OPTIONAL) Enter the keyword byte to count bytes that the filter processes.
log
(OPTIONAL, E-Series only) Enter the keyword log to enter ACL matches in the log.
dscp
(OPTIONAL) Enter the keyword dcsp to match to the IP DCSCP values.
order
(OPTIONAL) Enter the keyword order to specify the QoS priority for the ACL entry. The range is from 0 to 254 (where 0 is the highest priority and 254 is the lowest; lower-order numbers have a higher priority). If you do not use the keyword order, the ACLs have the lowest order by default (255).
monitor
(OPTIONAL) Enter the keyword monitor to describe the traffic that you want to monitor and the ACL in which you are creating the rule is applied to the monitored interface. For more information, see Flow-based Monitoring in the Port Monitoring section in the Dell EMC Networking OS Configuration Guide.
fragments
Enter the keyword fragments to use ACLs to control packet fragments.
no-drop
Enter the keywords no-drop to match only the forwarded packets.
Defaults
Not configured.
Command Modes
CONFIGURATION-EXTENDED-ACCESS-LIST
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.12(0.0)
Introduced the ttl parameter. Removed the session–ID option from the monitor parameter.
9.11(0.0)
Added support for session–ID to the monitor parameter.
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.8(0.0)
Added the no-drop parameter.
9.7(0.0)
Introduced on the S6000–ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.3.1.0
Add the DSCP value for ACL matching.
8.2.1.0
Allows ACL control of fragmented packets for IP (Layer 3) ACLs.
8.1.1.0
Introduced on the E-Series.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
7.4.1.0
Added support for the noncontiguous mask and added the monitor option.
6.5.1.0
Expanded to include the optional QoS order priority for the ACL entry.
Usage Information

The order option is relevant in the context of the Policy QoS feature only. For more information, see the Quality of Service section in the Dell EMC Networking OS Configuration Guide.

When you use the log option, the CP processor logs detail the packets that match. Depending on how many packets match the log entry and at what rate, the CP may become busy as it has to log these packets’ details.

The monitor option is relevant in the context of flow-based monitoring only. For more information, see Port Monitoring.

The C-Series and S-Series cannot count both packets and bytes, when you enter the count byte options, only bytes are incremented.

NOTE When you configure ACL logging and byte counters simultaneously, byte counters may display an incorrect value. Configure packet counters with logging instead.
Related Commands

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\