BGP Attributes - route map direction
When applying route-maps to adjust various BGP attributes on a BGP router, the route-map must be applied in an inbound or outbound direction. It is important to remember that the route-map, and its direction, acts upon BGP updates and not on user traffic. Such route maps are applied on a per BGP neighbor basis.
This means that any actions taken by the route-map will affect the destination of those BGP updates.
- When applied in an inbound direction, any BGP updates received will have attributes modified by the route-map before they are processed on the local device.
- When applied in an outbound direction, any BGP updates sent on that interface will have attributes modified by the route-map before they are sent to the BGP neighbor to be processed by the neighbor device.