
xStack Gigabit Layer 3 Switch Command Line Interface Manual
Usage Example
To display an OSPF area’s settings:
DGS-3324SRi:4#show ospf area
Command: show ospf area
0.0.0.0 Normal None None
Total Entries: 2
Area ID Type Stub Import Summary LSA Stub Default Cost
-------------- ------------- ------------------------------------ -------------------
10.48.74.122 Stub Enabled Enabled
DGS-3324SRi:4#
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.
Only
administrator-level users can issue this command.
metric <value 1-65535>
−
A metric between 1 and 65535, which will
be advertised.
Restrictions
Usage Example
To configure the OSPF host route settings:
DGS-3324SRi: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-3324SRi: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.
315