Справочное Руководство для 3com S7906E

Скачать
Страница из 2327
 
1-5 
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. 
When links have no cost values configured, OSPF calculates their cost values: Cost=Reference 
bandwidth value / Link bandwidth. If the calculated cost is greater than 65535, the value of 65535 is 
used. 
Examples 
# Specify the reference bandwidth value as 1000 Mbps. 
<Sysname> system-view 
[Sysname] ospf 100 
[Sysname-ospf-100] bandwidth-reference 1000 
default 
Syntax 
default cost cost | limit limit | tag tag | type type } * 
undo default { cost | limit | tag | type } * 
View 
OSPF view 
Default Level 
2: System level 
Parameters 
cost: Specifies the default cost for redistributed routes, in the range 0 to 16777214. 
limit: Specifies the default upper limit of routes redistributed per time, in the range 1 to 2147483647. 
tag: Specifies the default tag for redistributed routes, in the range 0 to 4294967295. 
type: Specifies the default type for redistributed routes: 1 or 2. 
Description 
Use the default command to configure default parameters for redistributed routes. 
Use the undo default command to restore default values. 
The cost, route type, tag, and the upper limit are 1, 2, 1 and 1000 by default. 
Related commands: import-route
Examples 
# Configure the default cost, upper limit, tag and type as 10, 20000, 100 and 2 respectively for 
redistributed external routes. 
<Sysname> system-view 
[Sysname] ospf 100