The prefix list must be configured using
the ip prefix-list
command.
-
Access global configuration
mode.
device# configure terminal
-
Create a route map instance and
allow a matching pattern.
device(config)# route-map myhoproutemap1 permit 10
This example creates a route map instance named myhoproutemap1 and allows a
matching pattern of 10.
-
Configure the route map to match
IP next-hop match conditions for a prefix list.
device(config-route-map-myhoproutemap1/permit/10)# match ip next-hop prefix-list mylist
This example configures the route map to match next-hop match conditions for
the prefix list titled mylist.
The following example summarizes the commands in
this procedure.
device# configure terminal
device(config)# route-map myhoproutemap1 permit 10
device(config-route-map-myhoproutemap1/permit/10)# match ip next-hop prefix-list mylist