Creating and viewing a standard ACL

This example creates a standard, numbered ACL with the same ACE content as shown in Configuring ACEs in a named, standard ACL.

Note that each ACE is automatically assigned a sequence number.

switch(config)# access-list 17 permit host 10.10.10.104
switch(config)# access-list 17 deny 10.10.10.1/24 log
switch(config)# access-list 17 permit any
switch(config)# show access-list 17

Access Control Lists

  Name: 17
  Type: Standard
  Applied: No

 SEQ  Entry
-------------------------------------------------------
 10   Action: permit
      IP    : 10.10.10.104        Mask: 0.0.0.0

 20   Action: deny (log)
      IP    : 10.10.10.1          Mask: 0.0.0.255

 30   Action: permit
      IP    : 0.0.0.0             Mask: 255.255.255.255