ipv6 ospfv3 cost

Syntax

ipv6 ospfv3 cost <INTERFACE-COST>

no ipv6 ospfv3 cost

Description

Sets the cost (metric) associated with a particular interface. The interface cost is used as a parameter to calculate the best routes.

The no form of this command sets the cost (metric) associated with a particular interface to the default of 1.

Command context

config-if

config-if-vlan

Parameters

<INTERFACE-COST>

Specifies the interface cost value. Range: 1to 65535. Default: 1.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting OSPFv3 interface cost:

switch(config)# interface vlan 1
switch(config-if-vlan)# ipv6 ospfv3 cost 100

Setting the OSPFv3 interface cost to default:

switch(config)# interface vlan 1
switch(config-if-vlan)# no ipv6 ospfv3 cost