Matching on a Next-Hop Device
A route map that matches on a next-hop device can be configured.
A prefix list must be configured using the ip prefix-list command.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
route-mapcommand using the permit parameter and specifying a route map name to create a route map instance and allow a matching pattern. - Enter the
matchcommand, using the next-hop parameter and specify a prefix-list, to match IP next-hop match conditions for a specified prefix list in a route map instance.