beautypg.com

Deleting acls from the switch, Deleting numbered ipv4 and mac address acls, Deleting numbered ipv4 acls example 2 – Allied Telesis AT-8100 Series User Manual

Page 1552

background image

Chapter 98: Advanced Access Control Lists (ACLs)

1552

Deleting ACLs from the Switch

The command that you use to delete an ACL from the switch depends on
the ACL type. See the following sections:

“Deleting Numbered IPv4 and MAC Address ACLs” on page 1552

“Deleting Named IPv4 Address ACLs” on page 1553

“Deleting Named IPv6 Address ACL” on page 1553

Before you delete an ACL from the switch, you must remove it from its port
assignment. For instructions, see “Removing ACLs from Ports” on
page 1549.

Deleting

Numbered IPv4

and MAC

Address ACLs

The NO ACCESS-LIST command in the Global Configuration mode is the
command that deletes Numbered IPv4 and MAC Address ACLs from the
switch. It has the following format:

no access-list

id_number

You can delete one ACL at a time with this command. Before you can
delete ACLs that are assigned to ports, you must remove them from their
port assignments. For instructions, see “Removing Numbered IPv4 ACLs”
on page 1549 and “Removing MAC Address ACLs” on page 1549.

The following example deletes Numbered IPv4 ACLs with ID numbers
3018 and 3019 from the switch:

Table 183. Deleting Numbered IPv4 ACLs Example

Command

Description

awplus> enable

Enter the Privileged Executive mode from
the User Executive mode.

awplus# configure terminal

Enter the Global Configuration mode.

awplus(config)# no access-list
3018

Remove Numbered IPv4 ACL with ID
number 3018 from the switch.

awplus(config)# no access-list
3019

Remove Numbered IPv4 ACL with ID
number 3019 from the switch.