7.10. RIP Command Reference

7.10.1. Command Hierarchies

7.10.1.1. Configuration Commands

7.10.1.1.1. Global RIP Commands

config
— router [router-name]
[no] rip
authentication-key {authentication-key | hash-key} [hash | hash2]
authentication-type {none | password | message-digest | message-digest-20}
check-zero {enable | disable}
— no check-zero
description string
export policy-name [policy-name…(up to 5 max)]
— no export
export-limit number [log percentage]
[no] group group-name
import policy-name [policy-name…(up to 5 max)]
— no import
message-size max-num-of-routes
metric-in metric
— no metric-in
metric-out metric
— no metric-out
preference preference
— no preference
receive receive-type
— no receive
send send-type
— no send
[no] shutdown
split-horizon {enable | disable}
timers update timeout flush
— no timers

7.10.1.1.2. Group RIP Commands

config
— router [router-name]
[no] rip
[no] group group-name
authentication-key {authentication-key | hash-key} [hash | hash2]
authentication-type {none | password | message-digest | message-digest-20}
check-zero {enable | disable}
— no check-zero
description string
export policy-name [policy-name…(up to 5 max)]
— no export
import policy-name [policy-name…(up to 5 max)]
— no import
message-size max-num-of-routes
metric-in metric
— no metric-in
metric-out metric
— no metric-out
[no] neighbor ip-int-name
preference preference
— no preference
receive receive-type
— no receive
send send-type
— no send
[no] shutdown
split-horizon {enable | disable}
timers update timeout flush
— no timers

7.10.1.1.3. Neighbor RIP Commands

config
— router [router-name]
[no] rip
[no] group group-name
[no] neighbor ip-int-name
authentication-key {authentication-key | hash-key} [hash | hash2]
authentication-type {none | password | message-digest | message-digest-20}
check-zero {enable | disable}
— no check-zero
description string
export policy-name [policy-name…(up to 5 max)]
— no export
import policy-name [policy-name…(up to 5 max)]
— no import
message-size max-num-of-routes
metric-in metric
— no metric-in
metric-out metric
— no metric-out
preference preference
— no preference
receive receive-type
— no receive
send send-type
— no send
[no] shutdown
split-horizon {enable | disable}
timers update timeout flush
— no timers

7.10.1.2. Show Commands

