Cisco IOS XR Routing Command Reference, Release 3.6
RIP Commands on Cisco IOS XR Software

Table Of Contents

RIP Commands on Cisco IOS XR Software

auto-summary (RIP)

broadcast-for-v2

clear rip

clear rip database

clear rip interface

clear rip out-of-memory

clear rip statistics

default-information originate (RIP)

default-metric (RIP)

distance (RIP)

interface (RIP)

maximum-paths (RIP)

metric-zero-accept

neighbor (RIP)

nsf (RIP)

output-delay

passive-interface (RIP)

poison-reverse

receive version

redistribute (RIP)

router rip

route-policy (RIP)

send version

show protocols (RIP)

show rip

show rip database

show rip interface

show rip statistics

site-of-origin (RIP)

split-horizon disable (RIP)

timers basic

validate-update-source disable

vrf (RIP)


RIP Commands on Cisco IOS XR Software


This chapter describes the commands used to configure and monitor the Routing Information Protocol (RIP).

For detailed information about RIP concepts, configuration tasks, and examples, refer to the Implementing RIP on Cisco IOS XR Software configuration guide in Cisco IOS XR Routing Configuration Guide.

auto-summary (RIP)

To enable the automatic summarization of subnet routes into network-level routes, use the auto-summary command in the appropriate configuration mode. To disable this function and send subprefix routing information across classful network boundaries, use the no form of this command.

auto-summary

no auto-summary

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the auto-summary command to turn on route summarization. Route summarization reduces the amount of routing information in the routing tables.

Disable automatic summarization if you must perform routing between disconnected subnets. When automatic summarization is off, subnets are advertised. Automatic summarization is disabled by default.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to turn on RIP auto-summarization:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# auto-summary

Related Commands

Command
Description

vrf (RIP)

Defines a VRF instance and enters VRF configuration mode.


broadcast-for-v2

To send Routing Information Protocol (RIP) Version 2 output packets to a broadcast address, use the broadcast-for-v2 command in the appropriate configuration mode. To disable this feature, use the no form of this command.

broadcast-for-v2

no broadcast-for-v2

Syntax Description

This command has no arguments or keywords.

Defaults

RIPv2 output packets are not broadcasted.

Command Modes

Router configuration
VRF configuration
Interface configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the broadcast-for-v2 command to broadcast RIP Version 2 broadcast updates to hosts that do not listen to multicasts. Version 2 updates (requests and responses) will be sent to the IP broadcast address 255.255.255.255 instead of the IP multicast address 244.0.0.9.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to send RIP v2 output messages to a broadcast address for all RIP interfaces:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# broadcast-for-v2

clear rip

To clear VRF and interface-related information for Routing Information Protocol (RIP) such as database entries and statistics, use the clear rip command in EXEC mode.

clear rip [vrf {vrf | all}]

Syntax Description

