beautypg.com

Default-metric (ospf) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 244

background image

206

Network OS Command Reference

53-1003115-01

default-metric (OSPF)

2

default-metric (OSPF)

Sets the default metric value for the OSPF routing protocol.

Synopsis

default-metric metric

no default-metric

Operands

metric

OSPF routing protocol metric value.

Defaults

The default metric value for the OSPF routing protocol is 10.

Command Modes

OSPF VRF router configuration mode

Description

Use this command to specify a default metric which will overwrite any incompatible metrics that
may exist when OSPF redistributes routes. Therefore, setting the default metric ensures that
neighbors will use correct cost and router computation.

Usage Guidelines

Enter no default-metric to return to the default setting.

Examples

To set the default metric to 20:

switch# configure

switch(config)# rbridge-id 5

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

switch(config-router-ospf-vrf-default-vrf)# default-metric 20

See Also

default-information-originate (OSPF)