Tip

This is the documentation for the 19.08 version. Looking for the documentation of the latest version? Have a look here.

Viewing ACL and MACIP InformationΒΆ

The show acl [<name>] command prints a list of defined ACLs and their actions. If <name> is given, then output is limited to the specified ACL.

tnsr# show acl

Access Control List: blockssh
 IPv Seq Action     Source           Dest Proto     SP/T  DP/C Flag Mask
---- --- ------ ---------- -------------- ----- -------- ----- ---- ----
ipv4  10   deny  0.0.0.0/0 203.0.113.2/32   tcp  0-65535 22-22 0x00 0x00
ipv4  20 permit  0.0.0.0/0      0.0.0.0/0     0

The show macip [<name>] command works the same way for MACIP entries:

tnsr(config)# show macip

MACIP ACL: blockamac
  AF Seq Action  IP Prefix       MAC Address
---- --- ------ ---------- ----------------- -----------------
ipv4  10   deny 0.0.0.0/0  00:11:22:33:44:55 ff:ff:ff:ff:ff:ff