Distance ospf – Dell PowerEdge M600 User Manual

Page 725

Advertising
background image

OSPFv3 Commands

731

Command Mode

Router OSPFv3 Configuration mode

User Guidelines

This command has no user guidelines.

Example

The following example sets a default of 100 for the metric of distributed routes.

console(config)#ipv6 router ospf

console(config-rtr)#default-metric 100

distance ospf

Use the distance ospf command in Router OSPFv3 Configuration mode to set the route
preference value of OSPF in the router. Lower route preference values are preferred when
determining the best route. The type of OSPF can be intra, inter, type-1, or type-2. The OSPF
specification (RFC 2328) requires that preferences must be given to the routes learned via OSPF in
the following order: intra < inter < type-1 < type-2.

Syntax

distance ospf {intra | inter | type1 | type2} preference

no distance ospf {intra | inter | type1 | type2}

preference—Route preference. (Range: 1-255)

Default Configuration

This command has no default configuration.

Command Mode

Router OSPFv3 Configuration mode

User Guidelines

This command has no user guidelines.

Example

The following example sets a route preference value of 100 for intra OSPF in the router.

console(config)#ipv6 router ospf

console(config-rtr)#distance ospf intra 100

Advertising