Configure BGP4 Route Map Matching on a Destination Network

You can configure a route map that matches on a destination network.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Create a route map instance and allow a matching pattern.
    device(config)# route-map mynetroutemap1 permit 10
    This example creates a route map instance named mynetroutemap1 and allows a matching pattern of 10.
  3. Configure the route map to match on a specified prefix.
    device(config-route-map-mynetroutemap1/permit/10)# match ip address prefix-list mylist
    This example configures the route map to match on the prefix list titled mylist.

Example

This example summarizes the commands in this procedure.

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