Command Reference
OSPFv2 Commands
Defaults
No stub area is defined by default.
Command
Mode
Routing process configuration mode
Usage Guide
All devices in the OSPF stub area must be configured with the area stub command. The ABR only
sends three types of link state advertisement (LSA) to the stub area: 1) type 1, device LSA; 2) type 2,
network LSA; 3) type 3, network summary LSA. For the routing table, the devices in the stub area can
learn only the routes inside the OSPF routing domain, including the internal default routes generated
by the ABR.
To configure a full stub area, use the area stub command with the no-summary keyword on the ABR.
The devices in the full stub area can learn only the routes in the local area and the internal default
routes generated by the ABR.
Two commands can configure an OSPF area as a stub area: the area stub and area default-cost
commands. All devices connected to the stub area must be configured with the area stub command,
but the area default-cost command can be executed only on the ABR. The area default-cost
command defines the initial cost (metric) of the internal default route.
Configuration
Examples
The following example sets area 1 as the stub area on all devices in area 1.
Ruijie(config)# router ospf1
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
Related
Commands
Command
Description
area default-cost
Defines the cost (OSPF metric value) of the
default aggregate route advertised to the stub
area.
Platform
Description
N/A
2.8 area virtual-link
Use this command to define the OSPF virtual link in routing process configuration mode. Use the
no
form of this command to restore the default setting.
area
area-id
virtual-link
router-id
[
authentication
[
message-digest
|
null
]] [
dead-interval
{ seconds
|
minimal
hello-multiplier
multiplier }
] [
hello-interval
seconds ]
[
retransmit-interval
seconds ]
[
transmit-delay
seconds
] [ [
authentication-key
[
0|7
]
key
] | [
message-digest-key
key-id
md5
[
0|7
]
key
] ]
no area
area-id
virtual-link
router-id
[
authentication
] [
dead-interval
] [
hello-interval
]
[
retransmit-interval
] [
transmit-delay
] [ [
authentication-key
] | [
message-digest-key
key-id ] ]
Содержание 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...