beautypg.com

Default-information-originate (ospf) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 241

background image

Network OS Command Reference

203

53-1003115-01

default-information-originate (OSPF)

2

default-information-originate (OSPF)

Controls distribution of default information.

Synopsis

default-information-originate [always] [metric metric] [metric-type {type-1 | type-2}]

no default-information-originate

Operands

always

Always advertises the default route. If the route table manager does not
have a default route, the router advertises the route as pointing to itself.

metric metric

Used for generating the default route, this parameter specifies the cost for
reaching the rest of the world through this route. If you omit this parameter
and do not specify a value using the default-metric router configuration
command, a default metric value of 1 is used. Valid values range from 1
through 65535. The default is 10.

metric-type

Specifies how the cost of a neighbor metric is determined. The default is
type-1. However, this default can be changed with the metric-type
command.

type-1

The metric of a neighbor is the cost between itself and the router plus the
cost of using this router for routing to the rest of the world.

type-2

The metric of a neighbor is the total cost from the redistributing routing to
the rest of the world.

Defaults

The default values vary depending on the Operands settings.

Command Modes

OSPF VRF router configuration mode

Description

Use this command to control distribution of default information to OSPF router. This provides
criteria for the redistribution of any default routes found in the route table manager (whether static
or learned from another protocol) to its neighbors.

Usage Guidelines

Enter no default-information-originate to disable this command.

Examples

To always advertise the default route using a metric value of 20:

switch# configure

switch(config)# rbridge-id 5

switch(config-rbridge-id-5)#router ospf

switch(config-router-ospf-vrf-default-vrf)# default-information-originate always

metric 20

See Also

default-metric (OSPF), metric-type (OSPF)