show mac access-list

Displays all or specific MAC ACLs.

Syntax

show mac access-list { name | all }
show mac access-list all route-map
show mac access-list all listener-policy

Parameters

name
Specifies the name of the MAC ACL or all MAC ACLs and displays a list of MAC ACL rule entries configured for the specified ACL.
all
Displays all MAC ACLS with aggregated stats.
route-map
Displays all MAC ACLS mapped to a route map.
listener-policy
Displays MAC ACLs mapped to a listener policy.

Modes

Exec mode

Examples

The following example shows all MAC ACLs.

device# show mac access-list all
mac access-list mac2 
  seq 10 permit aa:aa:aa:aa:aa:aa FF:FF:FF:FF:FF:FF any ( 0 Packets,
  ➥0 Bytes, 0 Packets/sec, 0 Bits/sec ) 

mac access-list mac3 
  seq 90 permit gtpu 4294967295 02:02:02:02:02:02 02:02:02:02:02:02 any
  ➥( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec ) 

The following example shows all ACLs bound to a route map.

device# show mac access-list all route-map 
Route map: rm1 
  mac access-list mac3 
    seq 90 permit gtpu 4294967295 02:02:02:02:02:02 02:02:02:02:02:02 any 
    ➥( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec ) 

The following example shows all listener policies bound to a route map.

device# show mac access-list all listener-policy 
Listener policy: LP1 
  mac access-list mac2 
    seq 10 permit aa:aa:aa:aa:aa:aa FF:FF:FF:FF:FF:FF any
    ➥( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec )