C613-50170-01 Rev B
Command Reference for x510 Series
1113
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF
V
3
FOR
IP
V
6 C
OMMANDS
IPV
6
OSPF
COST
ipv6 ospf cost
Overview
This command explicitly specifies the cost of the link-state metric in a router-LSA.
The interface cost indicates the overhead required to send packets across a certain
VLAN interface. Use this command to set the VLAN interface cost manually.
The
no
variant of this command resets the VLAN interface cost to the default.
Syntax
ipv6 ospf cost <
1-65535
>
no ipv6 ospf cost
Default
By default there is no static value set and the OSPF cost is automatically calculated
by using the command
auto-cost reference bandwidth (IPv6 OSPF)
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 (IPv6 OSPF) feature.
The link-state metric 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
The reference bandwidth is set by default at 1000000 kbps (or 1000 Mbps), but can
be changed by the command
auto-cost reference bandwidth (IPv6 OSPF)
The interface bandwidth is set by default to 1000000 kbps (or 1000 Mbps), but can
be changed by the
command.
Example
To set the IPv6 OSPF cost to 10 on the VLAN interface
vlan25
, use the following
commands:
awplus#
configure terminal
awplus(config)#
interface vlan25
awplus(config-if)#
ipv6 ospf cost 10
Related
Commands
auto-cost reference bandwidth (IPv6 OSPF)
Parameter
Description
<
1-65535
>
The link-state metric.