beautypg.com

Metric-type (ospf) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 515

background image

Network OS Command Reference

477

53-1003115-01

metric-type (OSPF)

2

metric-type (OSPF)

Configures the default metric type for external routes.

Synopsis

metric-type {type1 | type2}

no metric-type {type1 | type2}

Operands

type1

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.

type2

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

Defaults

type1

Command Modes

OSPF VRF router configuration mode

Description

Use this command to configure the default metric type for external routes.

Usage Guidelines

Enter no metric-type {type1 | type2} to return to the default setting.

Examples

To set the default metric type for external routes to type2:

switch# conf t

switch(config)# rbridge-id 5

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

switch(config-router-ospf-vrf-default-vrf)# metric-type type2

See Also

default-information-originate (OSPF)