OcNOS-RON-6.3.1 : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : host area
host area
Use this command to configure a stub host entry belonging to a particular area.
Using this command, you can advertise specific host routes in the router-LSA as stub link. Since stub host belongs to the specified router, specifying cost is not important.
Use the no form of this command to remove the host area configuration.
Command Syntax
host A.B.C.D area (A.B.C.D|<0-4294967295>)
host A.B.C.D area (A.B.C.D|<0-4294967295>) cost <0-65535>
no host A.B.C.D area (A.B.C.D|<0-4294967295>)
no host A.B.C.D area (A.B.C.D|<0-4294967295>) cost
Parameters
A.B.C.D
Specify IP address of the host.
area
Set the OSPF area ID
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
 
OSPF Area ID as a decimal value.
cost
Specify cost for stub host entry.
<0-65535>
Specify cost for stub host entry.
Default
No host entry is configured
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ospf 100
(config-router)#host 172.16.10.100 area 1
(config-router)#host 172.16.10.101 area 2 cost 10
Last modified date: 07-13-2023