Default configuration, Command mode, User guidelines – Dell POWEREDGE M1000E User Manual

Page 1092: Example, Distance ospf, Syntax, Syntax description

Advertising
background image

1092

OSPF Commands

metric-value

— The metric (or preference) value of the default route.

(Range: 1–16777214)

Default Configuration

This command has no default configuration.

Command Mode

Router OSPF Configuration mode.

User Guidelines

This command has no user guidelines.

Example

The following example sets a value of 50 for the default metric.

console(config-router)#default-metric 50

distance ospf

The distance ospf command sets the preference values of OSPF route types

in the router. Lower route preference values are preferred when determining

the best route. The type of OSPF route can be intra, inter, external. All the

external type routes are given the same preference value. Use the no form of

this command to reset the preference values to the default.

Syntax

distance ospf

{[

intra-area dist1

]

[

inter-area dist2

]

[

external dist3

]}

no distance ospf

{

intra-area

|

inter-area

|

external

}

Syntax Description

Parameter

Description

intra-area dist1

Used to select the best path within an area when there are two

or more routes to the same destination from two different

routing protocols (Range: 1–255).

2CSPC4.XModular-SWUM200.book Page 1092 Thursday, March 10, 2011 11:18 AM

Advertising