12.19 Configuring Weight with Route Maps

Consider the following scenario:

The requirements for using route maps to set weight for specific prefixes received from a neighbor are as follows.

  1. Create a prefix-list to define the interesting traffic
  2. Define a route map, name
  3. Match the prefix-list
  4. Set the weight
  5. Provide a default permit statement for catch-all
  6. Apply to the BGP neighbor statement using the following syntax:

neighbor <neighbor IP> route-map <route-map name> in