reference-bandwidth

Syntax

reference-bandwidth没有参考-bandwidth

描述

Sets the reference bandwidth for OSPFv2. If the OSPFv2 interface cost is not explicitly set. then the cost of all the OSPFv2 interfaces is recalculated based on the reference bandwidth and link speed of the interface.

For VLAN interfaces the link speed value is taken as 1 Gbps (if the OSPFv2 interface cost is not explicitly set).

The没有form of this command sets the reference bandwidth for OSPF to the default of 100000 Mbps.

Command context

config-ospf -

Parameters

Specifies the reference bandwidth used to calculate the cost of an interface in Mbps. Range: 1 to 4000000. Default: 100000.

权威

Administrators or local user group members with execution rights for this command.

Examples

Setting the reference bandwidth:

switch(config)#router ospf 1switch(config-ospf-1)#reference-bandwidth 40000

Setting the reference bandwidth to the default value:

switch(config)#router ospf 1switch(config-ospf-1)#没有参考-bandwidth