Command:

neighbor route-map


Mode:

Router(config-router)#

Router(config-router-af)#

 

Syntax:

neighbor {ip-address | peer-group-name} route-map map-name {in | out}

no neighbor {ip-address | peer-group-name} route-map map-name {in | out }

 

Syntax Description:

ip-address

Neighbor's IP address

peer-group-name 

Name of a BGP or multiprotocol BGP peer group

map-name

Name of route map

in

Apply to incoming updates

out

Apply to outgoing updates

 

Command Description:

To apply a route map to incoming or outgoing routes, use the neighbor route-map command in address family or router configuration mode. To remove a route map, use the no form of this command.

Usage Guidelines: 

When specified in address family configuration mode, this command applies a route map to that particular address family only. When specified in router configuration mode, this command applies a route map to IP Version 4 unicast routes only. If an outbound route map is specified, it is proper behavior to only advertise routes that match at least one section of the route map.


If a BGP or multiprotocol BGP peer group is specified by using the peer-group-name argument, all the members of the peer group will inherit the characteristic configured with this command.  Specifying the command for a neighbor overrides the inbound policy that is inherited from the peer group.

 

Example:

The following router configuration mode example applies a route map named internal-map to a BGP incoming route from 198.92.70.24:

Router(config)#router bgp 5

Router(config-router)#neighbor 198.92.70.24 route-map internal-map in

The following address family configuration mode example applies a route map named internal-map to a multiprotocol BGP incoming route from 198.92.70.24:

Router (config)#router bgp 5

Router (config-router)#address-family ipv4 multicast

Router (config-router-af)#neighbor 198.92.70.24 route-map internal-map in

 

Misconceptions:

 

None


Related Commands:

 

address-family ipv4

 

neighbor remote-as

 

route-map

 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)