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
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...