To apply a route map to incoming or outgoing routes for a specific neighbor, use the neighbor route-map command in Router Configuration mode. A route map can be used to change the local preference, MED, or AS Path of a route. Routes can be selected for filtering or modification using an AS path access list or a prefix list.
| Default | No route maps are applied by default. |
| Format | neighbor ip-address route-map map-name {in|out} |
| Mode | BGP Router Config |
| Parameter | Description |
|---|---|
| ip-address | The neighbor's IP address. |
| map-name | The name of the route map to be applied. |
| in|out | Whether the route map is applied to incoming or outgoing routes. |