vrf {vrf | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

RIP VRFs and interfaces that are forcibly deactivated by the software because of a severe memory state are not activated again until the out-of-memory state is cleared by using the clear rip, clear rip interface, or clear rip out-of-memory command.

Task ID
Task ID
Operations

rip

read


Examples

The following example shows how to clear all database, interface, and VRF entries in RIP:

RP/0/RP0/CPU0:router# clear rip vrf all

Related Commands

Command
Description

clear rip interface

Clears interface-related information for RIP such as database entries and statistics.

clear rip out-of-memory

Clears the out-of-memory state for RIP.


clear rip database

To clear only database entries from the Routing Information Protocol (RIP) topology table, use the clear rip database command in EXEC mode.

clear rip [vrf {vrf | all}] database [interface type instance]

Syntax Description

vrf {vrf | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

interface

(Optional) Specifies the interface to clear topology entries.

type

(Optional) Interface type. For more information, use the question mark (?) online help function.

instance

(Optional) Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to clear only database entries from the topology table for the Packet-over-SONET/SDH (POS) 0/1/0/0 interface:

RP/0/RP0/CPU0:router# clear rip database interface pos 0/1/0/0

Related Commands

Command
Description

show rip statistics

Displays database and interface entry information for the RIP process.


clear rip interface

To clear interface-related information for Routing Information Protocol (RIP) such as database entries and statistics, use the clear rip interface command in EXEC mode.

clear rip [vrf {vrf | all}] interface type instance

Syntax Description

vrf {vrf | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

RIP VRFs and interfaces that are forcibly deactivated by the software because of a severe memory state are not activated again until after out-of-memory state is cleared by using the clear rip, clear rip interface or clear rip out-of-memory command.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to clear all interface-related data such as routes and statistics from the Packet-over-SONET/SDH (POS)0/1/0/0 interface:

RP/0/RP0/CPU0:router# clear rip vrf vpn-1 interface pos 0/1/0/0

Related Commands

Command
Description

clear rip

Clears VRF and interface-related information for RIP such as database entries and statistics.

clear rip out-of-memory

Clears the out-of-memory state for RIP.


clear rip out-of-memory

To clear the out-of-memory state for Routing Information Protocol (RIP), use the clear rip out-of-memory command in EXEC mode.

clear rip [vrf {vrf | all}] out-of-memory [interface type instance]

Syntax Description

vrf {vrf | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

interface

(Optional) Specifies the interface to clear topology entries.

type

(Optional) Interface type. For more information, use the question mark (?) online help function.

instance

(Optional) Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the clear rip out-of-memory command, to clear the out-of-memory state completely and allow the RIP process to force the VRF or interface to shut down, if needed.

When the router begins to run out of memory, the RIP process can transition through different memory states defined as Normal, Minor, Severe, and Critical:

In Normal state, RIP VRFs and interfaces function normally.

In Minor state, RIP VRFs and interfaces that are currently active are allowed to remain active. VRFs and interfaces that are not currently active are not allowed to become active until the RIP process transitions to Normal state.

In Severe state, a few VRFs and interfaces are forcibly brought down periodically until the RIP process transitions to another state.

In Critical state, the RIP process is forcibly shut down.

VRFs and interfaces that are forcibly shut down in Severe state are not automatically activated when the RIP process transitions to Minor or Normal state. When a VRF or interface is forcibly brought down while in Severe state; the clear rip, clear rip interface or clear rip out-of-memory command clears the Forced Down state and reactivates the VRF or interface.

The show rip and show rip interface commands allow you to view the current out-of-memory state.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to clear the out-of-memory state for a RIP process:

RP/0/RP0/CPU0:router# clear rip out-of-memory

Related Commands

clear rip

Clears VRF and interface-related information for RIP such as database entries and statistics.

clear rip interface

Clears interface-related information for RIP such as database entries and statistics.

show rip

Displays configuration and status of RIP.

show rip interface

Displays interface entry information from the RIP topology table.


clear rip statistics

To clear the Routing Information Protocol (RIP) statistics, use the clear rip statistics command in EXEC mode.

clear rip [vrf {vrf | all}] statistics [interface type instance]

Syntax Description

vrf {vrf | all}

(Optional) Specifies a particular VPN routing and forwarding (VRF) instance or all VRF instances.

interface

(Optional) Specifies the interface to clear topology entries.

type

(Optional) Interface type. For more information, use the question mark (?) online help function.

instance

(Optional) Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Defaults

No default behavior or values

Command Modes

EXEC

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to clear all RIP statistics:

RP/0/RP0/CPU0:router# clear rip statistics

Related Commands

Command
Description

show rip statistics

Displays database and interface entry information for the RIP process.


default-information originate (RIP)

To generate a default route into Routing Information Protocol (RIP), use the default-information originate command in the appropriate configuration mode. To disable this feature, use the no form of this command.

default-information originate [route-policy name]

no default-information originate

Syntax Description

route-policy name

Route policy to specify criteria for the default route.


Defaults

This command is disabled by default.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to originate a default route in RIP updates based on the result of running the route policy on the routing table:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# default-information originate route-policy policy1

Related Commands

Command
Description

route-policy (RIP)

Applies a routing policy to updates advertised to or received from a RIP neighbor.


default-metric (RIP)

To set default metric values for routes redistributed from other protocols into Routing Information Protocol (RIP), use the default-metric command in the appropriate configuration mode. To return to the default state, use the no form of this command.

default-metric number-value

no default-metric

Syntax Description

number-value

Default metric value. Range is 1 to 15.


Defaults

Default metrics are not set.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the default-metric command with the redistribute command to cause RIP to use the same metric value for all redistributed routes. A default metric helps solve the problem of redistributing routes with incompatible metrics by providing a reasonable substitute and enables redistribution to proceed. If you want to set different metrics for other redistributed protocols, use the route-policy option in the redistribute command.

The RIP metric used for redistributed routes is determined by the route policy. If a route policy is not configured or the route policy does not set the RIP metric, the metric is determined based on the redistributed protocol. For VPNv4 routes redistributed by BGP, the RIP metric set at the remote PE router is used, if valid.

In all other cases (BGP, IS-IS, OSPF, EIGRP, connected, static), the metric set by the default-metric command is used. If a valid metric cannot be determined, then redistribution does not happen.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how a router in autonomous system 109 uses both the RIP and the Open Shortest Path First (OSPF) routing protocols. The example advertises OSPF-derived routes using RIP and assigns the OSPF-derived routes a RIP metric of 10:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# vrf vpn-1
RP/0/RP0/CPU0:router(config-rip-vrf)# default-metric 10
RP/0/RP0/CPU0:router(config-rip-vrf)# redistribute ospf 109

Related Commands

Command
Description

redistribute (RIP)

Redistributes routes from one routing domain into RIP.


distance (RIP)

To define the administrative distance assigned to routes discovered by the Routing Information Protocol (RIP), use the distance admin-distance command in the appropriate configuration mode. To remove the distance definition from the configuration file and restore the system to its default condition, use the no form of this command.

distance admin-distance [prefix prefix-length | prefix mask]

no distance admin-distance

Syntax Description

admin-distance

Administrative distance to be assigned to RIP routes. Range is 0 to 255.

prefix

(Optional) Network IP address about which routing information should be displayed.

prefix-length

(Optional) The prefix-length argument specifies the length of the IP prefix. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value. Range is 0 to 32 for IPv4 addresses.

mask

(Optional) Network mask specified in either of two ways:

Network mask can be a four-part, dotted decimal address. For example, 255.0.0.0 indicates that each bit equal to 1 means the corresponding address bit is a network address.

Network mask can be indicated as a slash (/) and number. For example, /8 shows that the first 8 bits of the mask are ones, and the corresponding bits of the address are the network address.


Defaults

admin-distance: 120

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the distance command to change the preference of RIP routes over other protocol routes. When administrative distance and redistribution features are used to together, routing behavior may be affected for routes accepted from and advertised to RIP neighbors.

Numerically, an administrative distance is an integer from 0 to 255. In general, the higher the value, the lower the trust rating. An administrative distance of 255 means that the routing information source cannot be trusted at all and should be ignored.

The order in which you enter distance commands can affect the assigned administrative distances in unexpected ways.

Table 154 lists default administrative distances.

Table 154 Default Administrative Distances of Routing Protocols

Routing Protocols
Administrative Distance Value

Connected interface

0

Static route out an interface

0

Static route to next hop

1

EIGRP Summary Route

5

External BGP

20

Internal EIGRP

90

OSPF

110

IS-IS

115

RIP version 1 and 2

120

External EIGRP

170

Internal BGP

200

Unknown

255


Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to set the administrative distance for a particular prefix:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# distance 85 192.168.10.0/24

Related Commands

Command
Description

redistribute (RIP)

Redistributes routes from one routing domain into RIP.


interface (RIP)

To define the interfaces on which the Routing Information Protocol (RIP) runs and enter interface configuration mode, use the interface command in router configuration mode. To disable RIP routing for interfaces, use the no form of this command.

interface type instance

no interface type instance

Syntax Description

type

Interface type. For more information, use the question mark (?) online help function.

instance

Either a physical interface instance or a virtual interface instance:

Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.

rack: Chassis number of the rack.

slot: Physical slot number of the line card.

module: Module number. A physical layer interface module (PLIM) is always 0.

port: Physical port number of the interface.

Virtual interface instance. Number range varies depending on interface type.

For more information about the syntax for the router, use the question mark (?) online help function.


Defaults

When you do not specify this command in configuration mode, RIP routing for interfaces is not enabled.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the interface command to associate a specific interface with a RIP process. The interface remains associated with the process even when the IPv4 address of the interface changes.

This command places the router in interface configuration mode, from which you can configure interface-specific settings. Commands configured under this mode (such as the broadcast-for-v2 command) are automatically bound to that interface.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to enter interface configuration mode for a RIP process, and send RIP Version 2 messages to the broadcast address on the Packet-over-SONET/SDH (POS) interface 0/1/0/0:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# interface POS 0/1/0/0
RP/0/RP0/CPU0:router(config-rip-if)# ?

  broadcast-for-v2    Specify broadcast address for RIP v2 output packet
  commit              Commit the configuration changes to running
  describe            Describe a command without taking real actions
  do                  Run an exec command
  exit                Exit from this submode
  metric-zero-accept  Accept rip update with metric 0 to compensate a common bug
  no                  Negate a command or set its defaults
  passive-interface   Suppress routing updates on this interface
  poison-reverse      Enable poison reverse
  receive             Advertisement reception
  route-policy        Apply route policy to routing updates
  send                Advertisement transmission
  show                Show contents of configuration
  site-of-origin      SOO community for prefixes learned over this interface
  split-horizon       Disable split horizon
RP/0/RP0/CPU0:router(config-rip-if)# broadcast-for-v2

Related Commands

Command
Description

broadcast-for-v2

Sends RIP Version 2 output packets to a broadcast address.


maximum-paths (RIP)

To configure the maximum number of equal cost parallel routes that the Routing Information Protocol (RIP) will install into the routing table, use the maximum-paths command in the appropriate configuration mode. To remove the maximum-paths command from the configuration file and restore the system to its default condition with respect to RIP, use the no form of this command.

maximum-paths maximum

no maximum-paths

Syntax Description

maximum

Maximum number of parallel routes that RIP can install in a routing table. Range is 1 to 32 for Cisco CRS-1 routers and 1 to 16 for Cisco XR 12000 Series Routers.


Defaults

maximum (Cisco CRS-1): 4 paths
maximum (Cisco XR 12000 Series Router): 4 paths

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to allow a maximum of 16 equal cost paths to a destination:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# maximum-paths 16

metric-zero-accept

To allow RIP to accept routing entries from RIP updates with a metric set to zero (0), use the metric-zero-accept command in interface configuration mode. To remove the metric-zero-accept command from the configuration file and restore the system to its default condition with respect to RIP, use the no form of this command.

metric-zero-accept

no metric-zero-accept

Syntax Description

This command has no arguments or keywords.

Defaults

RIP routes received with a metric of zero (0) are ignored.

Command Modes

Interface configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

After the metric-zero-accept command is configured on routing entries from RIP updates, RIP accepts these routes and then sets the metric to one (1).

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to set the RIP interface to accept metric zero on routing entries:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-rip-if)# metro-zero-accept

neighbor (RIP)

To define a neighboring router with which to exchange Routing Information Protocol (RIP) information, use the neighbor command in the appropriate configuration mode. To remove an entry, use the no form of this command.

neighbor ip-address

no neighbor ip-address

Syntax Description

ip-address

IP address of a peer router with which routing information is exchanged.


Defaults

No neighboring routers are defined.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the neighbor command to permit the point-to-point (nonbroadcast) exchange of routing information. When the neighbor command is used in combination with the passive-interface command in router configuration mode, routing information can be exchanged between a subset of routers and access servers on a LAN.

Multiple neighbor commands can be used to specify additional neighbors or peers.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to permit the sending of RIP updates to specific neighbors. One copy of the update is generated per neighbor:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# vrf vpn-1
RP/0/RP0/CPU0:router(config-rip-vrf)# neighbor 172.16.1.2

Related Commands

Command
Description

passive-interface (RIP)

Suppresses the sending of RIP updates on an interface.


nsf (RIP)

To configure nonstop forwarding (NSF) on Routing Information Protocol (RIP) routes after a RIP process shutdown or restart, use the nsf command in the appropriate configuration mode. To remove this command from the configuration file and restore the system to its default condition, use the no form of this command.

nsf

no nsf

Syntax Description

This command has no arguments or keywords.

Defaults

NSF is disabled.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

When you use the nsf command, NSF lifetime is automatically set to two times the update time (with a minimum value of 60 seconds). The RIP process must reconverge within this time. If the convergence exceeds the NSF lifetime, routes are purged from the Routing Information Base (RIB) and NSF may fail.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to configure RIP NSF:

RP/0/RP0/CPU0:router(config)# router rip
RP/0/RP0/CPU0:router(config-rip)# vrf vpn-1
RP/0/RP0/CPU0:router(config-rip-vrf)# nsf

output-delay

To change the interpacket delay for Routing Information Protocol (RIP) updates sent, use the output-delay command in the appropriate configuration mode. To remove the delay, use the no form of this command.

output-delay delay

no output-delay delay

Syntax Description

delay

Delay (in milliseconds) between packets in a multiple-packet RIP update. The range is from 8 to 50.


Defaults

The default is no delay.

Command Modes

Router configuration
VRF configuration

Command History

Release
Modification

Release 3.3.0

This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

No modification.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Use the output-delay command if you are sending at high speed to a low-speed router that might not be able to receive at the high speed. Configuring this command helps prevent the routing table from losing information.

Task ID
Task ID
Operations

rip

read, write


Examples

The following example shows how to set the interpacket delay to 10 milliseconds: