7 auto-cost, 8 clear ip ospf – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 247

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 247 of 855

area 1 virtual-link 192.168.255.1


Related Commands

15.7 auto-cost

To control how Open Shortest Path First (OSPF) calculates default metrics for the interface, use the
auto-cost command in router configuration mode. To assign cost based only on the interface type, use
the no form of this command.


Command Syntax

auto-cost reference-bandwidth mbps
no auto-cost reference-bandwidth

reference-bandwidth mbps

Rate in Mbps (bandwidth). The range is from 1 to 4294967;
the default is 100.

Default

100 Mbps


Command Mode

Router configuration


Usage

The value set by the ip ospf cost command overrides the cost resulting from the auto-cost command.


Examples

The following example changes the cost of the cost link to 1GBps.
router ospf 1
auto-cost reference-bandwidth 1000


Related Commands

ip ospf cost

15.8 clear ip ospf

To clear redistribution based on the Open Shortest Path First (OSPF) routing process ID, use the clear
ip ospf
command in privileged EXEC mode.


Command Syntax

clear ip ospf [pid] process

pid

(Optional) Process ID.

Advertising