◦ when a new VLAN is associated with an OSPF area without cost configuration.
◦ when an existing VLAN cost parameter is not configured.
◦ when an existing VLAN cost parameter is unconfigured.
NOTE:
The global cost auto configuration is supported only for OSPFv2 and OSPFv3.
No existing functionality is modified except that the cost will be configured automatically from global
command when not provided at VLAN level.
router ospf reference-cost
Syntax
router [ospf | ospfv3] reference-cost [
0-16777215
]
no router [ospf | ospfv3] reference-cost
Description
Configures the global level cost for OSPF at the VLAN level. The global cost will become the default cost.
The
no
form of the command removes the configured global cost for OSPF.
NOTE:
In the event that the cost is explicitly configured at the VLAN level, the locally configured cost
will take precedence over the global level cost.
Command context
Required context:
config
Parameters
ospf|ospfv3
Select the correct version of OSPF.
0-16777215
Specifies the global cost range for OSPF at the VLAN level.
Use cases
Use cases for the configuration of costs automatically from global level to VLAN level:
1.
Verify that the globally configured cost is applied at the VLAN level when configured without explicit cost
parameters.
2.
Verify that the globally configured cost is applied on the VLAN level when the existing VLAN level cost is
unconfigured.
3.
Verify that the auto configured cost is considered in OSPF neighbors for cost-related OSPF operations (such
as shortest path selection).
4.
Verify that the existing command implementation is not affected due to an automatic cost configuration on both
the global and the VLAN level.
5.
Check that the configuration is applied properly after uploading and downloading a saved configuration
through TFTP.
264
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08