![D-Link xStack DGS-3612G series Скачать руководство пользователя страница 366](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854366.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
363
DGS-3627:5#config ospf area 10.48.74.122 type stub stub_summary
enable metric 1
Command: config ospf area 10.48.74.122 type stub stub_summary enable
metric 1
Success.
DGS-3627:5#
show ospf area
Purpose
Used to display an OSPF area’s configuration.
Syntax
show ospf area {<area_id>}
Description
This command will display the current OSPF area configuration.
Parameters
<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.
Restrictions None.
Usage example
To display an OSPF area’s settings:
DGS-3627:5#show ospf area
Command: show ospf area
Area ID Type Stub Import Summary LSA Stub Default Cost Translate
--------------- ------ ----------------------- ----------------- ---------
0.0.0.0 Normal None None None
Total Entries : 1
DGS-3627:5#
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 and Operator-level users can issue this command.
Usage example
To configure the OSPF host route settings:
DGS-3627:5#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-3627:5#