Switches between ACL configuration modes.
|shared||Sharing is “on” for counter rules.|
|dedicated||Sharing is “off” for counter rules.|
Use this command to switch between two ACL configuration modes. In the first mode, “port-counters shared”, similar port-based ACL rules with counters are allowed to share the same hardware entry. This uses less space but provides an inaccurate counter value. In the second mode, “port-counters dedicated”, similar port-based ACL rules with counters are not allowed to share the same hardware entry, thereby consuming more entries but providing a precise count.
Only ACLs that are entered after this command is entered are affected. The command does not affect any ACLs that are already configured.
To configure all ACLs in shared mode, configure access-list rule-compression port-counters shared must be entered before any ACLs are configured or have been saved in the configuration when a switch is booted.
This is a global setting for the switch; that is, the option does not support setting some ACL rules with shared counters and some with dedicated counters.
To view the results of the configuration use the show access-list configuration command.
The following command configures ACL rules with counters to share the same hardware entry:
configure access-list rule-compression port-counters shared
This command was first available in ExtremeXOS 12.3.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.