Download Print this page

Ip Ospf Cost - Allied Telesis IE340 Series Command Reference Manual

Industrial ethernet layer 3 switches
Hide thumbs Also See for IE340 Series:

Advertisement

OSPF C
OMMANDS

IP OSPF COST

ip ospf cost
Overview
This command explicitly specifies the cost of the link-state metric in a router-LSA.
The no variant of this command resets the interface cost to the default.
Syntax
ip ospf [<ip-address>] cost <1-65535>
no ip ospf [<ip-address>] cost
Default
No static value. The OSPF cost is automatically calculated by using the
reference bandwidth
Mode
Interface Configuration for a VLAN interface.
Usage notes
This command explicitly sets a user specified cost of sending packets out the
interface. Using this command overrides the cost value calculated automatically
with the auto-cost reference bandwidth feature.
The interface cost indicates the overhead required to send packets across a certain
interface. This cost is stated in the Router-LSA's link. Typically, the cost is inversely
proportional to the bandwidth of an interface. By default, the cost of an interface
is calculated according to the following formula:
Use the ip ospf cost command to set the interface cost manually.
Example
To set the OSPF cost to 10 on VLAN interface vlan25 for IP address 10.10.10.50, use
the commands:
awplus#
awplus(config)#
awplus(config-if)#
Related
show ip ospf interface
commands
auto-cost reference bandwidth
C613-50631-01 Rev A
Parameter
Description
<ip-address>
The IPv4 address of the interface, in dotted decimal notation.
<1-65535>
The link-state metric.
command.
reference bandwidth/interface bandwidth
configure terminal
interface vlan25
Command Reference for IE340 Series
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
ip ospf 10.10.10.50 cost 10
auto-cost
1141

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Ie340-12gpIe340-12gtIe340-20gpIe340l-18gp