3com S7906E Guide De Référence

Page de 2327
 
1-29 
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 of the interface, in the range 1 to 65535.  
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 of a switch, the cost value defaults to 1.  
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 ] 
View 
Interface view 
Default Level 
2: System level 
Parameters 
priority: DR priority, in the range 0 to 255.  
instance-id: ID of the instance an interface belongs to, in the range 0 to 255, which defaults to 0.  
Description 
Use the ospfv3 dr-priority command to set the DR priority for an interface in an instance.