Specifying route map to be exported in or out of BGP

Syntax:


Parameters neighbor ipv4-addr route-map route-map-name [[in] | [out]]

Route maps control the redistribution of routes between protocols. Only after configuring a route map, can it then be specified in BGP. Use this command to specify a configured route map to be exported into or out of BGP. When the in version of this command is configured, all IPv4 announcements received from the specified neighbor should be run against the policy specified in the named route-map. When the out version of this command is used, it specifies that all IPv4 announcements sent to the specified neighbor should be run against the policy specified in the named route-map. After evaluating this policy, each route will be compared to the specified route-target export, to see if announcement is acceptable.