Command Reference
OSPFv2 Commands
area virtual-link
Defines a virtual link.
Platform
Description
N/A
2.3 area default-cost
Use this command to define the cost ( OSPF metric ) of the default aggregate route advertised to the
stub area or not-so-stubby area ( NSSA ) in routing process configuration mode. Use the
no
form of
this command to restore the default setting.
area
area-id
default-cost
cost
no area
area-id
default-cost
Parameter
Description
Parameter
Description
area-id
ID of the stub area or NSSA
cost
Cost of the default aggregate route advertised to the stub area or
NSSA.
The range is from 0 to 16777215.
Defaults
The default is 1.
Command
Mode
Routing process configuration mode
Usage Guide
This command takes effect only on the Area Border Router ( ABR ) of the stub area or the
ABR/Autonomous System Border Router ( ASBR ) of the NSSA.
The ABR can advertise a Link State Advertisement ( LSA ) indicating the default route in the stub
area. The ABR/ASBR can advertise an LSA indicating the default route in the NSSA. You can use the
area default-cost
command to modify the LSA cost.
Configuration
Examples
The following example sets the cost of the default aggregate route to 50.
Ruijie(config)# router ospf 1
Ruijie(config-router)# network
172.16.0.0 0.0.255.255
area 0
Ruijie(config-router)#network
192.168.12.0 0.0.0.255
area 1
Ruijie(config-router)# area 1 stub
Ruijie(config-router)# area 1 default-cost 50
Related
Commands
Command
Description
area stub
Sets an OSPF area as a stub area.
area nssa
Sets an OSPF area as an NSSA.
Platform
N/A
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...