Configure Global and Default Actions for an ACL
Configure the default action to specify packet treatment if a packet does not match any ACE.
Configure the global action to specify packet treatment if a packet does match an ACE.
Global action can only be configured for Ingress ACLs.
Before you begin
Ensure that the ACL exists.
Procedure
Variable Definitions
The following table defines parameters for the filter acl set commands.
Variable |
Value |
---|---|
<acl-id> |
Specifies the ACL ID. Use the CLI Help to see the available range for the switch. |
default-action <permit | deny> |
Specifies the default action to take when none of the ACEs match. Options are <permit | deny>. The default is permit. |
monitor-dst-ports {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Specifies the global action to take for matching ACEs:
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
monitor-dst-mlt <1–512> |
Configures mirroring to a destination MLT in the range of 1 to 512. |
policer svc-rate <0-4000000000> peak-rate <8-4000000000> Note:
Exception: only supported on VSP 4900 Series and VSP 7400 Series. |
Specifies the policer for filter with service rate and peak transfer rate of packets. The service rate value specifies the rate of traffic committed to be delivered. Packets above the specified peak rate value are dropped on ingress. |