9-35
Description
Use the
ospfv3 area
command to enable an OSPFv3 process on the interface and specify the area
for the interface.
Use the
undo ospfv3 area
command to disable an OSPFv3 process.
OSPFv3 is not enabled on an interface by default.
Examples
# Enable OSPFv3 process 1 on an interface that belongs to instance 1 and specify area 1 for the
interface.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 1 area 1 instance 1
ospfv3 cost
Syntax
ospfv3 cost
value
[
instance instance-id
]
undo ospfv3 cost
[
instance instance-id
]
View
Interface view
Default Level
2: System level
Parameters
value
: OSPFv3 cost, in the range 0 to 65535 for a loopback interface and 1 to 65535 for other
interfaces.
instance-id
: Instance ID of an interface, in the range of 0 to 255, which defaults to 0.
Description
Use the
ospfv3 cost
command to configure the OSPFv3 cost of the interface in an instance.
Use the
undo ospfv3 cost
command to restore the default OSPFv3 cost of the interface in an
instance.
By default, a router’s interface automatically calculates the OSPFv3 cost based on its bandwidth. For
a VLAN interface, the cost value defaults to 1; for a loopback interface, the cost value defaults to 0.
Examples
# Specifies the OSPFv3 cost of the interface in instance 1 as 33 .
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 cost 33 instance 1
ospfv3 dr-priority
Syntax
ospfv3 dr-priority priority
[
instance instance-id
]
undo ospfv3 dr-priority
[
instance instance-id
]