All RIP configuration and status information is shown by the CLI command show ip rip
and options off that command.
Syntax:
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.
To display RIP interface information, enter the show ip rip interface
command at any context level.
Syntax:
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
command.vid
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:
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
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.)
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.
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.)