33.7. OSPF Hosts table

The table of OSPF Hosts collects information about "hosts", i.e. users (servers, workstations, etc.) directly connected to the router.

The table of OSPF Hosts can hold up to 100 definitions.

Commands for managing the table of OSPF Hosts are the following:

33.7.1. D OSPF HOST

This command shows all currently defined OSPF host:

[16:22:50] ABILIS_CPX:d ospf host

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
---------------------------------------
HOST:            AREA:            COST:
---------------------------------------
010.000.000.001  001.001.000.001  65535
192.168.000.001  001.001.000.002     25
---------------------------------------

Meaning of the parameters:

HOST

This parameter sets the host's IP address, in Dotted Decimal Notation. IP addresses of class D and E are not currently supported. Host routes are advertised in router links advertisements as stub networks with mask 0xFFFFFFFF. They indicate either router interfaces to point-to-point networks, looped router interfaces, or IP hosts that are directly connected to the router (e.g., via a SLIP line).

AREA

This is a 32-bit number (Area ID) that identifies the owner area.

COST

This parameter sets the cost of sending a packet to the host, in terms of the link state metric. However, since the host probably has only a single connection to the Internet, the actual configured cost in many cases is not important (i.e. it will have no effect on routing).

33.7.2. A OSPF HOST

This command adds a new host definition to the OSPF Hosts table, identified by the specified IP address and Area ID. The command also sets the eventually indicated optional parameters to the specified values.

[16:22:55] ABILIS_CPX:a ospf host:192.168.1.1 area:1.1.0.2 cost:65535

COMMAND EXECUTED 

[16:24:50] ABILIS_CPX:d ospf host                                    

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
---------------------------------------
HOST:            AREA:            COST:
---------------------------------------
010.000.000.001  001.001.000.001  65535
192.168.000.001  001.001.000.002     25
192.168.001.001  001.001.000.002  65535
---------------------------------------

The "AREA:" parameter represents an OSPF Area ID, expressed in Dotted Decimal Notation [0.0.0.0 - 255.255.255.255]. The specified OSPF area must be already defined in the OSPF Areas table, otherwise the "OSPF AREA NOT PRESENT" error message is displayed and the command refused.

The host IP address unambiguously identifies an entry in the system. Two or more entries with the same IP address cannot be present at the same time in the table. If the indicated value matches an already existing entry, the following message will be displayed "OSPF HOST ALREADY EXISTS".

33.7.3. C OSPF HOST

This command deletes an entry from the OSPF Hosts table, identified by the specified IP address.

[16:24:52] ABILIS_CPX:c ospf host:192.168.1.1                        

COMMAND EXECUTED 

[16:27:00] ABILIS_CPX:d ospf host             

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
---------------------------------------
HOST:            AREA:            COST:
---------------------------------------
010.000.000.001  001.001.000.001  65535
192.168.000.001  001.001.000.002     25
---------------------------------------

33.7.4. S OSPF HOST

This command sets to new values the parameters of the OSPF Host, identified by the specified IP address.

[16:27:01] ABILIS_CPX:s ospf host:192.168.0.1 area:1.1.0.2 cost:65535

COMMAND EXECUTED 

[16:28:21] ABILIS_CPX:d ospf host                                    

- Not Saved (SAVE CONF), Not Refreshed (INIT) ---------------------------------
---------------------------------------
HOST:            AREA:            COST:
---------------------------------------
010.000.000.001  001.001.000.001  65535
192.168.000.001  001.001.000.002  65535
---------------------------------------