delete policy access-list

delete policy access-list [all-rules | list_dot_rule]

Description

Deletes previously created access list and their rules.

Syntax Description

access-list Configures access list rule model.
all-rules Deletes all access lists and their rules.
list_dot_rule Defines the access list name with optional rule name in the format list_name.rule_name.

Default

N/A.

Usage Guidelines

You can remove a specific rule or remove all the rules from an access list, or remove all access lists and their rules.

Example

The following example deletes the access list rule"ACL1.rule1":

# delete policy access-list ACL1.ace2
The following example deletes the access list "ACE":
# delete policy access-list ACE
The following example deletes all access lists and their rules:
# delete policy access-list all-rules

History

This command was first available in ExtremeXOS 30.5.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.