beautypg.com

Host area – Allied Telesis AT-S83 User Manual

Page 314

background image

Chapter 15: Open Shortest Path First (OSPF) Commands

314

HOST AREA

Syntax

host A.B.C.D area AREAID (COST)

no host A.B.C.D area AREAID (COST)

Parameters

A.B.C.D

Specifies the IP address of the host.

AREAID

Specifies an area id. Choose from the following:

A.B.C.D

Specifies an OSPF area ID in

IPv4 address format.

0 to 4,294,967,295

Specifies an Area ID as 4

octets unsigned integer
value.

INTERFACENAME

Specifies the name of the interface.

COST

Specifies the cost for stub host entry. Enter a value

between 0 to 65,535. This is an optional parameter.

Description

Use the HOST AREA command to configure a stub host entry belonging
to a particular area. This command permits you to advertise specific host
routes in the router-LSA as a stub link. You can perform the same task
with the HOST AREA command.

Since the stub host belongs to the specified router, specifying cost is not
important. By default, no host entry is configured.

Use the no form of this command to remove the host area configuration.

Command Mode

Router mode

Example

The following commands set area 1 to an IP address of 172.16.10.100
and area 2 to an IP address of 172.16.10.101 with a cost of 10:

switch#configure terminal

switch(config)#router ospf 100