unconfigure access-list

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

Description

Removes a policy file ACL 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 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 (BlackDiamond X8 series switches, BlackDiamond 8000 c- and xl-series modules, E4G-200 and E4G-400 switches, and Summit X460, X480,and X670 series switches only).

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

This command is available on all platforms.

The egress options are available on BlackDiamond X8 series switches, BlackDiamond 8000 c-, xl-, xm-series modules, E4G-200 and E4G-400 switches, and Summit X460, X480, X670, and X770 series switches only.