Configuring policy-based routing on a routing instance
An example of configuring policy-based routing on a routing instance and the related commands.
In this example, the R1 vRouter is connected to the R2 vRouter through the dp0s7 interface that is bound to the GREEN routing instance.
Step | Command |
---|---|
Define the dp0s7 interface and bind it to the GREEN routing instance. |
|
Define an interface based static route. |
|
Create IPv4 and IPv6 PBR static routes under the GREEN routing instance. |
|
Create the IPv4 and IPv6 static routes with distance in the GREEN routing instance in the 10 PBR table. |
|
Create IPv4 and IPv6 black hole PBR static route configurations under the GREEN routing instance. |
|
Create unreachable IPv4 and IPv6 PBR static routes under the GREEN routing instance. |
|
View the configuration. |
|