You can configure a route map that matches on a specified AS-path access control list (ACL).
device# configure terminal
device(config)# route-map myaclroutemap1 permit 10
device(config-route-map-myaclroutemap1/permit/10)# match as-path myaspath
The following example summarizes the commands in this procedure.
device# configure termnial device(config)# route-map myaclroutemap1 permit 10 device(config-route-map-myaclroutemap1/permit/10)# match as-path myaspath