Use the following procedure to configure static inter-VRF route leaking.
About this task
Important
Static inter-VRF route leaking is a feature that should be deployed only by an advanced user.
Procedure
-
Create the VRF instances you want to be the leaker (source VRF) and where the route is being leaked to (destination VRF).
-
Specify the interface for the source VRF and map it to the source VRF.
-
Enter the IP address/mask to be used for this VRF instance.
-
Specify the interface you want to be the destination VRF and map it to the destination VRF.
-
Specify the IP address/mask to receive the leaked route.
-
Change the configuration mode to source VRF address-family context.
-
Configure the route to be leaked, specifying the route prefix, the next-hop VRF name as the destination VRF and the next hop to the destination VRF.
- Optional:
(Optional) For bidirectional inter-VRF route leaking, repeat the above steps, but swap the source and destination addresses.