3com S7906E Guide De Référence

Page de 2327
 
1-3 
Default Level 
2: System level 
Parameters 
value: Bandwidth reference value for link cost calculation, in the range 1 to 2147483648 Mbps. 
Description 
Use the bandwidth-reference command to specify a reference bandwidth value for link cost 
calculation. 
Use the undo bandwidth-reference command to restore the default value. 
The default value is 100 Mbps. 
You can configure an OSPFv3 cost for an interface with one of the following two methods: 
Configure the cost value in interface view. 
Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on 
the bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface 
bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used.  
If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically: 
Examples 
# Specify the reference bandwidth value as 1000 Mbps. 
<Sysname> system-view 
[Sysname] ospfv3 1 
[Sysname-ospfv3-1] bandwidth-reference 1000 
default cost 
Syntax 
default cost value 
undo default cost 
View 
OSPFv3 view 
Default Level 
2: System level 
Parameters 
value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214.  
Description 
Use the default cost command to configure a default cost for redistributed routes.  
Use the undo default cost command to restore the default.  
By default, the default cost is 1. 
You need to configure the default cost value for redistributed routes to advertise them throughout the 
whole AS.