(Optional) Configuring FRR for IPv4 Static Routes
Pre-configuration Tasks
Before configuring FRR for IPv4 static routes, complete the following task:
-
Configure link layer parameters and IP addresses for interfaces to ensure that the link layer protocol on the interfaces is Up.
Procedure
- Run system-view
The system view is displayed.
- Run ip route-static frr [ vpn-instance vpn-instance-name ]
FRR is enabled for public network IPv4 static routes.
FRR is implemented only on the static routes that are manually configured. That is, FRR cannot be implemented on iterated next hops.
To implement route backup by configuring FRR for static routes, specify different preferences for these static routes.
To enable FRR for an Ethernet interface's static route and other static routes, configure the outbound interface and next hop.
- Run commit
The configuration is committed.
Verifying the Configuration
Run the following commands to verify the configuration.
-
Run the display ip routing-table verbose command to check detailed information about the backup outbound interfaces and backup next hops of routes in the routing table.
-
Run the display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] verbose command to check detailed information about the backup outbound interfaces and backup next hops of the routes with specified destination address and mask in the routing table.
-
Run the display ip routing-table ip-address1 { mask1 | mask-length1 } ip-address2 { mask2 | mask-length2 } verbose command to check detailed information about the backup outbound interfaces and backup next hops of routes with specified IP address range in the routing table.