Alcatel-Lucent 6850 Switch User Manual


 
Configuring BGP Configuring Redistribution
OmniSwitch 6800/6850/9000 Advanced Routing Configuration Guide December 2007 page 4-57
Configuring Route Map Redistribution
The ip redist command is used to configure the redistribution of routes from a source protocol into the
BGP destination protocol. This command is used on the BGP router that will perform the redistribution.
A source protocol is a protocol from which the routes are learned. A destination protocol is the one into
which the routes are redistributed. Make sure that both protocols are loaded and enabled before configur-
ing redistribution.
Redistribution applies criteria specified in a route map to routes received from the source protocol. There-
fore, configuring redistribution requires an existing route map. For example, the following command
configures the redistribution of OSPF routes into the BGP network using the ospf-to-bgp route map:
-> ip redist ospf into bgp route-map ospf-to-bgp
OSPF routes received by the router interface are processed based on the contents of the ospf-to-bgp route
map. Routes that match criteria specified in this route map are either allowed or denied redistribution into
the BGP network. The route map may also specify the modification of route information before the route
is redistributed. See “Using Route Maps” on page 4-53 for more information.
To remove a route map redistribution configuration, use the no form of the ip redist command. For exam-
ple:
-> no ip redist ospf into bgp route-map ospf-to-bgp
Use the show ip redist command to verify the redistribution configuration:
-> show ip redist
Source Destination
Protocol Protocol Status Route Map
------------+------------+---------+--------------------
LOCAL4 RIP Enabled rip_1
LOCAL4 OSPF Enabled ospf_2
LOCAL4 BGP Enabled bgp_3
RIP OSPF Enabled ospf-to-bgp
Configuring the Administrative Status of the Route Map Redistribution
The administrative status of a route map redistribution configuration is enabled by default. To change the
administrative status, use the status parameter with the ip redist command. For example, the following
command disables the redistribution administrative status for the specified route map:
-> ip redist ospf into bgp route-map ospf-to-bgp status disable
The following command example enables the administrative status:
-> ip redist ospf into rip route-map ospf-to-bgp status enable