HP VPN Firewall Appliances Network Management Configuration Guide

365
Task Command
Remarks
Reset a RIP process. reset rip process-id process Available in user view.
Clear the statistics of a RIP process. reset rip process-id statistics Available in user view.
RIP version configuration example
In this example, Router A is the firewall.
Network requirements
As shown in Figure 251, enable RIPv2 on all interfaces on Router A and Router B.
Figure 251 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure basic RIP:
# Configure Router A.
<RouterA> system-view
[RouterA] rip
[RouterA-rip-1] network 1.0.0.0
[RouterA-rip-1] network 2.0.0.0
[RouterA-rip-1] network 3.0.0.0
[RouterA-rip-1] quit
# Configure Router B.
<RouterB> system-view
[RouterB] rip
[RouterB-rip-1] network 1.0.0.0
[RouterB-rip-1] network 10.0.0.0
[RouterB-rip-1] quit
# Display the RIP routing table on Router A.
[RouterA] display rip 1 route
Route Flags: R - RIP, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 1.1.1.2 on GigabitEthernet0/1
Destination/Mask Nexthop Cost Tag Flags Sec
10.0.0.0/8 1.1.1.2 1 0 RA 9
The output shows that RIPv1 uses natural masks to advertise routing information.
3. Configure a RIP version: