# neighbor route-map

#### Syntax

neighbor { ipAddress | ipv6Address | peerGroupName } route-map mapTag
{ in | out }

no neighbor { ipAddress | ipv6Address | peerGroupName } route-map [ mapTag ]
{ in | out }

#### Release Information

Command introduced before JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.

#### Description

Applies a route map to incoming or outgoing routes. If an outbound route map is specified, BGP advertises only routes that match at least one section of the route map. The no version removes a route map.

#### Options

- ipAddress—IP address of BGP neighbor
- ipv6Address—IPv6 address of BGP neighbor
- peerGroupName—Name of BGP peer group. If you specify a BGP peer group by using the peerGroupName argument, all the members of the peer group inherit the characteristic configured with this command, unless it is overridden for a specific peer.
- mapTag—Name of the route map; a string of up to 32 alphanumeric characters
- in—Applies route map to incoming routes
- out—Applies route map to outgoing routes; you cannot configure a member of a peer group to override the inherited peer group characteristic for outbound policy

#### Mode

Address Family Configuration, Router Configuration