1162 CHAPTER 77: RIP CONFIGURATION COMMANDS

By default, the default metric of redistributed routes is 0.

When you use the import-routecommand to redistribute routes from other protocols without specifying a metric, the metric specified by the default cost command applies.

Related commands: import-route (RIP view).

Examples # Set the default metric for redistributed routes to 3.

<Sysname> system-view

[Sysname] rip 100

[Sysname-rip-100] default cost 3

default-route originate

Syntax default-route originate cost value

undo default-route originate

View RIP view

Parameters value: Cost of the default route, in the range of 1 to 15.

Description Use the default-route originate cost command to advertise a default route with the specified metric to RIP neighbors.

Use the undo default-route originate command to disable the sending of a default route.

By default, no default route is sent to RIP neighbors.

The RIP router with this feature configured will not receive any default routes from

RIP neighbors.

Examples # Send a default route with a metric of 2.

<Sysname> system-view

[Sysname] rip 100

[Sysname-rip-100] default-route originate cost 2

# Disable default route sending.

[Sysname-rip-100] undo default-route originate

display rip

Syntax display rip [ process-id vpn-instancevpn-instance-name ]

View Any view

Page 1162
Image 1162
3Com MSR 30 Default-route originate, Display rip, Related commands import-route RIP view, # Disable default route sending