< Home

display rip route

Function

The display rip route command displays all the RIP routes that are learned from other switches and view the values of different timers related to each route.

Format

display rip process-id route

Parameters

Parameter Description Value

process-id

Specifies the ID of a RIP process.

The value is an integer ranging from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After a RIP process is enabled on all devices that need to run RIP and the network command is run to enable RIP on the related network segment, the display rip route command can be used to view RIP routing information.

Example

# Display all the RIP routes and the values of different timers related to each route.

<HUAWEI> display rip 1 route
 Route Flags: R - RIP
              A - Aging, G - Garbage-collect 
 --------------------------------------------------------------------------
 Peer 192.168.5.1  on Vlanif100
      Destination/Mask        Nexthop     Cost   Tag     Flags   Sec
       172.16.0.0/16         192.168.5.1    1    0       RA      15
     192.168.14.0/24         192.168.5.1    2    0       RA      15
Table 1 Description of the display rip route command output

Item

Description

Route Flags

Route flags. First character indicating that the route is a RIP or TRIP route, Second character indicating the status of the route:

  • RA: indicates that a RIP route is active.
  • RG: indicates that a RIP route is inactive and that the Garbage-Collect timer has been started.

Destination/Mask

Destination IP Address and its mask value

Nexthop

Next hop of the route

Cost

Metric value of the route

Tag

Tag that is used to differentiate internal RIP routes from external routes

  • 0: indicates that a RIP route is internal route.
  • 1: indicates that a RIP route is external route.

Sec

Time during which a route remains in a specific state

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >