C613-50100-01 REV C Command Reference for x930 Series 1094
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
OSPFV3 FOR IPV6 COMMANDS
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) command.
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 auto-cost reference bandwidth (IPv6 OSPF) command.
The interface bandwidth is set by default to 1000000 kbps (or 1000 Mbps), but can
be changed by the bandwidth 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
show ipv6 ospf interface
auto-cost reference bandwidth (IPv6 OSPF)
bandwidth
Parameter Description
<1-65535> The link-state metric.