Interface Configuration
7210 SAS M, T, X, R6, R12, Mxp, S, Sx Interface Configuration Guide Page 219
dynamic-cost
Syntax [no] dynamic-cost
Context config>lag lag-id
Description Platforms Supported: 7210 SAS-M, 7210 SAS-X, 7210 SAS-Mxp, 7210 SAS-Sx/S 1/10GE,7210 SAS-Sx
10/100GE, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-T.
This command enables OSPF costing of a Link Aggregation Group (LAG) based on the available
aggregated, operational bandwidth.
The path cost is dynamically calculated based on the interface bandwidth. OSPF path cost can be changed
through the interface metric or the reference bandwidth.
If dynamic cost is configured, then costing is applied based on the total number of links configured and the
cost advertised is inversely proportional to the number of links available at the time. This is provided that the
number of links that are up exceeds the configured LAG threshold value at which time the configured
threshold action determines if, and at what cost, this LAG will be advertised.
For example:
Assume a physical link in OSPF has a cost associated with it of 100, and the LAG consists of four phys-
ical links. The cost associated with the logical link is 25. If one link fails then the cost would automati-
cally be adjusted to 33.
If dynamic cost is not configured and OSPF autocost is configured, then costing is applied based on the total
number of links configured. This cost will remain static provided the number of links that are up exceeds the
configured LAG threshold value at which time the configured threshold action determines if and at what
cost this LAG will be advertised.
If dynamic-cost is configured and OSPF autocost is not configured, the cost is determined by the cost
configured on the OSPF metric provided the number of links available exceeds the configured LAG
threshold value at which time the configured threshold action determines if this LAG will be advertised.
If neither dynamic-cost nor OSPF autocost are configured, the cost advertised is determined by the cost
configured on the OSPF metric provided the number of links available exceeds the configured LAG
threshold value at which time the configured threshold action determines if this LAG will be advertised.
The no form of this command removes dynamic costing from the LAG.
Default no dynamic-cost
encap-type
Syntax encap-type {dot1q | null | qinq}
no encap-type
Context config>lag
Description Platforms Supported: 7210 SAS-M, 7210 SAS-X, 7210 SAS-Mxp, 7210 SAS-Sx/S 1/10GE,7210 SAS-Sx
10/100GE, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-T.