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

Parameters

<INTERFACE-COST>

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

Authority

Administrators

Examples

Setting OSPFv3 interface cost:

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

Setting the OSPFv3 interface cost to default:

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