D Commands
This chapter describes the Cisco NX-OS Routing Information Protocol (RIP) commands that begin with D.
default-information originate (RIP)
To generate a default route into the Routing Information Protocol (RIP), use the default-information originate command. To disable this feature, use the no form of this command.
default-information originate [ always ] [ route-map map-name ]
no default-information originate
Syntax Description
Command Default
Command Modes
Router address-family configuration mode
Command History
|
|
---|---|
Examples
This example shows how to originate a default route (0.0.0.0/0) to all routes that pass the Condition route map:
Related Commands
|
|
---|---|
default-metric (RIP)
To set default metric values for the Routing Information Protocol (RIP), use the default-metric command in router address-family configuration mode. To return to the default state, use the no form of this command.
Syntax Description
Command Default
Command Modes
Router address-family configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the default-metric command with the redistribute command to use the same metric value for all redistributed routes. A default metric helps to solve the problem of redistributing routes with incompatible metrics. Whenever external metrics do not convert to RIP metrics, you can use a default metric to provide a reasonable substitute to the external metric and enable the redistribution to proceed.
Examples
This example shows how to advertise Open Shortest Path First (OSPF) routes using RIP and assign the OSPF-derived routes with a RIP metric of 10:
Related Commands
|
|
---|---|
Generates a default route for routes redistributed into RIP. |
|
Redistributes routes from one routing domain into another routing domain. |
|
distance (RIP)
To define the administrative distance assigned to routes discovered by the Routing Information Protocol (RIP), use the distance command. To remove the distance and restore the system to its default condition, use the no form of this command.
Syntax Description
Administrative distance to be assigned to RIP routes. The range is from 1 to 255. |
Command Default
Command Modes
Router address-family configuration mode
Command History
|
|
---|---|
Usage Guidelines
Use the distance command to change the preference of RIP routes over other protocol routes. Numerically, an administrative distance is an integer from 1 to 255. In general, a higher value indicates a lower trust rating. An administrative distance of 255 means that the routing information source cannot be trusted at all and should be ignored.
Examples
This example shows how to set the administrative distance for RIP:
Related Commands
|
|
---|---|
Displays a summary of RIP information for all RIP instances. |