BGP Commands
neighbor route-map
Use this command to apply a route map to incoming or outgoing routes.
Use the no parameter with this command to a route map.
Syntax
neighbor <neighborid> route-map <mapname> {in|out}
no neighbor <neighborid> route-map <mapname> {in|out}
Parameter
<neighborid>
<mapname>
in
out
Router mode and Address Family [ipv4 unicast | ipv4 multicast] mode
Mode
Use neighbor route-map command to filter updates and modify attributes. A route map is
Usage
applied to inbound or outbound updates. Only the routes that pass the route map are sent or
accepted in updates.
The following example shows the configuration of the route-map name rmap2 and then the
Example
use of this map name in the neighbor route-map command.
awplus(config-route-map)#
awplus(config-route-map)#
awplus(config-route-map)#
route-map
Related Commands
38.82
Description
{<ip-address>|<tag>}
<ip-
address>
<tag>
Specifies name of the route-map.
Specifies that the access list applies to incoming advertisements
Specifies that the access list applies to outgoing advertisements.
awplus#
awplus(config)#
awplus(config)#
awplus(config-router)#
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
The address of an IPv4 BGP neighbor, in dotted decimal
notation A.B.C.D.
Name of an existing peer-group. For information on
how to create peer groups, refer to the
peer-group (adding a neighbor) command on
page
38.75, and
neighbor remote-as command
on page
38.79. When this parameter is used with a
command, the command applies on all peers in the
specified group.
configure terminal
route-map rmap2 permit 6
match origin incomplete
set metric 100
exit
router bgp 12
neighbor 10.10.10.10 route-map rmap2 in
neighbor
C613-50007-01 REV B