Area Default-Cost (Ospf) - Cisco Nexus 3548 Command Reference Manual

Nx-os unicast routing command reference
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Chapter
Unicast Routing Commands

area default-cost (OSPF)

To specify a cost for the default summary route sent into an Open Shortest Path First (OSPF) stub or
not-so-stubby area (NSSA)
cost, use the no form of this command.
Syntax Description
area-id
cost
Command Default
The summary route cost is based on the area border router that generated the summary route.
Command Modes
Router configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
Use the area default-cost command on an Area Border Router (ABR) attached to a stub or NSSA to
configure the metric for the summary default route generated by the ABR into the stub area.
This command requires the LAN Base Services license.
Examples
This example shows how to set a default cost of 20 to stub network 192.0.2.0:
switch# configure terminal
switch(config)# router ospf 201
switch(config-router)# area 192.0.2.0 stub
switch(config-router)# area 192.0.2.0 default-cost 20
switch(config-router)#
Related Commands
Command
area stub
copy running-config
startup-config
show ip ospf
OL-27852-01
se the area default-cost command. To remove the assigned default route
, u
area area-id default-cost cost
no area area-id default-cost cost
Modification
This command was introduced.
Description
Defines an area as a stub area.
Saves the configuration changes to the startup configuration file.
Displays OSPF information.
Identifier for the OSPF area where you want to configure the default
cost. The area ID can be from 0 to 4294967295 or an IP address.
Cost for the default summary route used for a stub or NSSA. The
range is from 0 to 16777215.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
area default-cost (OSPF)
25

Advertisement

Table of Contents
loading

Table of Contents