![](/images/new-backgrounds/1202185/202185623x1.webp)
xStack
create ospf host_route
Purpose | Used to configure OSPF host route settings. |
Syntax | create ospf host_route <ipaddr> {area <area_id> metric |
| <value |
Description | This command is used to configure the OSPF host route settings. |
Parameters | <ipaddr> − The host’s IP address. |
| <area_id> − A |
| (xxx.xxx.xxx.xxx) that uniquely identifies the OSPF area in the |
| OSPF domain. |
| metric <value |
| be advertised. |
Restrictions | Only |
|
|
Usage Example
To configure the OSPF host route settings:
Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2
Success.
delete ospf host_route
Purpose | Used to delete an OSPF host route. |
Syntax | delete ospf host_route <ipaddr> |
Description | This command is used to delete an OSPF host route. |
Parameters | <ipaddr> − The IP address of the OSPF host. |
Restrictions | Only |
|
|
Usage Example
To delete an OSPF host route:
Command: delete ospf host_route 10.48.74.122
Success.
309