xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
create ospf host_route
Purpose
Used to configure OSPF host route settings.
Syntax
create ospf host_route <ipaddr> {area <area_id> | metric <value 1-65535>}
Description
This command is used to configure the OSPF host route settings.
Parameters
<ipaddr>
−
The host’s IP address.
<area_id>
−
A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx) that
uniquely identifies the OSPF area in the OSPF domain.
metric <value 1-65535>
−
A metric between 1 and 65535, which will be
advertised.
Restrictions Only
administrator-level users can issue this command.
Usage example
To configure the OSPF host route settings:
DGS-3612G:4#create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2
Command: create ospf host_route 10.48.74.122 area 10.1.1.1 metric 2
Success.
DGS-3612G:4#
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
administrator-level users can issue this command.
Usage example
To delete an OSPF host route:
DGS-3612G:4#delete ospf host_route 10.48.74.122
Command: delete ospf host_route 10.48.74.122
Success.
DGS-3612G:4#
config ospf host_route
Purpose
Used to configure OSPF host route settings.
Syntax
config ospf host_route <ipaddr> {area <area_id> | metric <value>}
Description
This command is used to configure an OSPF host route settings.
Parameters
<ipaddr>
−
The IP address of the host.
<area_id>
−
A 32-bit number in the form of an IP address (xxx.xxx.xxx.xxx)
that uniquely identifies the OSPF area in the OSPF domain.
<value>
−
A metric between 1 and 65535 that will be advertised for the
route.
Restrictions Only
administrator-level users can issue this command.
257