Displaying and
Maintaining RIP
RIP Configuration
Examples
Configuring RIP Version
neighbor is not directly connected, you must disable source address check on
incoming updates.
Follow these steps to specify a RIP neighbor:
To do...
Enter system view
Enter RIP view
Specify a RIP neighbor
Disable source address check
on incoming RIP updates
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.
To do...
Display RIP current status and
configuration information
Display all active routes in RIP
database
Display RIP interface
information
Display routing information
about a specified RIP process
Clear the statistics of a RIP
process
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
Vlan-int101
172.17.1.1 /24
Vlan -int102
172 .16 .1.1/24
Switch A
Use the command...
system-view
rip [ process-id ]
peer ip-address
undo
validate-source-address
Use the command...
display rip [ process-id ]
display rip process-id database
display rip process-id interface
[ interface-type interface-number ]
display rip process-id route
[ statistics | ip-address { mask |
mask-length } | peer ip-address ]
reset rip process-id statistics
Vlan- int100
192.168.1.3/24
Vlan -int100
192 .168 .1 .2/24
Switch B
Displaying and Maintaining RIP
Remarks
--
--
Required
By default, RIP sends no
updates to any IP address.
Required
Not disabled by default
Remarks
Available in any view
Available in user view
Vlan -int101
10 .2.1.1/24
Vlan-int102
10.1.1 .2/24
269