37
Task Command
Remarks
Display RIP current status and
configuration information.
display rip
[
process-id
|
vpn-instance
vpn-instance-name
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display all active routes in RIP
database.
display rip
process-id
database
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display RIP interface information.
display rip
process-id
interface
[
interface-type interface-number
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display routing information about
a specified RIP process.
display rip
process-id
route
[
ip-address
{
mask
|
mask-length
}
|
peer
ip-address
|
statistics
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Reset a RIP process.
reset rip
process-id
process
Available in user view
Clear the statistics of a RIP process.
reset rip
process-id
statistics
Available in user view
RIP configuration examples
Configuring RIP version
Network requirements
As shown in
, enable RIPv2 on all interfaces on Switch A and Switch B.
Figure 10
Network diagram
Configuration procedure
1.
Configure an IP address for each interface. (Details not shown.)
2.
Configure basic RIP functions:
# Configure Switch A.
[SwitchA] rip
[SwitchA-rip-1] network 192.168.1.0
[SwitchA-rip-1] network 172.16.0.0
[SwitchA-rip-1] network 172.17.0.0
[SwitchA-rip-1] quit
# Configure Switch B.
[SwitchB] rip