Auto-cost reference- bandwidth, Auto-cost reference-bandwidth, Auto-cost reference – LevelOne GTL-2691 User Manual

Page 1483: Bandwidth

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1483 –

auto-cost reference-

bandwidth

Use this command to calculate the default metrics for an interface based

on bandwidth. Use the no form to automatically assign costs based on

interface type.

S

YNTAX

auto-cost reference-bandwidth reference-value
no auto-cost reference-bandwidth

reference-value - Bandwidth of interface. (Range: 1-4294967 Mbps)

C

OMMAND

M

ODE

Router Configuration

D

EFAULT

S

ETTING

1 Mbps

C

OMMAND

U

SAGE

The system calculates the cost for an interface by dividing the

reference bandwidth by the interface bandwidth. By default, the cost is

1 Mbps for all port types (including 100 Mbps ports, 1 Gigabit ports,

and 10 Gigabit ports).

A higher reference bandwidth can be used for aggregate links to

indicate preferred use as a lower cost interface.

The

ip ospf cost

command overrides the cost calculated by the auto-

cost reference-bandwidth command.

E

XAMPLE

This example sets the reference value to 10000, which generates a cost of

100 for 100 Mbps ports, 10 for 1 Gbps ports and 1 for 10 Gbps ports.

Console(config-router)#auto-cost reference-bandwidth 10000

Console(config-router)#

R

ELATED

C

OMMANDS

ip ospf cost (1496)

Advertising