database [ip-prefix [/mask] [longer] [peer ip-address] [detail [qos]]
show>router>rip
This command displays the routes in the RIP database.
Displays detailed RIP database information.
The following output is an example of RIP database information, and Table: Output fields: RIP database describes the output fields.
Sample output*A:dut-c>show>router>rip# database
===============================================================================
RIP Route Database
===============================================================================
Destination Peer Interface Met TTL Valid
-------------------------------------------------------------------------------
10.33.33.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.34.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.35.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.36.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.37.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.38.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.39.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.40.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.41.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.42.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.43.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.44.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.45.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.46.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
10.33.47.0/24 10.1.4.2 to-ixia-Nw-4 1 172 Yes
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Destination |
Displays the RIP destination for the route |
Peer |
Displays the router ID of the peer router |
Interface |
Displays the IP address of the interface |
Metric |
Displays the hop count to rate the value of different hops |
TTL |
Displays how many seconds the specific route remains in the routing table. When an entry reaches 0, it is removed from the routing table. |
Valid |
No — the route is not valid Yes — the route is valid |
group [group-name] [detail]
show>router>rip
This command displays RIP group information.
Displays RIP group information for the specified group.
Displays detailed RIP group information.
The following outputs are examples of RIP group information, and the corresponding tables describe the output fields.
Sample standard RIP group output, Table: Output fields: group
Sample output — detailed, Table: Output fields: RIP group detail
A:ALA-A# show router rip group
===============================================================================
RIP Groups
===============================================================================
Group Adm Opr Send Recv Metric
Mode Mode In
-------------------------------------------------------------------------------
rip-group Up Down BCast Both 1
===============================================================================
A:ALA-A#
Label |
Description |
---|---|
Group |
Displays the RIP group name |
Adm |
Down — the RIP group is administratively down Up — the RIP group is administratively up |
Opr |
Down — the RIP group is operationally down Up — the RIP group is operationally up |
Send Mode |
|
Recv Mode |
Both — Specifies that RIP updates in either version 1 or version 2 format are accepted None — Specifies that RIP updates are not accepted RIPv1 — Specifies that RIP updates in version 1 format only are accepted RIPv2 — Specifies that RIP updates in version 2 format only are accepted |
Metric In |
Displays the metric value added to routes received from a RIP neighbor |
*A:dut-c>show>router>rip# group detail
===============================================================================
RIP groups (Detail)
===============================================================================
-------------------------------------------------------------------------------
Group "test"
-------------------------------------------------------------------------------
Description : No Description Available
Admin State : Up Oper State : Down
Send Mode : Broadcast Receive Mode : Both
Metric In : 1 Metric Out : 1
Split Horizon : Enabled Check Zero : Disabled
Message Size : 25 Preference : 100
Auth. Type : None Update Timer : 30
Timeout Timer : 180 Flush Timer : 120
Export Policies:
direct_to_RIP
Import Policies:
None
-------------------------------------------------------------------------------
Group "to-ixia"
-------------------------------------------------------------------------------
Description : No Description Available
Admin State : Up Oper State : Up
Send Mode : Broadcast Receive Mode : Both
Metric In : 1 Metric Out : 1
Split Horizon : Enabled Check Zero : Disabled
Message Size : 25 Preference : 100
Auth. Type : None Update Timer : 30
Timeout Timer : 180 Flush Timer : 120
Export Policies:
direct_to_RIP
Import Policies:
None
===============================================================================
*A:dut-c>show>router>rip#
Label |
Description |
---|---|
Description |
Displays the RIP group description. No Description Available indicates no description is configured. |
Admin State |
Indicates whether the RIP group interface is administratively up or down |
Oper State |
Indicates whether the RIP group interface is operationally up or down |
Send Mode |
Bcast — specifies that RIPv2 formatted messages are sent to the broadcast address Mcast — specifies that RIPv2 formatted messages are sent to the multicast address None — specifies that no RIP messages are sent (silent listener) RIPv1 — specifies that RIPv1 formatted messages are sent to the broadcast address |
Receive Mode |
Both — specifies that RIP updates in either version 1 or version 2 format are accepted None — specifies that RIP updates are not accepted RIPv1 — specifies that RIP updates in version 1 format only are accepted RIPv2 — specifies that RIP updates in version 2 format only are accepted |
Metric In |
Displays the metric value added to routes received from a RIP neighbor |
Metric Out |
Displays the value added to routes exported into RIP and advertised to RIP neighbors |
Split Horizon |
Indicates whether split horizon and poison reverse is Enabled or Disabled for the RIP neighbor. |
Check Zero |
Disabled — the mandatory zero fields in RIP packets are not checked, allowing receipt of RIP messages even if mandatory zero fields are non-zero for the neighbor Enabled — mandatory zero fields in RIP packets are checked and non-compliant RIP messages are rejected |
Message Size |
Displays the maximum number of routes per RIP update message |
Preference |
Displays the preference of RIP routes from the neighbor |
Auth. Type |
Specifies the authentication type |
Update Timer |
Displays the current setting of the RIP update timer value expressed in seconds |
Timeout Timer |
Displays the current RIP timeout timer value expressed in seconds |
Flush Timer |
Displays the number of seconds after a route has been declared invalid that it is flushed from the route database |
Export Policies |
Displays the export route policy that is used to determine routes advertised to all peers |
Import Policies |
Displays the import route policy that is used to determine which routes are accepted from RIP neighbors |
neighbors [ip-addr | ip-int-name] [advertised-routes | detail]
show>router>rip
This command displays RIP neighbor interface information.
Displays information for the specified IP interface.
Displays the routes advertised to RIP neighbors. If no neighbors are specified, all routes advertised to all neighbors are displayed. If a neighbor is specified, only routes advertised to the specific neighbor or interface are displayed.
The following outputs are examples of RIP neighbor information, and the corresponding tables describe the output fields.
Sample output*A:dut-c>show>router>rip# neighbor
===============================================================================
RIP Neighbors
===============================================================================
Interface Adm Opr Primary IP Send Recv Metric
Mode Mode In
-------------------------------------------------------------------------------
to-ixia-Nw-4 Up Up 10.1.4.1 BCast Both 1
-------------------------------------------------------------------------------
No. of RIP Neighbors: 1
===============================================================================
*A:dut-c>show>router>rip#
Label |
Description |
---|---|
Neighbor |
Displays the RIP neighbor interface name |
Adm |
Down — RIP neighbor interface is administratively down Up — RIP neighbor interface is administratively up |
Opr |
Down — RIP neighbor interface is operationally down Up — RIP neighbor interface is operationally up |
Primary IP |
Displays the primary IP address of the RIP neighbor interface |
Send Mode |
Bcast — Specifies that RIPv2 formatted messages are sent to the broadcast address Mcast — Specifies that RIPv2 formatted messages are sent to the multicast address None — Specifies that no RIP messages are sent (that is, silent listener) RIPv1 — Specifies that RIPv1 formatted messages are sent to the broadcast address |
Recv Mode |
None — Specifies that RIP updates are not accepted RIPv1 — Specifies that RIP updates in version 1 format only are accepted RIPv2 — Specifies that RIP updates in version 2 format only are accepted |
Metric In |
Displays the metric added to routes received from a RIP neighbor |
*A:dut-c>show>router>rip# neighbor detail
===============================================================================
RIP Neighbors (Detail)
===============================================================================
-------------------------------------------------------------------------------
Neighbor "to-ixia-Nw-4"
-------------------------------------------------------------------------------
Description : No Description Available
Primary IP : 10.1.4.1 Group : to-ixia
Admin State : Up Oper State : Up
Send Mode : Broadcast Receive Mode : Both
Metric In : 1 Metric Out : 1
Split Horizon : Enabled Check Zero : Disabled
Message Size : 25 Preference : 100
Auth. Type : None Update Timer : 30
Timeout Timer : 180 Flush Timer : 120
Export Policies:
direct_to_RIP
Import Policies:
None
===============================================================================
*A:dut-c>show>router>rip#
Label |
Description |
---|---|
Neighbor |
Displays the RIP neighbor name |
Description |
Displays the RIP neighbor description. No Description Available indicates no description is configured. |
Primary IP |
Displays the RIP neighbor interface primary IP address |
Group |
Displays the RIP group name of the neighbor interface |
Admin State |
Down — RIP neighbor interface is administratively down Up — RIP neighbor interface is administratively up |
Oper State |
Down — RIP neighbor interface is operationally down Up — RIP neighbor interface is operationally up |
Send Mode |
Bcast — Specifies that RIPv2 formatted messages are sent to the broadcast address Mcast — Specifies that RIPv2 formatted messages are sent to the multicast address None — Specifies that no RIP messages are sent (that is, silent listener) RIPv1 — Specifies that RIPv1 formatted messages are sent to the broadcast address |
Recv Mode |
Both — Specifies that RIP updates in either version 1 or version 2 format are accepted None — Specifies that RIP updates are not accepted RIPv1 — Specifies that RIP updates in version 1 format only are accepted RIPv2 — Specifies that RIP updates in version 2 format only are accepted |
Metric In |
Displays the metric value added to routes received from a RIP neighbor |
Metric Out |
Displays the value added to routes exported into RIP and advertised to RIP neighbors |
Split Horizon |
Disabled — split horizon disabled for the neighbor Enabled — split horizon and poison reverse enabled for the neighbor |
Check Zero |
Disabled — checking of the mandatory zero fields in the RIPv1 and RIPv2 specifications are not checked allowing receipt of RIP messages even if mandatory zero fields are non-zero for the neighbor Enabled — checking of the mandatory zero fields in the RIPv1 and RIPv2 specifications and rejecting non-compliant RIP messages is enabled for the neighbor |
Message Size |
Displays the maximum number of routes per RIP update message |
Preference |
Displays the preference of RIP routes from the neighbor |
Auth. Type |
Specifies the authentication type |
Update Timer |
Displays the current setting of the RIP update timer value expressed in seconds |
Timeout Timer |
Displays the current RIP timeout timer value expressed in seconds |
Export Policies |
Displays the export route policy that is used to determine routes advertised to all peers |
Import Policies |
Displays the import route policy that is used to determine which routes are accepted from RIP neighbors |
A:ALA-A# show router rip neighbors interface advertised-routes
===============================================================================
RIP Advertised Routes
===============================================================================
Destination Interface NextHop Metric Tag TTL
-------------------------------------------------------------------------------
10.0.0.2/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.5/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.8/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.9/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.10/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.11/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.12/32 10.1.8.12 0.0.0.0 1 0x0000 n/a
10.0.0.13/32 10.1.8.12 0.0.0.0 10 0x2002 n/a
10.0.0.14/32 10.1.8.12 0.0.0.0 16 0x0000 n/a
10.0.0.15/32 10.1.8.12 0.0.0.0 2 0x0000 n/a
10.0.0.16/32 10.1.8.12 0.0.0.0 3 0x0000 n/a
-------------------------------------------------------------------------------
No. of Advertised Routes: 11
===============================================================================
A:ALA-A#
peer [ip-int-name]
show>router>rip
This command displays RIP peer information.
Displays peer information for peers on the specified IP interface.
The following output is an example of RIP peer information, and Table: Output fields: peer describes the output fields.
Sample output*A:dut-c>show>router>rip# peer
===============================================================================
RIP Peers
===============================================================================
Peer IP Addr Interface Name Version Last Update
-------------------------------------------------------------------------------
10.1.4.2 to-ixia-Nw-4 RIPv2 25
-------------------------------------------------------------------------------
No. of Peers: 1
===============================================================================
*A:dut-c>show>router>rip#
Label |
Description |
---|---|
Peer IP Addr |
Displays the IP address of the peer router |
Interface Name |
Displays the peer interface name |
Version |
Displays the version of RIP running on the peer |
Last Update |
Displays the number of days since the last update |
No. of Peers |
Displays the number of RIP peers |
statistics [ip-addr | ip-int-name]
show>router>rip
This command displays interface level statistics for the RIP protocol.
If no IP address or interface name is specified, all configured RIP interfaces are displayed.
If an IP address or interface name is specified, only data about the specified RIP interface is displayed.
Displays statistics for the specified IP interface.
The following output is an example of RIP statistics information, and Table: Output fields: statistics describes the output fields.
Sample output*A:dut-c>show>router>rip# statistics
===============================================================================
RIP Statistics
===============================================================================
Learned Routes : 2,000 Timed Out Routes : 0
Current Memory : 1,944,096 Maximum Memory : 4,456,640
-------------------------------------------------------------------------------
Interface "to-ixia-Nw-4"
-------------------------------------------------------------------------------
Primary IP : 10.1.4.1 Update Timer : 30
Timeout Timer : 180 Flush Timer : 120
Counter Total Last 5 Min Last 1 Min
-------------------------------------------------------------------------------
Updates Sent 450983 656 0
Triggered Updates 88 0 0
Bad Packets Received 0 0 0
RIPv1 Updates Received 0 0 0
RIPv1 Updates Ignored 0 0 0
RIPv1 Bad Routes 0 0 0
RIPv1 Requests Received 0 0 0
RIPv1 Requests Ignored 0 0 0
RIPv2 Updates Received 404218 640 80
RIPv2 Updates Ignored 0 0 0
RIPv2 Bad Routes 0 0 0
RIPv2 Requests Received 0 0 0
RIPv2 Requests Ignored 0 0 0
Authentication Errors 0 0 0
===============================================================================
*A:dut-c>show>router>rip#
Label |
Description |
---|---|
Learned Routes |
Displays the number of RIP-learned routes that were exported to RIP neighbors |
Timed Out Routes |
Displays the number of routes that have been timed out |
Current Memory |
Displays the amount of memory used by this RIP router instance |
Maximum Memory |
Displays the amount of memory allocated for this RIP router instance |
Interface |
Displays the name of each interface configured in RIP and associated RIP statistics. |
Primary IP |
Displays the interface IP address |
Update Timer |
Displays the current setting of the RIP update timer value expressed in seconds |
Timeout Timer |
Displays the current RIP timeout timer value expressed in seconds |
Flush Timer |
Displays the number of seconds after a route has been declared invalid that it is flushed from the route database |
Updates Sent |
Total — total number of RIP updates that were sent Last 5 Min — number of RIP updates that were sent in the last 5 minutes Last 1 Min — number of RIP updates that were sent in the last 1 minute |
Triggered Updates |
Total — total number of triggered updates sent. These updates are sent before the entire RIP routing table is sent Last 5 Min — number of triggered updates that were sent in the last 5 minutes Last 1 Min — number of triggered updates that were sent in the last 1 minute |
Bad Packets Received |
Total — total number of RIP updates received on this interface that were discarded as invalid Last 5 Min — number of RIP updates received on this interface that were discarded as invalid in the last 5 minutes Last 1 Min — number of RIP updates received on this interface that were discarded as invalid in the last 1 minute |
RIPv1 Updates Received |
Total — total number of RIPv1 updates received Last 5 Min — number of RIPv1 updates received in the last 5 minutes Last 1 Min — number of RIPv1 updates received in the last 1 minute |
RIPv1 Updates Ignored |
Total — total number of RIPv1 updates ignored Last 5 Min — number of RIPv1 updates ignored in the last 5 minutes Last 1 Min — number of RIPv1 updates ignored in the last 1 minute |
RIPv1 Bad Routes |
Total — total number of bad routes received from the peer Last 5 Min — number of bad routes received from the peer in the last 5 minutes Last 1 Min — number of bad routes received from the peer in the last minute |
RIPv1 Requests Received |
Total — total number of times the router received RIPv1 route requests from other routers Last 5 Min — number of times the router received RIPv1 route requests from other routers in the last 5 minutes Last 1 Min — The number of times the router received RIPv1 route requests from other routers in the last 1 minute |
RIPv1 Requests Ignored |
Total — total number of times the router ignored RIPv1 route requests from other routers Last 5 Min — number of times the router ignored RIPv1 route requests from other routers in the last 5 minutes Last 1 Min — number of times the router ignored RIPv1 route requests from other routers in the last 1 minute |
RIPv2 Updates Received |
Total — total number of RIPv2 updates received Last 5 Min — number of RIPv2 updates received in the last 5 minutes Last 1 Min — number of RIPv2 updates received in the last minute |
|
Total — total number of RIPv2 updates ignored Last 5 Min — number of RIPv2 updates ignored in the last 5 minutes Last 1 Min — number of RIPv2 updates ignored in the last minute |
RIPv2 Bad Routes |
Total — total number of RIPv2 bad routes received from the peer Last 5 Min — number of RIPv2 bad routes received from the peer in the last 5 minutes Last 1 Min — number of RIPv2 bad routes received from the peer in the last minute |
RIPv2 Requests Received |
Total — total number of times the router received RIPv2 route requests from other routers Last 5 Min — number of times the router received RIPv2 route requests from other routers in the last 5 minutes Last 1 Min — number of times the router received RIPv2 route requests from other routers in the last minute |
RIPv2 Requests Ignored |
Total — total number of times the router ignored RIPv2 route requests from other routers Last 5 Min — number of times the router ignored RIPv2 route requests from other routers in the last 5 minutes Last 1 Min — number of times the router ignored RIPv2 route requests from other routers in the last minute |
Authentication Errors |
Total — total number of authentication errors to secure table updates Last 5 Min — number of authentication errors to secure table updates in the last 5 minutes Last 1 Min — number of authentication errors to secure table updates in the last minute |