xStack DES-6500 Modular Layer 3 Chassis Ethernet Switch CLI Manual
config ospf host_route
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.
Purpose
Usage Example
To configure an OSPF host route:
DES-6500:4#config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2
Command: config ospf host_route 10.48.74.122 area 10.1.1.1 metric 2
Success.
DES-6500:4#
show ospf host_route
Purpose
Used to display the current OSPF host route table.
Syntax
show ospf host_route {<ipaddr>}
Description
This command will display the current OSPF host route table.
Parameters
<ipaddr>
−
The IP address of the host.
Restrictions None.
Usage Example:
To display the current OSPF host route table:
DES-6500:4#show ospf host_route
Command: show ospf host_route
Host Address Metric Area_ID
--------------- --------------- -----------
10.48.73.21 2 10.1.1.1
10.48.74.122 1 10.1.1.1
Total Entries: 2
DES-6500:4#
310