Map ACLs with Route-Map

Procedure

  1. Enter global configuration mode.
    device# configure terminal
  2. Create ACL and define the rules.
    device(config)# ip access-list name
  3. Create a route-map.
    device (config)# route-map name sequence_number
  4. Optional: Delete the route-map instance.
    device (config) # no route-map name
  5. Map ACL to the route-map.
    device (config-route-map-name) # match [ mac | ip | ipv6 ] access-list name
  6. Optional: Remove ACL mapping from the route-map.
    device (config-route-map-name) # no match [ mac | ip | ipv6 ] access-list name
  7. Configure the route-map to be matched or skipped.
    device (config-route-map-name) # forward-action [ permit | deny ]
  8. Configure the egress-group.
    device (config-route-map-name) # set egress-group name