
54 BGP Enhancements Release Note
Software Version 2.7.5
C613-10454-00 REV A
enable /jointfilesconvert/427458/bgp defaultoriginate
Syntax ENAble BGP DEFaultoriginate
Description This command enables BGP to import the default route (0.0.0.0/0) into its
routing table. You also need to do both of the following:
■ create the default route on the router or switch (or the router or switch
needs to learn it from another routing source)
■ configure BGP with an import or network entry that includes the default
route
This feature is disabled by default. Therefore, by default BGP excludes the
default route.
To configure an import entry that includes the default route, use the add /jointfilesconvert/427458/bgp
import command and specify the default route type in the import parameter
(most often import=static).
To configure a network entry that includes the default route, use the add /jointfilesconvert/427458/bgp
network command and specify network=0.0.0.0/0.
This command does not determine whether the router or switch advertises the
default route to its BGP peers. You can configure that for each peer, by using
the defaultoriginate parameter of the add /jointfilesconvert/427458/bgp peer command.
Note that you do not need to enable this feature if you want to aggregate
subnets of 0.0.0.0 into a single network route of 0.0.0.0/0. Instead, create an
aggregate entry of 0.0.0.0/0 by using the add /jointfilesconvert/427458/bgp aggregate command.
Example To enable BGP to import the default route, use the command:
ena /jointfilesconvert/427458/bgp def
set /jointfilesconvert/427458/bgp peer
Syntax SET BGP PEer=ipadd [DEFaultoriginate={NO|YES}]
[other-options...]
Description The new defaultoriginate parameter specifies whether to advertise the default
route (0.0.0.0/0) to this peer when the router or switch’s BGP routing table
contains the default route. To advertise the default route, you need to do all of
the following:
■ set this parameter to yes
■ create the default route on the router or switch (or the router or switch
needs to learn it from another routing source)
■ configure BGP with an import or network entry that includes the default
route
■ import the default route into the BGP routing table, by using the enable
/jointfilesconvert/427458/bgp defaultoriginate command on page 54
The default is no. Therefore, by default the router or switch does not propagate
the default route from its BGP routing table to the peer's RIB.
Comentarios a estos manuales