![Cisco Nexus 3548 series Command Reference Manual Download Page 272](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162272.webp)
252
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
max-metric router-lsa (OSPF)
•
Introducing a router into a network without routing traffic through it. You might want to connect a
router to an OSPF network but not want real traffic to flow through the router if there are better
alternate paths. If no alternate paths exist, then this router would still accept transit traffic.
This command requires the LAN Enterprise Services license.
Examples
This example shows how to configure a router that is running OSPF to advertise a maximum metric for
100 seconds:
switch#
configure terminal
switch(config)#
router ospf 100
switch(config-router)#
max-metric router-lsa on-startup 100
switch(config-router)#
This example shows how to configure a router to advertise a maximum metric until BGP routing tables
converge or until the default timer expires (600 seconds):
switch#
configure terminal
switch(config)#
router ospf 100
switch(config-router)#
max-metric router-lsa on-startup wait-for bgp bgpTag
switch(config-router)#
Related Commands
Command
Description
copy running-config
startup-config
Saves the configuration changes to the startup configuration file.
show ip ospf
Displays OSPF information.