In a previous example, sequence numbers were used to edit a standard numbered ACL. By referring to the statement sequence numbers, individual statements can easily be inserted or deleted. This method can also be used to edit standard named ACLs.
The figure shows an example of inserting a line to a named ACL.
- In the first show command output, you can see that the ACL named NO_ACCESS has two numbered lines indicating access rules for a workstation with the IPv4 address 192.168.11.10.
- The ip access-list standard command used to configure named ACLs. From named access list configuration mode statements can be inserted or removed. The no sequence-number command is used to delete individual statements.
- To add a statement to deny another workstation requires inserting a numbered line. In the example, the workstation with the IPv4 address 192.168.11.11 is being added using a new sequence number of 15.
- The final show command output verifies that the new workstation is now denied access.