Displaying and maintaining rip, Rip configuration examples, Basic rip configuration example – H3C Technologies H3C S5560 Series Switches User Manual
Page 58: Network requirements, Configuration procedure

42
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-length | mask } ]
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-length
| mask } [ verbose ] | peer ip-address | statistics ]
Reset a RIP process.
reset rip process-id process
Clear the statistics for a RIP process.
reset rip process-id statistics
RIP configuration examples
Basic RIP configuration example
Network requirements
As shown in
, enable RIPv2 on all interfaces on Switch A and Switch B. Configure Switch B to not
advertise route 10.2.1.0/24 to Switch A, and to accept only route 2.1.1.0/24 from Switch A.
Figure 7 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure basic RIP:
# Enable RIP on the specified networks on Switch A.
[SwitchA] rip
[SwitchA-rip-1] network 1.0.0.0
[SwitchA-rip-1] network 2.0.0.0
[SwitchA-rip-1] network 3.0.0.0
[SwitchA-rip-1] quit
# Enable RIP on the specified interfaces on Switch B.