C613-50631-01 Rev A Command Reference for IE340 Series 1428
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
BGP AND BGP4+ COMMANDS
NEIGHBOR
DEFAULT-ORIGINATE
neighbor default-originate
Overview Use this command to allow a BGP or BGP4+ local router to send the default route
to a neighbor.
Use the no variant of this command to send no route as a default route.
Syntax
neighbor {<neighborid>} default-originate [route-map
<routemap-name>]
no neighbor {<neighborid>} default-originate [route-map
<routemap-name>]
Mode [BGP] Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+] IPv6 Address Family Configuration
Examples [BGP] To allow a device to originate 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-router)# neighbor 10.10.10.1 default-originate
route-map myroute
Parameter Description
<neighborid> {<ip-address>|<ipv6-addr>|<peer-group>}
<ip-
address>
Specify the address of an IPv4 BGP neighbor,
in dotted decimal notation A.B.C.D.
<ipv6-addr> Specify the address of an IPv6 BGP4+
neighbor, entered in hexadecimal in the
format X:X::X:X.
<peer-
group>
Enter the name of an existing peer-group.
For information on how to create peer
groups, refer to the neighbor peer-group
(add a neighbor) command, and neighbor
route-map command. When this parameter
is used with this command, the command
applies on all peers in the specified group.
route-map If a route-map is specified, then the route table must contain at
least one route that matches the permit criteria of the route
map before the default route will be advertised to the specified
neighbor.
<routemap-name> Enter the route-map name.