Displaying and Maintaining RIP 269
neighbor is not directly connected, you must disable source address check on
incoming updates.
Follow these steps to specify a RIP neighbor:
n
You need not use the peer ip-address command when the neighbor is directly
connected; otherwise the neighbor may receive both the unicast and multicast (or
broadcast) of the same routing information.
Displaying and
Maintaining RIP
RIP Configuration
Examples
Configuring RIP Version Network requirements
As shown in Figure 72, enable RIPv2 on all interfaces on Switch A and Switch B.
Network diagram
Figure 72 Network diagram for RIP version configuration
To do… Use the command… Remarks
Enter system view system-view --
Enter RIP view rip [ process-id ] --
Specify a RIP neighbor peer ip-address Required
By default, RIP sends no
updates to any IP address.
Disable source address check
on incoming RIP updates
undo
validate-source-address
Required
Not disabled by default
To do… Use the command… Remarks
Display RIP current status and
configuration information
display rip [ process-id ] Available in any view
Display all active routes in RIP
database
display rip process-id database
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
[ statistics | ip-address { mask |
mask-length } | peer ip-address ]
Clear the statistics of a RIP
process
reset rip process-id statistics Available in user view
Vlan-int102
172.16.1.1/24
Vlan-int100
192.168.1.2/24
Vlan-int102
10.1.1.2/24
Vlan-int100
192.168.1.3/24
Vlan-int101
10.2.1.1/24
Vlan-int101
172.17.1.1/24
Switch A Switch B