Viewing RIP information

All RIP configuration and status information is shown by the CLI command show ip rip and options off that command.

Viewing general RIP information

Syntax:

show ip rip

To display general RIP information, enter show ip rip at any context level. The resulting display will appear similar to the following:

General RIP information listing

HP Switch(config)# show ip rip

RIP global parameters
  RIP protocol  : enabled Auto-summary  : enabled 
  Default Metric : 4
  Distance      : 120
  Route changes  : 0
  Queries       : 0

RIP interface information
IP Address      Status      Send mode        Recv mode Metric       Auth
--------------- ----------- ---------------- ---------- ----------- ----
100.1.0.1       enabled     V2-only          V2-only    5           none
100.2.0.1       enabled     V2-only          V2-only    5           none
100.3.0.1       enabled     V2-only          V2-only    5           none
100.4.0.1       enabled     V2-only          V2-only    5           none

RIP peer information

IP Address      Bad routes  Last update timeticks
--------------- ----------- ---------------------

The display is a summary of global RIP information, information about interfaces with RIP enabled, and information about RIP peers.

RIP protocol

Status of the RIP protocol on the router. RIP must be enabled here and on the VLAN interface for RIP to be active.

The default is disabled.

Auto-summary

Status of auto-summary for all interfaces running RIP. If auto-summary is enabled, subnets will be summarized to a class network when advertising outside of the given network.

Default metric

Sets the default metric for imported routes. This is the metric that will be advertised with the imported route to other RIP peers. A RIP metric is a measurement used to determine the "best" path to network: 1 is the best, 15 is the worst, 16 is unreachable.

Route changes

The number of times RIP has modified the routing switch’s routing table.

Queries

The number of RIP queries that have been received by the routing switch.

RIP interface information

RIP information on the VLAN interfaces on which RIP is enabled.

IP address

Address of the VLAN interface running RIP.

Status

Status of RIP on the VLAN interface.

Send mode

Format of the RIP updates: RIP 1, RIP 2, or RIP 2 version 1 compatible.

Recv mode

The switch can process RIP 1, RIP 2, or RIP 2 version 1 compatible update messages.

Metric

Path "cost," a measurement used to determine the "best" RIP route path: 1 is the best, 15 is the worst, 16 is unreachable.

Auth

RIP messages can be required to include an authentication key if enabled on the interface.

RIP peer information

RIP peers are neighboring routers from which the routing switch has received RIP updates:

IP address

IP address of the RIP neighbor.

Bad routes

Number of route entries which were not processed for any reason.

Last update timeticks

Number of seconds that have passed since we received an update from this neighbor.

Viewing RIP interface information

To display RIP interface information, enter the show ip rip interface command at any context level.

Syntax:

show ip rip interface [ ip-addr | vlan vlan-id ]

The resulting display will appear similar to the following:

HP Switch(config)# show ip rip interface

 RIP interface information

  IP Address      Status      Send mode        Recv mode  Metric      Auth
  --------------- ----------- ---------------- ---------- ----------- ----
  100.1.0.1       enabled     V2-only          V2-only    1           none
  100.2.0.1       enabled     V2-only          V2-only    1           none
  100.3.0.1       enabled     V2-only          V2-only    1           none
  100.4.0.1       enabled     V2-only          V2-only    1           none

You can also display the information for a single RIP VLAN interface, by specifying the VLAN ID for the interface, or by specifying the IP address for the interface.

RIP interface output by VLAN

To show the RIP interface information for VLAN 1000, use the show ip rip interface vlan vid command.

HP Switch# show ip rip interface vlan 4

 RIP configuration and statistics for VLAN 4

 RIP interface information for 100.4.0.1

  IP Address : 100.4.0.1
  Status     : enabled

  Send Mode  : V2-only 
  Recv mode  : V2-only 
  Metric : 1
  Auth : none

  Bad packets received : 0
  Bad routes received  : 0
  Sent updates : 0

For definitions of the fields in, see Viewing general RIP information.

The RIP interface information also includes the following fields:

Bad packets received

Number of packets that were received on this interface and were not processed for any reason.

Bad routes received

Number of route entries that were received on this interface and were not processed for any reason.

Sent updates

Number of RIP routing updates that have been sent on this interface.

Example:

Example of show IP rip interface output by IP address

To show the RIP interface information for the interface with IP address 100.2.0.1, enter the show ip rip interface command:

HP Switch# show ip rip interface 100.2.0.1

 RIP interface information for 100.2.0.1

  IP Address : 100.2.0.1
  Status    : enabled

  Send Mode : V2-only 
  Recv mode : V2-only 
  Metric : 1
  Auth : none

  Bad packets received : 0
  Bad routes received  : 0
  Sent updates : 0

Viewing RIP peer information

To display RIP peer information, enter the show ip rip peer command at any context level.

The resulting display will appear similar to the following:

Example of show IP rip peer output

HP Switch# show ip rip peer
RIP peer information
 IP Address      Bad routes  Last update timeticks
 --------------- ----------- ---------------------
 100.1.0.100     0           1
 100.2.0.100     0           0
 100.3.0.100     0           2
 100.10.0.100    0           1

This display lists all neighboring routers from which the routing switch has received RIP updates. The following fields are displayed:

IP address

IP address of the RIP peer neighbor.

Bad routes

The number of route entries that were not processed for any reason.

Last update timeticks

How many seconds have passed since the routing switch received an update from this peer neighbor.

To show the RIP peer information for a specific peer with IP address 100.1.0.100, enter show ip rip peer 100.1.0.100.

Example of show IP rip peer ip-addr output

HP Switch# show ip rip peer 100.0.1.100
RIP peer information for 100.0.1.100
  IP Address : 100.1.0.100
  Bad routes : 0
  Last update timeticks : 2

This display lists information in the fields described above (IP address, Bad routes, Last update timeticks.)

Viewing RIP redistribution information

To display RIP redistribution information, enter the show ip rip redistribute command at any context level:

Example of show IP rip redistribute output

HP Switch# show ip rip redistribute

RIP redistributing

 Route type Status
 ---------  ------
 connected  enabled
 static     disabled
 ospf       disabled

RIP automatically redistributes connected routes that are configured on interfaces that are running RIP and all routes that are learned via RIP. The router rip redistribute command Configuring for redistribution, configures the routing switch to cause RIP to advertise connected routes that are not running RIP, static routes, and OSPF routes. The display shows whether RIP redistribution is enabled or disabled for connected, static, and OSPF routes.

Viewing RIP redistribution filter (restrict) information

To display RIP restrict filter information, enter the show ip rip restrict command at any context level:

Example of show IP rip restrict output

HP Switch# show ip rip restrict
RIP restrict list

IP Address   Mask
------------ ------------
192.0.2.0    255.255.255.0

The display shows if any routes identified by the IP Address and Mask fields are being restricted from redistribution. The restrict filters are configured by the router rip restrict command. (See Configuring for redistribution.)