show access-list usage acl-slice port
Description
Displays the number of ACL slices and rules consumed by the ACLs on the slices that support a particular port.
Syntax Description
port | Specifies to display the usage for the slices that support this port. |
Default
N/A.
Usage Guidelines
Use this command to display how many slices and how many rules per each slice are currently consumed by the ACLs on the slices that support a particular port. This command also displays which ports share the same slices as the specified port.
Beginning with ExtremeXOS 12.5, you can reserve or allocate a slice for a specific feature such that rules for the feature will not share a slice with other components. A text string has been added at the end of the output for each slice that indicates which feature, if any, is reserving the slice. See the example below.
Example
The following example displays the ACL slice usage on port 8:1:
Switch.3 # show access-list usage acl-slice port 8:1 Ports 8:1-8:12, 8:25-8:36 Slices: Used: 3 Available: 5 Slice 5 Rules: Used: 9 Available: 119 Slice 6 Rules: Used: 1 Available: 127 Slice 7 Rules: Used: 24 Available: 104In ExtremeXOS 15.5.1 and onwards, unless there is at least 1 rule in a given slice, the slice is not allocated. Since the slice is not yet allocated, a physical slice is not assigned to a virtual slice. So in this previous example, "used" displays what is used in that particular slice, and "available" shows the remaining rules in that particular used slice.
The following example displays the ACL ingress and egress slice usage on port 4:1:
Switch.4 # show access-list usage acl-slice port 4:1 Ports 4:1-4:48 Stage: INGRESS Slices: Used: 2 Available: 14 Slice 0 Rules: Used: 0 Available: 512 Slice 1 Rules: Used: 0 Available: 512 Slice 2 Rules: Used: 0 Available: 512 Slice 3 Rules: Used: 0 Available: 512 Slice 4 Rules: Used: 0 Available: 512 Slice 5 Rules: Used: 0 Available: 512 Slice 6 Rules: Used: 0 Available: 512 Slice 7 Rules: Used: 0 Available: 512 Slice 8 Rules: Used: 0 Available: 512 Slice 9 Rules: Used: 0 Available: 512 Slice 10 Rules: Used: 0 Available: 512 Slice 11 Rules: Used: 0 Available: 512 Slice 12 Rules: Used: 0 Available: 512 Slice 13 Rules: Used: 0 Available: 512 For: user/other Slice 14 Rules: Used: 1 Available: 511 Reserved for: <feature name> Slice 15 Rules: Used: 10 Available: 502 For: system Stage: EGRESS Slices: Used: 1 Available: 3 Slice 0 Rules: Used: 0 Available: 256 Slice 1 Rules: Used: 0 Available: 256 Slice 2 Rules: Used: 0 Available: 256 Slice 3 Rules: Used: 1 Available: 255 Reserved for: <feature name> Stage: LOOKUP Slices: Used: 1 Available: 3 Slice 0 Rules: Used: 0 Available: 512 Slice 1 Rules: Used: 0 Available: 512 Slice 2 Rules: Used: 0 Available: 512 Slice 3 Rules: Used: 49 Available: 463 Stage: EXTERNAL Slices: Used: 0 Available: 0
-
For: user/other—The slice is used by user ACLs and/or other switch features.
-
Reserved for: feature name—The slice is reserved for the named feature, for instance VLAN statistics. Rules for this feature may not share a slice with other features or user ACLs.
-
For: system—The slice contains only rules used for certain specific switch features. User ACLs may not share a slice with a system slice.
History
This command was first available in ExtremeXOS 11.5.
Platform Availability
This command is available on all platforms.