public class DefaultTEMetricLinkAttribTLV
extends BGP4TLVFormat
3.7 Traffic Engineering Metric
This sub-TLV contains a 24-bit unsigned integer. This metric is
administratively assigned and can be used to present a differently
weighted topology to traffic engineering SPF calculations.
To preclude overflow within a traffic engineering SPF implementation,
all metrics greater than or equal to MAX_PATH_METRIC SHALL be
considered to have a metric of MAX_PATH_METRIC. It is easiest to
select MAX_PATH_METRIC such that MAX_PATH_METRIC plus a single link
metric does not overflow the number of bits for internal metric
calculation. We assume that this is 32 bits. Therefore, we have
chosen MAX_PATH_METRIC to be 4,261,412,864 (0xFE000000, 2^32 - 2^25).
This sub-TLV is optional. This sub-TLV SHOULD appear once at most in
each extended IS reachability TLV. If a link is advertised without
this sub-TLV, traffic engineering SPF calculations MUST use the
normal default metric of this link, which is advertised in the fixed
part of the extended IS reachability TLV.
- Author:
- Oscar Gonzalez de Dios, Fernando Munoz del Nuevo