The AS-path ACL must be configured using
the ip as-path
access-list command.
-
Access global configuration
mode.
device# configure terminal
-
Create a route map instance and
allow a matching pattern.
device(config)# route-map myaclroutemap1 permit 10
This example creates a route map instance called myaclroutemap1 and allows a
matching pattern of 10.
-
Configure the route map to match
on an AS-path ACL.
device(config-route-map-myaclroutemap1/permit/10)# match as-path myaspath
This example configures the route map to match on the AS-path ACL called
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