BGP Neighbor Redistribution Configuration
© Copyright Lenovo 2017
This menu enables you to redistribute routes learned from various routing
information sources into BGP.
Table 302.
BGP Neighbor Redistribution Configuration Options
Command Syntax and Usage
neighbor <1‐96> redistribute defaultaction {import|
|originate|redistribute}
Sets default route action. Defaults routes can be configured as follows:
import: Import these routes.
originate: The switch sends a default route to peers if it does not have
any default routes in its routing table.
redistribute: Default routes are either configured through default
gateway or learned through other protocols and redistributed to peer. If the
routes are learned from default gateway configuration, you have to enable
static routes since the routes from default gateway are static routes.
Similarly, if the routes are learned from a certain routing protocol, you have
to enable that protocol.
Command mode: Router BGP
no neighbor <1‐96> redistribute defaultaction
Disables the default route action configuration.
Command mode: Router BGP
neighbor <1‐96> redistribute defaultmetric <1‐4294967294>
Sets default metric of advertised routes.
Command mode: Router BGP
no neighbor <1‐96> redistribute defaultmetric
Disables the default metric configuration of advertised routes.
Command mode: Router BGP
[no] neighbor <1‐96> redistribute {fixed|ospf|rip|static}
Enables or disables advertising fixed, OSPF, RIP or static routes.
Command mode: Router BGP
show ip bgp neighbor <1‐192> redistribute
Displays current redistribution configuration.
Command mode: All
Chapter 4: Configuration Commands
567