/
protocols ospf6 area interface vif interface-cost

protocols ospf6 area interface vif interface-cost

To configure the cost of an OSPFv6 interface, use the set protocols ospf6 area interface vif interface-cost command in L2/L3 configuration mode.

Command Syntax

set protocols ospf6 area area-id interface interface-name vif vif-name interface-cost cost

Parameters

area-idOSPFv3 area identifier.
interface-nameInterface name.
vif-nameVirtual interface name.
costOSPFv3 cost. The range is 1-65535.

Example

The following example configures the OSPFv3 cost of vlan2 interface as 3:

admin@Switch# set protocols ospf6 area 0.0.0.0 interface vlan2 vif vlan2 interface-cost 3

Copyright © 2025 Pica8 Inc. All Rights Reserved.