Task
Display all active routes in RIP
database.
Display RIP interface information.
Display routing information about
a specified RIP process.
Reset a RIP process.
Clear the statistics of a RIP
process.
RIP configuration examples
Configuring RIP version
Network requirements
As shown in
Figure 7 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure basic RIP:
2.
# 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
Command
display rip process-id database
[ | { begin | exclude | include }
regular-expression ]
display rip process-id interface
[ interface-type interface-number ]
[ | { begin | exclude | include }
regular-expression ]
display rip process-id route
[ ip-address { mask |
mask-length } | peer ip-address |
statistics ] [ | { begin | exclude |
include } regular-expression ]
reset rip process-id process
reset rip process-id statistics
Figure
7, enable RIPv2 on all interfaces on Router A and Router B.
35
Remarks
Available in any view.
Available in any view.
Available in any view.
Available in user view.
Available in user view.