beautypg.com

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

Page 243

background image

Network OS Command Reference

205

53-1003115-01

default-metric (BGP)

2

default-metric (BGP)

Changes the default metric used for redistribution.

Synopsis

default-metric value

no default-metric

Operands

value

Metric value. Range is from 0 through 65535.

Defaults

The default metric value is 0.

Command Modes

BGP address-family IPv4 unicast configuration mode

Description

When routes are selected, lower metric values are preferred over higher ones. The default, the
BGP4 Multi-Exit Discriminator (MED) value, is not assigned. Use this command to change the
metric value.

Usage Guidelines

Use the no form of this command to restore the default.

Examples

To configure the device to compare MEDs:

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)# default-metric 100

See Also

None