neighbor route-map
Applies the specified route-map to route updates from/to a BGP peer.
Syntax: [no] neighbor {ip-address| peer-group-name} route-map route-map-name {in | out}
ip-address
IP address of a BGP neighbor
peer-group-name
Name of a defined BGP peer group.
route-map-name
Name of a defined route map.
in
Apply specified route map to incoming routes.
out
Apply specified route map to outgoing routes.
Description: Route maps are used to control and modify routing information that is exchanged between routing domains. Route maps consist of a list of match and set configuration commands. The match commands specify match criteria and the set commands specify the action taken if the match criteria are met. See route-map.
When applied to incoming or outgoing routes, route maps enable you to control the redistribution of routes between two BGP peers.
Use the neighbor route-map command to apply the rules defined in the specified route map.
Use the ip-address parameter to apply the route-map to the specified neighbor.
Use the peer-group-name parameter to apply the route map to all the members of the specified peer group.
Use the no neighbor route-map command to remove a route map.
Factory Default: No route maps applied to this peer.
Command Mode: Router configuration.
Example 1: In the following example, the neighbor route-map in command applies the route map techpubs-map to incoming routes from neighbor 121.80.10.1, and the show ip bgp neighbors command displays the configuration:
router(config)#router bgp 101
router(config-router)#neighbor 121.80.10.1 remote-as 101
router(config-router)#neighbor 121.80.10.1 route-map techpubs-map in
router(config-router)#end
router#show ip bgp neighbor 121.80.10.1
BGP neighbor 121.80.10.1 using remote AS 101
.
.
.
inbound route-map: techpubs-map
.
.
.
Example 2: In the following example, the no neighbor route-map command removes the route map techpubs-map from the outgoing routes to neighbor 121.80.10.1:
router(config)#router bgp 101
router(config-router)#no neighbor 121.80.10.1 route-map techpubs-map out
Example 3: In the following example, the neighbor route-map command applies the route map techpubs-map to incoming routes from a peer group named techpubs:
router(config)#router bgp 101
router(config-router)#neighbor techpubs route-map techpubs-map in
Related Commands: neighbor peer-group (assigning and creating)
show ip bgp neighbors
route-map
show route-map
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd39.html
Last Updated: 05/10/04 at 16:36:55