Page 506 / 757 Scroll up to view Page 501 - 505
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
502
Usage example
To disable OSPF on the Switch:
DGS-3627:admin# disable ospf
Command: disable ospf
Success.
DGS-3627:admin#
show ospf
Purpose
Used to display the current OSPF state on the Switch.
Syntax
show ospf {[ipif <ipif_name 12> | all]}
Description
This command will display the current state of OSPF on the Switch, divided into the following
categories:
General OSPF settings
OSPF Interface settings
OSPF Area settings
OSPF Virtual Interface settings
OSPF Area Aggregation settings
OSPF Host Route settings
Parameters
ipif
– Specify the IP interface here.
Restrictions
None.
Example usage:
To show OSPF state:
Page 507 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
503
DGS-3627:admin# show ospf
Command: show ospf
OSPF Router ID : 10.90.90.90 (Auto selected)
State
: Disabled
OSPF Interface Settings
Interface
IP Address
Area ID
State
Link
Metric
Status
------------ ------------------ --------------- -------- --------- ---------
System
10.90.90.90/8
0.0.0.0
Disabled Link Up
1
Total Entries : 1
OSPF Area Settings
Area ID
Type
Stub Import Summary LSA Stub Default Cost Translate
--------------- ------ ----------------------- ----------------- ---------
0.0.0.0
Normal None
None
None
Total Entries : 1
CTRL+C ESC q
Quit
SPACE n
Next Page
Enter
Next Entry
a
All
create ospf area
Purpose
Used to create an OSPF area.
Syntax
create ospf area <area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{stub_summary [enable | disable] | metric <value 0-65535>}]
Description
This command is used to create an OSPF area and configure its settings.
Parameters
<
area_id>
The OSPF area ID. The user may enter 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.
type
The OSPF area mode of operation
the user has three choices to choose from to
define the area created here.
normal
– Choosing this parameter will define the OSPF area created here as a
normal area.
stub
– Choosing this parameter will define the OSPF area created here as a stub
area.
nssa
– Choosing this parameter will define the OSPF area created here as an NSSA
(Not So Stubby Area) area.
translate [enable | disable]
– Enable this parameter to translate Type-7 LSAs
into Type-5 LSAs, so that they can be distributed outside of the NSSA. The
default is Disabled. This field can only be configured if
nssa
is chosen in the
type
field.
stub_summary [enable | disable]
Enables or disables the OSPF area to import summary
LSA advertisements.
metric <value 0-65535>
The OSPF area cost between 0 and 65535. 0 denotes that the value
will be automatically assigned. The default setting is 0. For NSSA areas, the metric field
determines the cost of traffic entering the NSSA area.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Page 508 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
504
To create an OSPF area:
DGS-3627:admin# create ospf area 10.48.74.122 type normal
Command: create ospf area 10.48.74.122 type normal
Success.
DGS-3627:admin#
To create an OSPF NSSA area:
DGS-3627:admin# create ospf area 11.1.1.1 type nssa translate enable metric 5
stub_summary enable
Command: create ospf area 11.1.1.1 type nssa translate enable metric 5 stub_summary
enable
Success.
DGS-3627:admin#
delete ospf area
Purpose
Used to delete an OSPF area.
Syntax
delete ospf area <area_id>
Description
This command is used to delete an OSPF area.
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
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an OSPF area:
DGS-3627:admin# delete ospf area 10.48.74.122
Command: delete ospf area 10.48.74.122
Success.
DGS-3627:admin#
config ospf area
Purpose
Used to configure an OSPF area’s settings.
Syntax
config ospf area <area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{stub_summary [enable | disable] | metric <value 0-65535>}]
Description
This command is used to configure an OSPF area’s settings.
Parameters
<area_id>
The OSPF area ID. The user may enter 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.
type
The OSPF area mode of operation
the user has three choices to choose from to
define the area configured here.
normal
– Choosing this parameter will define the OSPF area configured here as a
normal area.
stub
– Choosing this parameter will define the OSPF area configured here as a stub
area.
Page 509 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
505
config ospf area
nssa
– Choosing this parameter will define the OSPF area configured here as an
NSSA (Not So Stubby Area) area.
translate [enable | disable]
– Enable this parameter to translate Type-7 LSAs
into Type-5 LSAs, so that they can be distributed outside of the NSSA. The
default is Disabled. This field can only be configured if nssa is chosen in the
type field.
stub_summary [enable | disable]
Allows the OSPF area import of LSA advertisements to be
enabled or disabled.
metric <value 0-65535>
The OSPF area cost between 0 and 65535. 0 denotes that the value
will be automatically assigned.
The default setting is 0. For NSSA areas, the metric field
determines the cost of traffic entering the NSSA area.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To configure an OSPF area’s settings:
DGS-3627:admin# 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:admin#
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:admin# show ospf area
Command: show ospf area
OSPF Area Settings
Area ID
Type
Stub Import Summary LSA Stub Default Cost Translate
--------------- ------ ----------------------- ----------------- ---------
0.0.0.0
Normal None
None
None
Total Entries : 1
DGS-3627:admin#
Page 510 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
506
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:admin# 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:admin#
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 and Operator-level users can issue this command.
Usage example
To delete an OSPF host route:
DGS-3627:admin# delete ospf host_route 10.48.74.122
Command: delete ospf host_route 10.48.74.122
Success.
DGS-3627:admin#
config ospf host_route
Purpose
Used to configure OSPF host route settings.
Syntax
config ospf host_route <ipaddr> {area <area_id> | metric <value 1-65535>}(1)
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.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top