beautypg.com

Max-metric router-lsa (ospf) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 507

background image

Network OS Command Reference

469

53-1003115-01

max-metric router-lsa (OSPF)

2

max-metric router-lsa (OSPF)

Advertises the maximum metric value in different Link State Advertisements (LSAs).

Synopsis

max-metric router-lsa [all-vrfs] [all-lsas |summary-lsa metric-value | external-lsa metric-value |
link {ptp | stub | transit | all} | on-startup {time | wait-for-bgp} [all-lsas |summary-lsa metric-value
| external-lsa metric-value | link {ptp | stub | transit | all}]]

no max-metric router-lsa [all-vrfs] [all-lsas |summary-lsa metric-value | external-lsa metric-value |
link {ptp | stub | transit | all} | on-startup {time | wait-for-bgp} [all-lsas |summary-lsa metric-value
| external-lsa metric-value | link {ptp | stub | transit | all}]]

Operands

all-vrfs

Applies the configuration change to all instances of OSPF.

on-startup

Applies the configuration change at the next OSPF startup.

time

Sets the time (in seconds) for which the specified links in Router LSAs are
advertised when the metric is set to the maximum value of 0xFFFF. The
range for time is 5 to 86,400.

wait-for-bgp

Indicates that OSPF should wait for either 600 seconds or until BGP has
finished route table convergence, whichever happens first, before
advertising the links with the normal metric.

summary-lsa metric-value

Modifies the metric of all summary type 3 and type 4 LSAs to equal

the specified value or a default value. The range for metric value is 1 to
16777214 (0x00001 – 0x00FFFFFE), and the default is 16711680
(0x00FF0000).

external-lsa metric-value

Modifies the metric of all external type 5 LSAs to equal the specified

value or a default value. The range for metric value is 1 to 16777214
(0x00001 - 0x00FFFFFE), and the default is 16711680 (0x00FF0000).

all-lsas

Sets the summary-lsa and external-lsa optional parameters to the
corresponding default max-metric value. For a non-default instance of OSPF,
only the summary-lsa and external-lsa parameters are set.

link

Specifies the types of links for which the maximum metric is advertised. By
default, the maximum metric is advertised only for transit links.

all

Advertises the maximum metric in Router LSAs for all supported link types.

ptp

Advertises the maximum metric in Router LSAs for point-to-point links.

stub

Advertises the maximum metric in Router LSAs for stub links.

transit

Advertises the maximum metric in Router LSAs for transit links. This is the
default link type.

Defaults

Refer to the Operands for various defaults within the command.

Command Modes

OSPF VRF router configuration mode

Description

Use this command to set the maximum metric value advertised in different Link State
Advertisements (LSAs). When enabled, the router configures the maximum value of the metric for
routes and links advertised in various types of LSAs. Because the route metric is set to its
maximum value, neighbors will not route traffic through this router except to directly connected
networks. Thus, the becomes a stub router, which is desirable when you want: