enable rip originate-default cost

enable rip originate-default {always} cost number {tag number}

Description

Configures a default route to be advertised by RIP.

Syntax Description

always

Specifies to always advertise the default route.

cost number

Specifies a cost metric. The range is 1 - 15.

tag number

Specifies a tag number.

Default

Disabled.

Usage Guidelines

If always is specified, RIP always advertises the default route to its neighbors. If always is not specified, RIP advertises a default route only if a reachable default route is in the system route table.

The default route advertisement is filtered using the out policy.

The cost metric is inserted for all RIP-learned, static, and direct routes injected into RIP. The tag value is used only by special routing applications.

Example

The following command configures a default route to be advertised by RIP if there is a default route in the system routing table:

enable rip originate-default cost 7

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all platforms with an Edge, Advanced Edge, or Core license.