R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

544
Syntax
ospfv3 cost value [ instance instance-id ]
undo ospfv3 cost [ instance instance-id ]
Default
The cost is 1 for a VLAN interface, is 0 for a loopback interface, and is computed according to the
interface bandwidth for other interfaces.
Views
Interface view
Predefined user roles
network-admin
Parameters
value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface, and in the range
of 1 to 65535 for other interfaces.
instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Examples
# Specifies the OSPFv3 cost for GigabitEthernet 2/1/1 in instance 1 as 33.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ospfv3 cost 33 instance 1
ospfv3 dr-priority
Use ospfv3 dr-priority to set the router priority for an interface in an instance.
Use undo ospfv3 dr-priority to restore the default.
Syntax
ospfv3 dr-priority priority [ instance instance-id ]
undo ospfv3 dr-priority [ instance instance-id ]
Default
An interface has a router ID of 1.
Views
Interface view
Predefined user roles
network-admin
Parameters
priority: Specifies a router priority in the range of 0 to 255.
instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.
Usage guidelines
An interface's router priority determines its privilege in DR/BDR selection.