C613-50631-01 Rev A Command Reference for IE340 Series 1429
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
NEIGHBOR
DEFAULT-ORIGINATE
To stop a device from originating default route to neighbor 10.10.10.1, use the
commands:
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# no neighbor 10.10.10.1 default-originate
route-map myroute
To allow a device to originate the IPv4 default route to neighbor 10.10.10.1, when
the device's route table contains at least one route matching the route map
’myroute’, use the commands:
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config)# address-family ipv4
awplus(config-router-af)# neighbor 10.10.10.1
default-originate route-map myroute
To stop a device from originating IPv4 default route to neighbor 10.10.10.1, use the
commands:
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config)# address-family ipv4
awplus(config-router-af)# no neighbor 10.10.10.1
default-originate route-map myroute
To allow a device to originate default route to peer group ‘group1’, when the
device's route table contains at least one route matching the route map ’myroute’,
use the commands:
awplus# configure terminal
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 default-originate
route-map myroute
To stop a device originating default route to peer group ‘group1’, use the
commands:
awplus# configure terminal
awplus(config)# router bgp 10
awplus(config-router)# no neighbor group1 default-originate
route-map myroute