Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

Run the command set protocols ospf auto-cost reference-bandwidth to set the reference bandwidth for automatic route cost calculation. The reference bandwidth specified here is considered equivalent to OSPF cost of 1. The default bandwidth is 100Mbits/s, that is, a link with bandwidth of 100Mbits/s or higher is considered to have a cost of 1. Cost of links with lower bandwidth will be calculated with reference to this bandwidth value. Optional parameter instance-id can be included to specify the OSPFv2 multi-instance ID. Optional parameter vrf can be used to specify the name of the VRF for the OSPF instance.

Note that this configuration must be consistent within the OSPF domain.


Multiple instances of OSPF are only allowed in the default VRF. A maximum of 8 instance can be configured in the default VRF. In non-default VRFs, only single instance OSPF can be configured.


Run the command delete protocols ospf auto-cost reference-bandwidth to delete this configuration


Command Syntax

set protocols ospf [instance-id <instance-id> | vrf <vrf-name>] auto-cost reference-bandwidth <ref-bandwidth>

delete protocols ospf [instance-id <instance-id> | vrf <vrf-name>] auto-cost reference-bandwidth <ref-bandwidth>


Parameter

Parameter

Description

instance-id <instance-id>Optional, specifies the OSPF instance ID. The value is an integer that ranges from 1 to 8.

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

reference-bandwidth <ref-bandwidth>Specifies the reference bandwidth. The value is an integer that ranges from 1 to 4294967.

Example

  •  Configure the OSPF reference bandwidth to 500000 for the default VRF OSPF instance ID 1.
admin@XorPlus# set protocols ospf instance-id 1 auto-cost reference-bandwidth 500000
admin@Xorplus# commit
  • No labels