beautypg.com

Default-metric – Allied Telesis AT-S83 User Manual

Page 274

background image

Chapter 14: Routing Information Protocol (RIP) Commands

274

DEFAULT-METRIC

Syntax

default-metric METRIC <1-16>

no default-metric METRIC

Parameters

METRIC

Indicates the default metric value. Choose a number

between 1 and 16. By default, this command is set
to 1.

Description

Use the DEFAULT-METRIC command to specify the metrics assigned to
redistributed routes. This command is used with the REDISTRIBUTE
CONNECTED command to make the routing protocol use the specified
metric value for all redistributed routes. The DEFAULT-METRIC command
is useful in redistributing routes with incompatible metrics. Every protocol
has different metrics and cannot be compared directly. The default metric
value provides the standard. All routes that are redistributed use the
default metric value.

Use the no form of this command to disable this feature.

Command Mode

Router mode

Example

The following commands assign the cost of 10 to the OSPF routes which
are redistributed into RIP:

switch#configure terminal

switch(config)#router rip

switch(config-router)#redistribute ospf

switch(config-router)#default-metric 10

Related Commands

“REDISTRIBUTE CONNECTED” on page 295