neighbor route-map

Filters the outgoing and incoming route updates to or from a particular BGP neighbor according to a set of attributes defined in a route map.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } route-map { in string | out string }
no neighbor { ip-address | ipv6-address | peer-group-name } route-map { in string | out string }
Parameters
ip-address
Specifies the IPv4 address of the neighbor
ipv6-address
Specifies the IPv6 address of the neighbor
peer-group-name
Specifies the peer group name configured by the neighbor peer-group-name command.
in
Applies the filter on incoming routes.
string
Name of the route map.
out
Applies the filter on outgoing routes.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.

Examples

The following example applies a route map named "myroutemap" to an outgoing route from 10.11.12.13.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 route-map myroutemap out