C613-50631-01 Rev A Command Reference for IE340 Series 1488
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
NEIGHBOR
ROUTE-MAP
Examples [BGP] 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 IPv4 address 10.10.10.1 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 10.10.10.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 IPv4 address 10.10.10.1
in the Router Configuration mode.
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# no neighbor 10.10.10.1 route-map rmap2
in
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 IPv4 address 10.10.10.1 in the IPv4 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 ipv4
awplus(config-router-af)# neighbor 10.10.10.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 IPv4 address 10.10.10.1
in the IPv4 Address Family Configuration mode.
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# address-family ipv4
awplus(config-router-af)# no neighbor 10.10.10.1 route-map
rmap2 in