
C613-50186-01 Rev B
Command Reference for AR2050V
1272
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
ROUTE
-
MAP
The following example shows the configuration of the route-map name
rmap2
and then the use of this map name in the
neighbor route-map
command for the
neighbor with the peer group named group1 in the Router Configuration mode.
awplus#
configure terminal
awplus(config)#
route-map rmap2 permit 6
awplus(config-route-map)#
match origin incomplete
awplus(config-route-map)#
set metric 100
awplus(config-route-map)#
exit
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor group1 peer-group
awplus(config-router)#
neighbor 10.10.10.1 remote-as 10
awplus(config-router)#
neighbor 10.10.10.1 peer-group group1
awplus(config-router)#
neighbor group1 route-map rmap2 in
The following example shows the removal the route-map name
rmap2
in the
neighbor route-map
command for the neighbor with the peer group named
group1 in the Router Configuration mode.
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
no neighbor group1 route-map rmap2 in
Examples
[BGP4+]
The following example shows the configuration of the route-map name
rmap2
and then the use of this map name in the
neighbor route-map
command for the
neighbor with the IPv6 address 2001:0db8:010d::1 in the IPv6 Address Family
Configuration mode.
awplus#
configure terminal
awplus(config)#
route-map rmap2 permit 6
awplus(config-route-map)#
match origin incomplete
awplus(config-route-map)#
set metric 100
awplus(config-route-map)#
exit
awplus(config)#
router bgp 10
awplus(config-router)#
address-family ipv6
awplus(config-router-af)#
neighbor 2001:0db8:010d::1 route-map
rmap2 in
The following example shows the removal of the route-map name
rmap2
in the
neighbor route-map
command for the neighbor with the IPv6 address
2001:0db8:010d::1 in the IPv6 Address Family Configuration mode.
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
address-family ipv6
awplus(config-router-af)#
no neighbor 2001:0db8:010d::1
route-map rmap2 in