Use the following procedure to create OSPF hosts routes to specify which hosts are directly attached to the router, and the metrics that must be advertised for them.
Prerequisites
Install the Advanced License.
Enable IP routing globally on the switch.
Assign an IP address to the VLAN that you want to enable with OSPF.
Routing is automatically enabled on the VLAN when you assign an IP address to it.
Procedure steps
From the navigation tree, double-click IP Routing.
In the IP Routing tree, double-click OSPF.
In the work area, click the Hosts tab.
IN the toolbar, click Insert.
The OSPF Insert Hosts dialog box appears.
Configure the parameters as required.
Click Insert.
Variable definitions
The following table describes the fields of the Hosts tab.
Field
Description
IpAddress
Specifies the host IP address.
TOS
Specifies the configured route type of service. The value in this field should be 0 as TOS-based routing is not supported.
Metric
Specifies the configured cost of the host.
AreaID
Specifies the ID of the area connected to the host.