Configure Redistribution to BGP
Configure redistribute entries for BGP to announce routes of a certain source type to BGP, for example, DvR, direct, static, Routing Information Protocol (RIP), and Open Shortest Path First (OSPF). If you do not configure a route policy, then the switch uses the default action based on metric, metric type, and subnet. Use a route policy to perform detailed redistribution.
Before you begin
- If required, configure a route policy. 
- When you configure BGP on a specific VRF instance, the VRF must have an RP trigger of BGP. 
- 
                                        To perform this procedure on a non-default VRF, you must first change the VRF instance. For information about how to use EDM for a non-default VRF, see Select and Launch a VRF Context View. All parameters might not be available in non-default VRFs. 
- Before you redistribute DvR host routes to BGP, ensure that you disable BGP aggregation and BGP auto-summarization of networks. Disabling these options ensures that all DvR host routes are advertised into BGP correctly, and are not summarized. 
Procedure
- In the navigation pane, expand .
- Select BGP.
- Select the Redistribute tab.
- Select Insert.
- Configure the source protocol.
- Optional: If required, choose a route policy.
- Configure the metric to apply to redistributed routes.
- Enable the redistribution instance.
- Select Insert.
Redistribute field descriptions
Use the data in the following table to use the Redistribute tab.
| Name | Description | 
|---|---|
| DstVrfId | Specifies the destination VRF instance (read-only). | 
| Protocol | Specifies the protocols that receive the redistributed routes. | 
| SrcVrfId | Specifies the source VRF instance (read-only). | 
| RouteSource | Specifies the source protocol for the route redistribution entry. | 
| Enable | Enables (or disables) a BGP redistribute entry for a specified source type. | 
| RoutePolicy | Configures the route policy to use for the detailed redistribution of external routes from a specified source into the BGP domain. | 
| Metric | Configures the metric for the redistributed route. The value can be a range between 0–65535. The default value is 0. Use a value that is consistent with the destination protocol. | 




