Default-metric – Dell PowerEdge M805 User Manual

Page 724

Advertising
background image

730

OSPFv3 Commands

www

.dell.com | support.dell.com

Syntax

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

no default-information originate [metric] [metric-type]

always — Always advertise default routes.

integer — The metric (or preference) value of the default route. (Range: 0-16777214)

1—External type-1 route.

2—External type-2 route.

metric — Specify the metric of the default route.

metric-type — Specify metric-type of the default route.

Default Configuration

2 is the default value for metric-type.

Command Mode

Router OSPFv3 Configuration mode

User Guidelines

This command has no user guidelines.

Example

The following example controls the advertisement of default routes by defining a metric value
of 100 and metric type 2.

console(config)#ipv6 router ospf

console(config-rtr)#default-information originate metric 100

metric-type 2

default-metric

Use the default-metric command in Router OSPFv3 Configuration mode to set a default for the
metric of distributed routes.

Syntax

default-metric metric

no default-metric

metric—Metric value used for distribution (Range: 1-16777214)

Default Configuration

This command has no default configuration.

Advertising