F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

365
2. Configure basic RIP:
# Configure Firewall.
<Firewall> system-view
[Firewall] rip
[Firewall-rip-1] network 1.0.0.0
[Firewall-rip-1] version 2
[Firewall-rip-1] undo summary
[Firewall-rip-1] quit
# Configure Router A.
<RouterA> system-view
[RouterA] rip
[RouterA-rip-1] network 1.0.0.0
[RouterA-rip-1] version 2
[RouterA-rip-1] undo summary
# Configure Router B.
<RouterB> system-view
[RouterB] rip
[RouterB-rip-1] network 1.0.0.0
[RouterB-rip-1] version 2
[RouterB-rip-1] undo summary
# Configure Router C.
<RouterC> system-view
[RouterC] rip
[RouterC-rip-1] network 1.0.0.0
[RouterC-rip-1] version 2
[RouterC-rip-1] undo summary
# Configure Router D.
<RouterD> system-view
[RouterD] rip
[RouterD-rip-1] network 1.0.0.0
[RouterD-rip-1] version 2
[RouterD-rip-1] undo summary
# Display the IP routing table on Firewall.
[Firewall] display rip 1 database
1.0.0.0/8, cost 0, ClassfulSumm
1.1.1.0/24, cost 0, nexthop 1.1.1.1, Rip-interface
1.1.2.0/24, cost 0, nexthop 1.1.2.1, Rip-interface
1.1.3.0/24, cost 1, nexthop 1.1.1.2
1.1.4.0/24, cost 1, nexthop 1.1.2.2
1.1.5.0/24, cost 2, nexthop 1.1.1.2
1.1.5.0/24, cost 2, nexthop 1.1.2.2
The output shows that two RIP routes can reach network 1.1.5.0/24. Their next hops are Router A
(1.1.1.2) and Router B (1.1.2.2), respectively, with the same cost of 2. Router A is the next hop
router to reach network 1.1.4.0/24, with a cost of 1.
3. Configure an additional metric of 3 for RIP-enabled GigabitEthernet 0/2 on Firewall.
[Firewall] interface gigabitethernet 0/2
[Firewall-GigabitEthernet0/2] rip metricin 3