Matching on a destination network

A route map that matches on a destination network can be configured.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the route-map command using the permit parameter and specifying a route map name to create a route map instance and allow a matching pattern.
    device(config)# route-map mynetroutemap1 permit 10
  3. Enter the match command with the ip address parameter. Specify a prefix list using the ip prefix-list string parameter to configure the route map to match on the specified prefix.
    device(config-route-map-mynetroutemap1)# match ip address prefix-list mylist

The following example configures a route map instance that matches on a specified destination network.

device# configure terminal
device(config)# route-map mynetroutemap1 permit 10
device(config-route-map-mynetroutemap1)# match ip address prefix-list mylist