Configuring host routes
Configure host routes when the switch resides in a network that uses routing protocols other than OSPF. A host route is a more-specific route and is used even if it is higher cost than a network route.
Before you begin
Enable OSPF globally.
Change the VRF instance as required to configure OSPF on a specific VRF instance. The VRF must have an RP trigger of OSPF. Not all parameters are configurable on non-default VRFs.
About this task
You can specify which hosts directly connect to the router and the metrics and types of service to advertise for the hosts.
Use a host route to create a custom route to a specific host to control network traffic.
Procedure
- In the navigation pane, expand .
- Click OSPF.
- Click the Hosts tab.
- To insert a new host, click Insert.
- In the IP Address box , type the area IP address of the new host.
- In the Metric box, type the metric to advertise.
- Click Insert.
- Click Apply.
Hosts field descriptions
Use the data in the following table to use the Hosts tab.
Name |
Description |
---|---|
IpAddress |
Specifies the IP address of the host that represents a point of attachment in a TCP/IP internetwork. |
TOS |
Specifies the type of service of the route. |
Metric |
Specifies the metric advertised to other areas. The value indicates the distance from the OSPF router to a network in the range. |
AreaID |
Specifies the area where the host is found. By default, the area that submits the OSPF interface is in 0.0.0.0. |