37
Configuration prerequisites
You must specify a next hop by using the apply fast-reroute backup-interface command in a routing
policy and reference the routing policy for FRR. For more information about routing policy configuration,
see "Configuring routing policies."
Configuration procedure
To configure RIP FRR:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the source address
of echo packets.
bfd echo-source-ip ip-address
By default, the source address of
echo packets is not configured.
3. Enter RIP view.
rip [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
4. Configure RIP FRR.
fast-reroute route-policy
route-policy-name
By default, RIP FRR is disabled.
Displaying and maintaining RIP
Execute display commands in any view and execute reset commands in user view.
Task Command
Display RIP current status and configuration
information.
display rip [ process-id ]
Display active routes in RIP database.
display rip process-id database [ ip-address { mask |
mask-length } ]
Display RIP interface information.
display rip process-id interface [ interface-type
interface-number ]
Display routing information about a specified RIP
process.
display rip process-id route [ ip-address { mask |
mask-length } [ verbose ] | peer ip-address | statistics ]
Reset a RIP process. reset rip process-id process
Clear the statistics of a RIP process. reset rip process-id statistics
RIP configuration examples
Configuring basic RIP
Network requirements
As shown in Figure 7, enable RIPv2 on all interfaces on Router A and Router B. Configure Router B to not
advertise route 10.2.1.0/24 to Router A, and to accept only route 2.1.1.0/24 from Router A.