PREV NEXT INDEX

Avici Systems Inc.


default-metric


Specifies the default metric.

Syntax: [no] default-metric number

number

Defines the default metric for the specified routing protocol

Description: The metrics of one routing protocol do no always translate to the metrics of another protocol. The default-metric command provides a substitute when metrics do not convert, allowing redistribution between routing protocols.

The table below shows the range of possible values for each routing protocol metric and the value used by each protocol.

Table 4-1. Range of Values for Routing Protocols
Protocol Metric Represents Range Unreachable

OSPF

cost of path

0-16777215

Delete

ISIS

cost of path

0-254

Delete

BGP

Multi Exit Discriminator

0-65534

65535

You can override the default-metric with a specific import policy.

Use the default-metric command in conjunction with the redistribute command to cause BGP to use the same metric for all redistributed routes.

Use the no default-metric command to return to the default state.

Factory Default: Default values are encoded in the metric translations for each protocol.

Command Mode: Router configuration.

Example: In the following example, the default-metric command assigns a default metric of 4, and the show running-config bgp command displays the setting:

router(config)#router bgp 101

router(config-router)#default-metric 4

router(config-router)#end

router#show running-config bgp

!

router bgp 101

default-metric 4

.

.

.

Related Commands: redistribute
show running-config bgp


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: BGP_Nd.fm
    HTML File Name: BGP_Nd19.html
    Last Updated: 05/10/04 at 16:36:55

Please email suggestions and comments to: doc@avici.com