unconfigure access-list

unconfigure access-list policy_name {any | ports port_list | vlan vlan_name} {ingress | egress}

Description

Removes a policy file ACL (Access Control List) from the specified interface.

Syntax Description

policy_name Specifies the ACL policy name. The name can be from 1-32 characters long.
port_list Specifies the ingress or egress port list on which the ACL is applied.
vlan_name Specifies the VLAN (Virtual LAN) on which the ACL is applied.
ingress Remove the ACL for packets entering the switch on this interface.
egress Remove the ACL for packets leaving the switch from this interface

Default

The default direction is ingress.

Usage Guidelines

This command removes ACLs that are contained in ACL policy files. To remove dynamic ACLs, use the following command:

configure access-list delete ruleName [ any | vlanvlan_name | portsport_list | all] {ingress | egress}

To remove all non-dynamic ACLs from all interfaces, do not specify any ports or VLANs.

Example

The following command removes the ACL from port 1:2:

unconfigure access-list ports 1:2

The following command removes the ACLs from ports 1:2-6:3 and 7:1:

unconfigure access-list ports 1:2-6:3,7:1

The following command removes the wildcard ACL:

unconfigure access-list any

The following command removes all ACLs from all the interfaces, including the wildcard ACL:

unconfigure access-list

History

This command was first available in ExtremeXOS 10.1.

The VLAN option was first available in ExtremeXOS 11.0.

The egress option was first available in ExtremeXOS 11.3.

Platform Availability

The egress options are available on all platforms.