show
— router [router-instance]
— rip
database [ip-prefix [/mask] [longer] [peer ip-address] [detail]
group [name] [detail]
neighbor [ip-int-name | ip-address] [detail] [advertised-routes]
peer [interface-name]
statistics [ip-int-name | ip-address]

7.10.1.3. Clear Commands

clear
— router
— rip
statistics [neighbor ip-int-name | ip-address]

7.10.1.4. Debug Commands

debug
— router
— rip
[no] auth [neighbor ip-int-name | ip-address]
[no] error [neighbor ip-int-name | ip-address]
[no] events [neighbor ip-int-name | ip-address]
[no] holddown [neighbor ip-int-name | ip-address]
[no] packets [neighbor ip-int-name | ip-address]
[no] request [neighbor ip-int-name | ip-address]
[no] trigger [neighbor ip-int-name | ip-address]
[no] updates [neighbor ip-int-name | ip-address]
Note:

Unless specified otherwise, all hierarchical RIP commands can be modified on different levels. The most specific value is used. A RIP group-specific command takes precedence over a global RIP command. A neighbor-specific command takes precedence over a global RIP or group-specific RIP command.

7.10.2. Command Descriptions

7.10.2.1. Configuration Commands

7.10.2.1.1. Generic Commands

description

Syntax 
description description-string
no description
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command creates a text description stored in the configuration file for a configuration context.

The no form of the command removes the description string from the context.

Default 

no description is associated with the configuration context

Parameters 
description-string —
the description character string. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

shutdown

Syntax 
[no] shutdown
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.

The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.

The no form of this command administratively enables an entity.

Unlike other commands and parameters where the default state is not indicated in the configuration file, the shutdown and no shutdown states are always indicated in system-generated configuration files.

Default administrative states for services and service entities are described in Special Cases.

Special Cases 
RIP Global—
the RIP protocol is created in the no shutdown state
RIP Group—
RIP groups are created in the no shutdown state
RIP Neighbor—
RIP neighbors/peers are created in the no shutdown state

7.10.2.1.2. RIP Commands

rip

Syntax 
[no] rip
Context 
config>router
Description 

This command creates the RIP protocol instance and RIP configuration context. RIP is administratively enabled upon creation. To start or suspend execution of the RIP protocol without affecting the configuration, use the [no] shutdown command.

The no form of the command deletes the RIP protocol instance and removes all configuration parameters for the RIP instance.

Default 

no rip

authentication-key

Syntax 
authentication-key {authentication-key | hash-key} [hash | hash2]
no authentication-key
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the RIPv2 authentication key.

Authentication is performed between neighboring routers before setting up the RIP session by verifying the password. Authentication is performed using the MD5 message-based digest.

The authentication key can be any combination of ASCII characters up to 255 characters long. The hash-key can be any combination of ASCII characters up to 342 characters long.

The no form of the command removes the authentication password from the configuration and disables authentication.

Default 

no authentication-key

Parameters 
authentication-key —
the authentication key. The key can be any combination of ASCII characters up to 255 characters in length (unencrypted). If spaces are used in the string, the entire string must be enclosed in quotation marks (“ ”).
hash-key—
the hash key. The key can be any combination of ASCII characters up to 342 characters in length (encrypted). If spaces are used in the string, the entire string must be enclosed in quotation marks (“ “). This is useful when a user must configure the parameter, but for security purposes, the actual unencrypted key value is not provided.
hash—
specifies that the key is entered in an encrypted form. If the hash parameter is not used, the key is assumed to be in a non-encrypted, clear text form. For security, all keys are stored in encrypted form in the configuration file with the hash parameter specified.
hash2—
specifies that the key is entered in a more complex encrypted form. If the hash2 parameter is not used, the less-encrypted hash form is assumed.

authentication-type

Syntax 
authentication-type {none | password | message-digest | message-digest-20}
no authentication-type
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command sets the type of authentication to be used between RIP neighbors. Authentication type can be specified regardless of the configured send and receive parameters, but will only apply to RIPv2 packets.

The type and password must match exactly for the RIP message to be considered authentic and processed.

The no form of the command removes the authentication type from the configuration and disables authentication.

Default 

no authentication-type

Parameters 
none—
explicitly disables authentication at a given level (global, group, neighbor). If the command does not exist in the configuration, the parameter is inherited from a higher level.
password—
enables simple password (plain text) authentication. If authentication is enabled and no authentication type is specified in the command, simple password authentication is enabled.
message-digest—
configures 16-byte message digest for MD5 authentication. If this option is configured, then at least one message-digest key must be configured.
message-digest-20—
configures 20-byte message digest for MD5 authentication in accordance with RFC 2082, RIP-2 MD5 Authentication. If this option is configured, then at least one message-digest key must be configured.

check-zero

Syntax 
check-zero {enable | disable}
no check-zero
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command enables checking for zero values in fields specified to be zero by the RIPv1 and RIPv2 specifications.

The check-zero enable command enables checking of the mandatory zero fields in the RIPv1 and RIPv2 specifications and rejecting of non-compliant RIP messages.

The check-zero disable command disables this check and allows the receipt of RIP messages even if the mandatory zero fields are non-zero.

The check-zero command can be enabled at all three RIP levels. The most specific value is used. If no check-zero value is set (no check-zero), the setting from the less-specific level is inherited by the lower level.

The no form of the command disables check-zero on the configuration.

Default 

disabled at the RIP global level

Parameters 
enable —
configures the router to reject RIP messages that do not have zero in the mandatory fields
disable —
configures the router to accept RIP messages that do not have zero in the mandatory fields

export

Syntax 
export policy-name [policy-name…(up to 5 max)]
no export
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command specifies the export route policy used to determine which routes are advertised to peers. Route policies are configured in the config>router>policy-options context. Refer to the section on “Route Policy” in the 7705 SAR Router Configuration Guide.

When multiple policy names are specified, the policies are evaluated in the order in which they are specified. A maximum of five (5) policy names can be configured. The first policy that matches is applied.

When multiple export commands are issued, the last command entered overrides the previous command.

By default, when no export policies are specified, RIP routes are advertised and non-RIP routes are not advertised.

The no form of the command removes the policy association with the RIP instance. To remove association of all policies, use the no export command without arguments.

Default 

no export

Parameters 
policy-name —
the route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

export-limit

Syntax 
export-limit number [log percentage]
no export-limit
Context 
config>router>rip
Description 

This command configures the maximum number of routes (prefixes) that can be exported into RIP from the route table. Export-limit can be configured only on the global level.

The no form of the command removes the parameters from the configuration.

Default 

no export-limit

Parameters 
number —
specifies the maximum number of routes (prefixes) that can be exported into RIP from the route table
Values—
1 to 4294967295

 

percentage —
specifies the percentage of the export-limit at which a warning log message and SNMP notification would be sent
Values—
1 to 100

 

group

Syntax 
[no] group group-name
Context 
config>router>rip
Description 

This command enables the context for configuring a RIP group of neighbor interfaces.

RIP groups logically associate RIP neighbor interfaces to facilitate a common configuration for RIP interfaces.

The no form of the command deletes the RIP neighbor interface group. Deleting the group also removes the RIP configuration from all of the neighbor interfaces currently assigned to the group.

Parameters 
group-name —
the RIP group name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

import

Syntax 
import policy-name [policy-name…(up to 5 max)]
no import
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command specifies the import route policy to be used to determine which routes are accepted from peers. Route policies are configured in the config>router>policy-options context. Refer to the section on “Route Policy” in the 7705 SAR Router Configuration Guide.

When multiple policy names are specified, the policies are evaluated in the order in which they are specified. A maximum of five (5) policy names can be specified. The first policy that matches is applied.

When multiple import commands are issued, the last command entered will override the previous command.

When an import policy is not specified, RIP routes are accepted by default.

The no form of the command removes the policy association with the RIP instance. To remove association of all policies, use no import without arguments.

Default 

no import

Parameters 
policy-name —
the route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

message-size

Syntax 
message-size max-num-of-routes
no message-size
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the maximum number of routes per RIP update message.

By default, each update can contain a maximum of 25 route advertisements. This limit is imposed by RIP specifications. RIP can be configured to send as many as 255 routes per update.

The no form of the command reverts to the default value.

Default 

25

Parameters 
max-num-of-routes—
the maximum number of RIP routes per RIP update message, expressed as a decimal integer
Values—
25 to 255

 

metric-in

Syntax 
metric-in metric
no metric-in
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the metric added to routes received from a RIP neighbor. The specified metric value is added to the hop count and shortens the maximum distance of the route.

When applying an export policy to a RIP configuration, the policy overrides the metric values determined through calculations involving the metric-in and metric-out values.

The no form of the command reverts to the default value.

Default 

1

Parameters 
metric—
the value added to the metric of routes received from a RIP neighbor, expressed as a decimal integer
Values—
1 to 16

 

metric-out

Syntax 
metric-out metric
no metric-out
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the metric assigned to routes exported into RIP and advertised to RIP neighbors. The specified metric value is added to the hop count and shortens the maximum distance of the route.

When applying an export policy to a RIP configuration, the policy overrides the metric values determined through calculations involving the metric-in and metric-out values.

The no form of the command reverts to the default value.

Default 

1

Parameters 
metric—
the value added to the metric for routes exported into RIP and advertised to RIP neighbors, expressed as a decimal integer
Values—
1 to 16

 

neighbor

Syntax 
[no] neighbor ip-int-name
Context 
config>router>rip>group
Description 

This command enables the context for configuring a RIP neighbor interface.

By default, interfaces are not activated unless explicitly configured.

The no form of the command deletes the RIP interface configuration for this interface. The shutdown command in the config>router>rip>group group-name>neighbor context can be used to disable an interface without removing the configuration for the interface.

Default 

No RIP interfaces are defined by default.

Parameters 
ip-int-name —
the IP interface name. Interface names must be unique within the group of defined IP interfaces for config>router>interface commands. An interface name cannot be in the form of an IP address. Interface names can be any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

If the IP interface name does not exist or does not have an IP address configured, an error message will be returned.

preference

Syntax 
preference preference
no preference
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the route preference for routes learned from the configured peers.

The lower the preference, the higher the chance of the route being the active route. The 7705 SAR assigns the highest default preference to RIP routes as compared to routes that are direct, static, or learned via MPLS or OSPF.

Default 

170

Parameters 
preference —
the route preference, expressed as a decimal integer
Values—
1 to 255

 

receive

Syntax 
receive receive-type
no receive
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures the type of RIP updates that will be accepted and processed.

If you specify version-2 or both, the RIP instance listens for and accepts packets sent to the broadcast (255.255.255.255) and multicast (224.0.0.9) addresses.

If version-1 is specified, the router only listens for and accepts packets sent to the broadcast address.

The default behavior is to accept and process both RIPv1 and RIPv2 messages.

The no form of the command reverts to the default value.

Default 

both

Parameters 
receive-type —
configures the type of RIP updates that will be accepted and processed
Values—
receiver-type values are both, none, version-1, and version-2, where:

both

specifies that RIP updates in either version 1 or version 2 format will be accepted

none

specifies that RIP updates will not be accepted

version-1

specifies that RIP updates in version 1 format only will be accepted

version-2

specifies that RIP updates in version 2 format only will be accepted

 

send

Syntax 
send send-type
no send
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command specifies the type of RIP messages sent to RIP neighbors.

If broadcast or version-1 is specified, the router only listens for and accepts packets sent to the broadcast address.

The no form of the command reverts to the default value.

Default 

broadcast

Parameters 
send-type —
configures the type of RIP messages that will be sent to RIP neighbors
Values—
send-type values are broadcast, multicast, none, and version-1, where:

broadcast

sends RIPv2 formatted messages to the broadcast address

multicast

sends RIPv2 formatted messages to the multicast address

none

does not to send any RIP messages (silent listener)

version-1

sends RIPv1 formatted messages to the broadcast address

 

split-horizon

Syntax 
split-horizon {enable | disable}
no split-horizon
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command enables the use of split-horizon.

RIP uses split-horizon with poison-reverse to avoid looping routes propagating through the network. Split-horizon with poison reverse means that routes learned from a neighbor through a given interface are advertised in updates out of the same interface but with a metric of 16 (infinity).

The split-horizon disable command enables split horizon without poison reverse. With split horizon enabled, the local router does not readvertise routes learned from a neighbor back to the neighbor.

This configuration parameter can be set at three levels: global level (applies to all groups and neighbor interfaces), group level (applies to all neighbor interfaces in the group) or neighbor level (only applies to the specified neighbor interface). The most specific value is used. In particular if no value is set (no split-horizon), the setting from the less specific level is inherited by the lower level.

The no form of the command disables split horizon.

Default 

enable

Parameters 
enable—
enables split horizon and poison reverse
disable—
disables poison reverse but leaves split horizon enabled

timers

Syntax 
timers update timeout flush
no timers
Context 
config>router>rip
config>router>rip>group
config>router>rip>group>neighbor
Description 

This command configures values for the update, timeout, and flush RIP timers.

The RIP update timer determines how often RIP updates are sent.

If the route is not updated by the time the RIP timeout timer expires, the route is declared invalid but is maintained in the RIP database.

The RIP flush timer determines how long a route is maintained in the RIP database after it has been declared invalid. Once the flush timer expires, the route is removed from the RIP database.

The no form of the command reverts to the default values.

Parameters 
update—
the RIP update timer value, in seconds, expressed as a decimal integer
Values—
1 to 600

 

Default—
30
timeout—
the RIP timeout value, in seconds, expressed as a decimal integer
Values—
1 to 1200

 

Default—
180
flush—
the RIP flush timer value, in seconds, expressed as a decimal integer
Values—
1 to 1200

 

Default—
120

7.10.2.2. Show Commands

Note:

The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.

database

Syntax 
database [ip-prefix [/mask] [longer]] [peer ip-address] [detail]
Context 
show>router>rip
Description 

This command displays the routes in the RIP database.

Parameters 
ip-prefix—
the IP prefix for the IP match criterion, in dotted-decimal notation
/mask—
the subnet mask length, expressed as a decimal integer
longer—
displays routes matching the ip-prefix/mask and routes with longer masks
ip-address—
specifies a targeted RIP peer
detail—
displays detailed information on the RIP database entries
Output 

The following output is an example of RIP database information, and Table 79 describes the fields.

Output Example
A:ALU-A# show rip database
===============================================================================
RIP Route Database
===============================================================================
Destination       Peer          NextHop             Metric   Tag     TL   Valid
-------------------------------------------------------------------------------
180.0.0.10/32     180.1.7.15    0.0.0.0             2        0x0000  163  No
180.0.0.10/32     180.1.8.14    0.0.0.0             2        0x0000  179  No
180.0.0.14/32     180.1.8.14    0.0.0.0             1        0x0000  179  Yes
180.0.6.0/24      180.1.7.15    0.0.0.0             11       0x2002  163  No
180.0.6.0/24      180.1.8.14    0.0.0.0             11       0x2002  179  No
180.0.7.0/24      180.1.7.15    0.0.0.0             11       0x2002  163  No
180.1.5.0/24      180.1.7.15    0.0.0.0             2        0x0000  151  Yes
180.1.5.0/24      180.1.8.14    0.0.0.0             1        0x0000  167  No
180.100.17.16/30  180.1.7.15    0.0.0.0             2        0x0000  151  No
180.100.17.16/30  180.1.8.14    0.0.0.0             2        0x0000  167  No
-------------------------------------------------------------------------------
No. of Routes: 10
===============================================================================
A:ALU-A#
Table 79:  Show RIP Database Output Fields 

Label

Description

Destination

The RIP destination for the route

Peer

The router ID of the peer router

NextHop

The IP address of the next hop

Metric

The hop count to rate the value of different hops

Tag

The value to distinguish between internal routes (learned by RIP) and external routes (learned from other protocols)

TL

Displays how many seconds the specific route will remain in the routing table. When an entry reaches 0, it is removed from the routing table.

Valid

Yes — the route is valid

No — the route is not valid

group

Syntax 
group [name] [detail]
Context 
show>router>rip
Description 

This command displays group information for a RIP peer group. This command can be entered with or without parameters.

When this command is entered without a group name, only information about all peer groups is displayed.

When the command is issued with a specific group name, information only pertaining to that specific peer group is displayed.

The Admin and Oper state fields display the RIP group’s operational state. Valid states are:

  1. Up — RIP global process is configured and running
  2. Down — RIP global process is administratively shut down and not running
  3. Disabled — RIP global process is operationally disabled. The process must be restarted by the operator.
Parameters 
name—
displays information for the RIP group specified
detail—
displays detailed information
Output 

The following output is an example of RIP group and detailed RIP group information, and Table 80 describes the fields.

Output Example
A:ALU-A# show router rip group rip-group
===============================================================================
RIP Groups
===============================================================================
Interface                                Adm   Opr      Send    Recv     Metric
                                                        Mode     Mode    In
-------------------------------------------------------------------------------
rip-group                                Up    Down     BCast   Both     1
===============================================================================
A:ALU-A#
*A:ALU-2>show>router>rip# group rip-group detail
===============================================================================
RIP Group  (detail)
===============================================================================
-------------------------------------------------------------------------------
Group  : “rip_group”
-------------------------------------------------------------------------------
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  : None
Import Policies  : None
===============================================================================
-------------------------------------------------------------------------------
Peer Groups : 1
===============================================================================
*A:ALU-2>show>router>rip#
Table 80:  Show RIP Group Output Fields  

Label

Description

Group

The RIP group name

Interface

The interface name

Adm

Indicates whether the RIP neighbor interface is administratively up or down

Opr

Indicates whether the RIP neighbor 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

Recv Mode

Both — specifies that RIP updates in either version 1 or version 2 format will be accepted

None — specifies that RIP updates will not be 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

The metric added to routes received from a RIP neighbor

neighbor

Syntax 
neighbor [ip-int-name | ip-address] [detail] [advertised-routes]
Context 
show>router>rip
Description 

This command displays RIP neighbor information. This command can be entered with or without any parameters.

When this command is issued without any parameters, information about all RIP neighbors displays.

Parameters 
ip-int-name | ip-address—
displays information for the specified IP interface
Values—
ipv4-address:        a.b.c.d (host bits must be 0)

 

detail —
displays detailed RIP neighbor information
advertised-routes—
displays the routes advertised to RIP neighbors. If no neighbors are specified, then all routes advertised to all neighbors are displayed. If a neighbor is specified, then only routes advertised to that neighbor are displayed.
Output 

The following outputs are examples of RIP neighbor information:

  1. RIP neighbor (standard and advertised-routes) (Output Example - RIP Neighbor (Standard and Advertised Routes), Table 81)
Output Example - RIP Neighbor (Standard and Advertised Routes)
A:ALU-A# show router rip neighbor
===============================================================================
RIP Neighbors
===============================================================================
Interface                       Adm   Opr   Primary IP       Send   Recv   Metric
                                                             Mode   Mode   In
-------------------------------------------------------------------------------
router-2/1                      Up    Up    10.0.3.12        None   Both   1
router-2/2                      Up    Up    10.0.5.12        BCast  Both   1
router-2/3                      Up    Up    10.0.6.12        BCast  Both   1
router-2/5                      Up    Up    10.0.9.12        BCast  Both   1
router-2/6                      Up    Up    10.0.17.12       None   Both   1
router-2/7                      Up    Up    10.0.16.12       None   Both   1
===============================================================================
A:ALU-A#
Table 81:  Show RIP Neighbor Output Fields  

Label

Description

Interface

The RIP neighbor name or IP address

Adm

Indicates whether the RIP neighbor interface is administratively up or down

Opr

Indicates whether the RIP neighbor interface is operationally up or down

Primary IP

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 (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 will be accepted

None — specifies that RIP updates will not be 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

The metric added to routes received from a RIP neighbor

Output Example - RIP Neighbor (Detailed)
A:ALU-A# show router rip neighbor detail
===============================================================================
RIP Neighbors (Detail)
===============================================================================
-------------------------------------------------------------------------------
Neighbor "router-2/7"
-------------------------------------------------------------------------------
Description   : No Description Available
Primary IP    : 10.0.16.12            Group : seven
Admin State   : Up                    Oper State : Up
Send Mode     : None                  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 : 3
Timeout Timer : 6                     Flush Timer : 6
Export Policies:
   Rip2Rip
   direct2Rip
   bgp2Rip
Import Policies:
   None
===============================================================================
A:ALU-A#
Table 82:  Show RIP Neighbor (Detailed) Output Fields 

Label

Description

Neighbor

The RIP neighbor name or IP address

Description

The RIP neighbor description. No Description Available indicates no description is configured.

Primary IP

The RIP neighbor interface primary IP address

Group

The RIP group name of the neighbor interface

Admin State

Indicates whether the RIP neighbor interface is administratively up or down

Oper State

Indicates whether the RIP neighbor 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 will be accepted\

None — specifies that RIP updates will not be 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

The metric value added to routes received from a RIP neighbor

Metric Out

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

The maximum number of routes per RIP update message

Preference

The preference of RIP routes from the neighbor

Auth. Type

Specifies the authentication type

Update Timer

The current setting of the RIP update timer value expressed in seconds

Timeout Timer

The current RIP timeout timer value expressed in seconds

Flush Timer

The number of seconds after a route has been declared invalid that it is flushed from the route database

Export Policies

The export route policy that is used to determine routes advertised to all peers

Import Policies

The import route policy that is used to determine which routes are accepted from RIP neighbors

peer

Syntax 
peer [interface-name]
Context 
show>router>rip
Description 

This command displays RIP peer information.

Parameters 
interface-name—
displays peer information for peers on the specified IP interface
Output 

The following output is an example of RIP peer information, and Table 83 describes the fields.

Output Example
A:ALU-A# show router rip peers
===============================================================================
RIP Peers
===============================================================================
Peer IP Addr     Interface Name                       Version     Last Update
-------------------------------------------------------------------------------
10.0.5.13        router-2/2                           RIPv2       0
10.0.6.16        router-2/3                           RIPv2       2
10.0.9.14        router-2/5                           RIPv2       8
10.0.10.15       router-2/4                           RIPv2       0
-------------------------------------------------------------------------------
No. of Peers: 4
===============================================================================
A:ALU-A#
Table 83:  RIP Peer Output Fields 

Label

Description

Peer IP Addr

The IP address of the peer router

Interface Name

The peer interface name

Version

The version of RIP running on the peer

Last Update

The number of days since the last update

No. of Peers

The number of RIP peers

statistics

Syntax 
statistics [ip-int-name | ip-addr]
Context 
show>router>rip
Description 

This command displays interface level statistics for the RIP protocol.

If no IP address or interface name is specified, then all configured RIP interfaces are displayed.

If an IP address or interface name is specified, then only data about the specified RIP interface is displayed.

Parameters 
ip-addr | ip-int-name—
displays statistics for the specified IP interface
Output 

The following output is an example of RIP statistics information, and Table 84 describes the fields.

Output Example
A:ALU-A# show router rip statistics
===============================================================================
RIP Statistics
===============================================================================
Learned Routes   : 0               Timed Out Routes : 0
Current Memory   : 120624          Maximum Memory : 262144
-------------------------------------------------------------------------------
Interface "to-web"
-------------------------------------------------------------------------------
Primary IP       : 10.1.1.3        Update Timer : 30
Timeout Timer    : 180             Flush Timer : 120
Counter                    Total           Last 5 Min         Last 1 Min
-------------------------------------------------------------------------------
Updates Sent               0               0                  0
Triggered Updates          0               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     0               0                  0
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:ALU-A#
Table 84:  RIP Statistics Output Fields 

Label

Description

Learned Routes

The number of RIP learned routes that were exported to RIP neighbors

Timed Out Routes

The number of routes that have timed out

Current Memory

The amount of memory used by the RIP router instance

Maximum Memory

The amount of memory allocated for the RIP router instance

Interface

Displays the name of each interface configured in RIP and its associated RIP statistics

Primary IP

The interface IP address

Update Timer

The current setting of the RIP update timer value expressed in seconds

Timeout Timer

The current RIP timeout timer value expressed in seconds

Flush Timer

The number of seconds before a route that has been declared invalid is removed from the route database

Total

The total number of each corresponding RIP statistic collected

Last 5 Min

The number of each corresponding RIP statistic collected in the last 5 minutes

Last 1 Min

The number of each corresponding RIP statistic that was collected in the last minute

Updates Sent

The total number of RIP updates that have been sent

Triggered Updates

The number of triggered updates that have been sent. Triggered updates are sent before the RIP routing table is sent.

Bad Packets Received

The number of RIP updates received on this interface that were discarded as invalid

RIPv1 Updates Received

The number of RIPv1 updates received

RIPv1 Updates Ignored

The number of RIPv1 updates ignored

RIPv1 Bad Routes

The number of bad RIPv1 routes received from the peer

RIPv1 Requests Received

The number of RIPv1 requests received from other routers

RIPv1 Requests Ignored

The number of times the router ignored a RIPv1 route request from other routers

RIPv2 Updates Received

The number of RIPv2 updates received

RIPv2 Updates Ignored

The number of RIPv2 updates ignored

RIPv2 Bad Routes

The number of bad RIPv2 routes received from the peer

RIPv2 Requests Received

The number of RIPv2 requests received from other routers

RIPv2 Requests Ignored

The number of times the router ignored a RIPv2 route request from other routers

Authentication Errors

The number of authentication errors that occurred while attempting to secure table updates

7.10.2.3. Clear Commands

database

Syntax 
database
Context 
clear>router>rip
Description 

This command deletes all routes in the RIP database.

statistics

Syntax 
statistics [neighbor ip-int-name | ip-address]
Context 
clear>router>rip
Description 

This command clears RIP neighbor statistics. You can clear statistics for a specific RIP interface or for all RIP interfaces.

Default 

none

Parameters 
ip-int-name | ip-address —
clears the statistics for the specified RIP interface

7.10.2.4. Debug Commands

auth

Syntax 
[no] auth [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP authentication at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

error

Syntax 
[no] error [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP errors at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

events

Syntax 
[no] events [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP events at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

holddown

Syntax 
[no] holddown [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP hold-downs at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

packets

Syntax 
[no] packets [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP packets at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

request

Syntax 
[no] request [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP requests at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

trigger

Syntax 
[no] trigger [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP triggers at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor

updates

Syntax 
[no] updates [neighbor ip-int-name | ip-address]
Context 
debug>router>rip
Description 

This command enables debugging for RIP updates at either the global level or neighbor level.

Parameters 
ip-int-name | ip-address—
the interface name or IP address of the neighbor