R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

259
To do… Use the command…
Remarks
Display routing information about
a specified RIP process
display rip process-id route [ ip-address { mask |
mask-length } | peer ip-address | statistics ]
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
RIP version configuration example
Network requirements
As shown in Figure 144, enable RIPv2 on all interfaces on Firewall A and Firewall B.
Figure 144 Network diagram for RIP version configuration
Configuration procedure
1. Configure an IP address for each interface (omitted)
2. Configure basic RIP functions
# Configure Firewall A.
<FirewallA> system-view
[FirewallA] rip
[FirewallA-rip-1] network 1.0.0.0
[FirewallA-rip-1] network 2.0.0.0
[FirewallA-rip-1] network 3.0.0.0
# Configure Firewall B.
<FirewallB> system-view
[FirewallB] rip
[FirewallB-rip-1] network 1.0.0.0
[FirewallB-rip-1] network 10.0.0.0
# Display the RIP routing table on Firewall A.
[FirewallA] 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/0
Destination/Mask Nexthop Cost Tag Flags Sec
10.0.0.0/8 1.1.1.2 1 0 RA 9
From the routing table, you can see RIPv1 uses natural mask to advertise routing information.
3. Configure a RIP version
# Configure RIP version 2 on Firewall A.