Configure a VRF ID on an interface
From the Network > Interfaces page, users can configure VRF (virtual routing and forwarding) IDs directly on the interface. The VRF IDs can be displayed in the routing monitor and can be used to create blackhole static routes.
VRF allows multiple routing table instances to co-exist on the same router. One or more interfaces may have a VRF, and packets are only forwarded between interfaces with the same VRF.
Enable Advanced Routing in System > Feature Visibility to use this feature. |
To configure a VRF ID in the GUI:
-
Configure the interface:
-
Go to Network > Interfaces and click Create New > Interface.
-
Enter a value in the VRF ID field.
-
Configure the other settings as needed.
-
Click OK.
-
To add the VRF column in the interface table, click the gear icon, select VRF, and click Apply.
-
-
Add a blackhole static route using the VRF ID:
-
Go to Network > Static Routes and click Create New.
-
Enter the subnet.
-
In the Interface field, select Blackhole.
-
In the VRF ID field, enter the ID you created in step 1.
-
Click OK.
-
To configure a VRF ID in the CLI:
-
Configure the interface:
config system interface edit interface42 ... set vrf 14 next end
-
Add a blackhole static route using the VRF ID:
config router static edit 3 set dst 8.8.8.8 255.255.255.255 set blackhole enable set vrf 14 next end