C613-50170-01 Rev B
Command Reference for x510 Series
1004
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF C
OMMANDS
HOST
AREA
host area
Overview
This command configures a stub host entry belonging to a particular area. You can
use this command to advertise specific host routes in the router-LSA as stub link.
Since stub host belongs to the specified router, specifying cost is optional.
The
no
variant of this command removes the host area configuration.
Syntax
host <
ip-address
> area <
area-id
> [cost <
0-65535
>]
no host <
ip-address
> area <
area-id
> [cost <
0-65535
>]
Default
By default, no host entry is configured.
Mode
Router Configuration
Example
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
host 172.16.10.100 area 1
awplus(config-router)#
host 172.16.10.101 area 2 cost 10
Parameter
Description
<
ip-address
>
The IPv4 address of the host, in dotted decimal notation.
<
area-id
>
The OSPF area ID of the transit area that configuring the stub
host entry for. Use one of the following formats:
•
dotted decimal format, e.g. 0.0.1.2.
•
normal decimal format in the range <0-4294967295>, e.g.
258.
cost <
0-65535
>
The cost for the stub host entry.