Page 501 / 757 Scroll up to view Page 496 - 500
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
497
Example usage:
To configure OSPFv3 interface:
DGS-3627:admin# config ospfv3 ipif System area 0.0.0.0 priority 100 hello_interval 20
dead_interval 60 instance 1 metric 20 state enable passive disable
Command: config ospfv3 ipif System area 0.0.0.0 priority 100 hello_interval 20
dead_interval 60 instance 1 metric 20 state enable passive disable
Success.
DGS-3627:admin#
create ospfv3 virtual_link
Purpose
Used to create an OSPFv3 virtual link.
Syntax
create ospfv3 virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> |
dead_interval <sec 1-65535> | instance <value 0-255>}
Description
This command is used to create an OSPFv3 virtual link.
Parameters
<area_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is
built.
<neighbor_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 virtual neighbor in the OSPFv3 domain.
hello_interval
- Allows the specification of the interval between the transmission of OSPFv3
Hello packets, in seconds. Between 1 and 65535 seconds can be specified. The Hello
Interval, Dead Interval should be the same for all routers on the same link. Its default value is
10.
dead_interval
- Allows the specification of the length of time between the receipt of Hello
packets from a neighbor router before the selected area declares that router down. An
interval between 1 and 65535 seconds can be specified. The Dead Interval must be evenly
divisible by the Hello Interval. Its default value is 60.
instance
- The instance ID on the virtual link. Its default value is 0.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create OSPFv3 virtual link:
DGS-3627:admin# create ospfv3 virtual_link 1.1.1.1 60.60.60.60
Command: create ospfv3 virtual_link 1.1.1.1 60.60.60.60
Success.
DGS-3627:admin#
config ospfv3 virtual_link
Purpose
Used to configure an OSPFv3 virtual link.
Syntax
config ospfv3 virtual_link <area_id> <neighbor_id> {hello_interval <sec 1-65535> |
dead_interval <sec 1-65535> | instance <value 0-255>}(1)
Description
This command is used to configure an OSPFv3 virtual link.
Parameters
<area_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is
built.
Page 502 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
498
config ospfv3 virtual_link
<neighbor_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 virtual neighbor in the OSPFv3 domain.
hello_interval
- Allows the specification of the interval between the transmission of OSPFv3
Hello packets, in seconds. Between 1 and 65535 seconds can be specified. The Hello
Interval, Dead Interval should be the same for all routers on the same link. Its default value is
10.
dead_interval
- Allows the specification of the length of time between the receipt of Hello
packets from a neighbor router before the selected area declares that router down. An
interval between 1 and 65535 seconds can be specified. The Dead Interval must be evenly
divisible by the Hello Interval. Its default value is 60.
instance
- The instance ID on the virtual link. Its default value is 0.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an OSPFv3 virtual link:
DGS-3627:admin# config ospfv3 virtual_link 1.1.1.1 60.60.60.60 hello_interval 20
dead_interval 80 instance 1
Command: config ospfv3 virtual_link 1.1.1.1 60.60.60.60 hello_interval 20 dead_interval
80 instance 1
Success.
DGS-3627:admin#
delete ospfv3 virtual_link
Purpose
Used to delete an OSPFv3 virtual link.
Syntax
delete ospfv3 virtual_link <area_id> <neighbor_id>
Description
This command is used to delete an OSPFv3 virtual link.
Parameters
<area_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is
built.
<neighbor_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 virtual neighbor in the OSPFv3 domain.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an OSPFv3 virtual link:
DGS-3627:admin# delete ospfv3 virtual_link 1.1.1.1 60.60.60.60
Command: delete ospfv3 virtual_link 1.1.1.1 60.60.60.60
Success.
DGS-3627:admin#
show ospfv3 virtual_link
Purpose
Used to display OSPFv3 virtual link configurations.
Page 503 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
499
show ospfv3 virtual_link
Syntax
show ospfv3 virtual_link {<area_id> <neighbor_id>}
Description
This command is used to display OSPFv3 virtual link configuration. If no parameters are set,
all virtual links will be displayed.
Parameters
<area_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 area in the OSPFv3 domain. This area is the transit area where the virtual link is
built.
<neighbor_id>
- A 32-bit number in the form of an IPv4 address that uniquely identifies the
OSPFv3 virtual neighbor in the OSPFv3 domain.
Restrictions
None.
Example usage:
To display OSPFv3 virtual link:
DGS-3627:admin# show ospfv3 virtual_link
Command: show ospfv3 virtual_link
Virtual Interface Configuration
Transit
Virtual
Hello
Dead
Instance ID Link
Area ID
Neighbor Router Interval Interval
Status
--------------- --------------- -------- -------- ----------- ------
1.1.1.1
60.60.60.60
10
60
0
DOWN
1.1.1.1
70.70.70.70
10
60
0
DOWN
Total Entries: 2
DGS-3627:admin# show ospfv3 virtual_link 1.1.1.1 60.60.60.60
Command: show ospfv3 virtual_link 1.1.1.1 60.60.60.60
Transit Area ID: 1.1.1.1
Virtual Neighbor Router ID: 60.60.60.60
Hello Interval: 10
Dead Interval: 60
Transmit Delay: 1
Retransmit Time: 5
Instance ID: 0
Virtual Link Status: DOWN
Total Entries: 1
DGS-3627:admin#
Page 504 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
500
66
OSPF COMMANDS
The OSPF commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
config ospf router_id
<ipaddr>
enable ospf
disable ospf
show ospf
{[ipif <ipif_name 12> | all]}
create ospf area
<area_id> type [normal | [stub | nssa {translate [enable | disable]}] {stub_summary
[enable | disable] | metric <value 0-65535>}]
delete ospf area
<area_id>
config ospf area
<area_id> type [normal | [stub | nssa {translate [enable | disable]}] {stub_summary
[enable | disable] | metric <value 0-65535>}]
show ospf area
{<area_id>}
create ospf host_route
<ipaddr> {area <area_id> | metric <value 1-65535>}
delete ospf host_route
<ipaddr>
config ospf host_route
<ipaddr> {area <area_id> | metric <value 1-65535>}(1)
show ospf host_route
{<ipaddr>}
create ospf aggregation
<area_id> <network_address> lsdb_type [summary {advertise [enable | disable]} |
nssa_ext {advertise [enable | disable]}]
delete ospf aggregation
<area_id> <network_address> lsdb_type [summary | nssa_ext]
config ospf aggregation
<area_id> <network_address> lsdb_type [summary {advertise [enable | disable]} |
nssa_ext {advertise [enable | disable]}]
show ospf aggregation
{<area_id>}
show ospf lsdb
{area <area_id> | advertise_router <ipaddr> | type [rtrlink | netlink | summary |
assummary | asextlink | nssa_ext]}
show ospf neighbor
{<ipaddr>}
show ospf virtual_neighbor
{<area_id> <neighbor_id>}
config ospf ipif
[ipif <ipif_name 12> | all]
{area <area_id> | priority <value> | hello_interval <sec 1-
65535> | dead_interval <sec 1-65535> | authentication [none | simple <password
8> | md5 <key_id 1-255>] | metric <value 1-65535> | state [enable | disable] |
passive [enable | disable}(1)
create ospf virtual_link
<area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-
65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]}
config ospf virtual_link
<area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-
65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]}(1)
delete ospf virtual_link
<area_id> <neighbor_id>
show ospf virtual_link
{<area_id> <neighbor_id>}
Page 505 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
501
Each command is listed, in detail, in the following sections.
config ospf router_id
Purpose
Used to configure the OSPF router ID.
Syntax
config ospf router_id <ipaddr>
Description
This command is used to configure the OSPF router ID.
Parameters
<ipaddr>
The IP address of the OSPF router.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To configure the OSPF router ID:
DGS-3627:admin# config ospf router_id 10.48.74.122
Command: config ospf router_id 10.48.74.122
Success.
DGS-3627:admin#
enable ospf
Purpose
Used to enable OSPF on the Switch.
Syntax
enable ospf
Description
This command, in combination with the
disable ospf
command below, is used to enable and
disable OSPF on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To enable OSPF on the Switch:
DGS-3627:admin# enable ospf
Command: enable ospf
Success.
DGS-3627:admin#
disable ospf
Purpose
Used to disable OSPF on the Switch.
Syntax
disable ospf
Description
This command, in combination with the
enable ospf
command above, is used to enable and
disable OSPF on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top