Configuring static routes on a routing instance
Examples of configuring static routes on a routing instance and the related commands.
In this example, the R1 vRouter is connected to the R2 vRouter through the dp0s9 interface that is bound to the RED routing instance.
The following steps create static routes for the RED routing instance.
Step | Command |
---|---|
Define the dp0s9 interface and bind it to the RED routing instance. |
|
Create IPv4 and IPv6 static routes under the RED routing instance. |
|
Create IPv4 and IPv6 interface static routes under the RED routing instance. |
|
Create IPv4 and IPv6 blackhole static route configurations under routing instance RED. |
|
Create unreachable IPv4 and IPv6 static routes under routing instance RED. |
|
View the configuration. |
|
The following example shows how to add route leaking between the RED and BLUE routing instances.
Each routing instance operates independently and without knowledge of other routing instances, unless the routes are imported or exported to one another by using inter-VRF route leaking. Inter-VRF route leaking allows leaking of route prefixes from one routing instance to another on the same vRouter. Both dynamic and static route leaking are supported; this example shows how to configure static route leaking.
Step | Command |
---|---|
Configure route leaking for IPv4 and IPv6 routes by installing a route in RED with the next hop pointing to BLUE. |
|
View the configuration. |
|