Ip Ospf Cost - Allied Telesis x310-26FT Command Reference Manual

X310 series stackable access switches for alliedware plus version 5.4.6-1.x
Table of Contents

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 VLAN interface cost to the default.
Syntax
ip ospf [<ip-address>] cost <1-65535>
no ip ospf [<ip-address>] cost
Default
By default there is no static value set and the OSPF cost is automatically calculated
by using the
Mode
Interface Configuration for a VLAN interface.
Usage
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
VLAN 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 a
VLAN interface is calculated according to the following formula:
reference bandwidth/interface bandwidth
To set the VLAN interface cost manually, use this command.
The following example shows setting ospf cost to 10 on VLAN interface vlan25
Example
for IP address 10.10.10.50
awplus#
awplus(config)#
awplus(config-if)#
Related
show ip ospf interface
Commands
auto-cost reference bandwidth
C613-50103-01 REV A
Parameter
Description
<ip-address>
The IPv4 address of the interface, in dotted decimal notation.
<1-65535>
The link-state metric.
auto-cost reference bandwidth
configure terminal
interface vlan25
Command Reference for x310 Series
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
command.
ip ospf 10.10.10.50 cost 10
898

Advertisement

Table of Contents
loading

This manual is also suitable for:

X310-26fpX310-50fpX310-50ft

Table of Contents