beautypg.com

21 default-information originate (ospf), 22 default-metric (ospf), 23 distance ospf (ospf) – Kontron AT8902M CLI User Manual

Page 145: At8902m routing commands

background image

AT8902M

Routing Commands

Page 3 - 31

AT8902M CLI Reference Manual

3.7.21

default-information originate (OSPF)

This command is used to control the advertisement of default routes.
Default

metric—unspecified

type—2

Format

default-information originate

[always] [metric <0-16777214>]

[metric-type {1 | 2}]

Mode

Router OSPF Config

3.7.21.1

no default-information originate (OSPF)

This command is used to control the advertisement of default routes.
Format

no default-information originate

[metric] [metric-type]

Mode

Router OSPF Config

3.7.22

default-metric (OSPF)

This command is used to set a default for the metric of distributed routes.
Format

default-metric

<1-16777214>

Mode

Router OSPF Config

3.7.22.1

no default-metric (OSPF)

This command is used to set a default for the metric of distributed routes.
Format

no default-metric

Mode

Router OSPF Config

3.7.23

distance ospf (OSPF)

This command sets 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. The <

preference

> range is 1 to 255. A route with a

preference of 255 cannot be used to forward traffic.
Default

intra—8

inter—10

type-1—13

type-2—50.

Format

distance ospf

{intra | inter | type1 | type2}

Mode

Router OSPF Config

3.7.23.1

no distance ospf

This command sets the default route preference value of OSPF in the router. The type

of OSPF can be intra, inter, type-1, or type-2.
Format

no distance ospf

{intra | inter | type1 | type2}