Page 516 / 757 Scroll up to view Page 511 - 515
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
512
config ospf ipif
Purpose
Used to configure the OSPF interface settings.
Syntax
config ospf [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)
Description
This command is used to configure the OSPF interface settings.
Parameters
<ipif_name 12>
The name of the IP interface.
all
- All IP interfaces.
area <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.
priority <value>
The priority used in the election of the Designated Router (DR).
A number
between
0
and
255
.
hello_interval <sec 1-65535>
Allows the specification of the interval between the transmission of
OSPF Hello packets, in seconds. Between
1
and
65535
seconds can be specified. The Hello
Interval, Dead Interval, Authorization Type, and Authorization Key should be the same for all
routers on the same network.
dead_interval <sec 1-65535>
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.
authentication
– Enter the type of authentication preferred. The user may choose between:
none
– Choosing this parameter will require no authentication.
simple <password 8>
Choosing this parameter will set a simple authentication which
includes a case-sensitive password of no more than 8 characters.
md5 <key_id 1-255>
Choosing this parameter will set authentication based on md5
encryption. A previously configured MD5 key ID (1 to 255) is required.
metric <value 1-65535>
This field allows the entry of a number between 1 and 65,535 that is
representative of the OSPF cost of reaching the selected OSPF interface. The default metric is
1
.
state [enable | disable]
– Used to enable or disable this function.
passive [enable | disable] –
The user may select Active or Passive for this OSPF interface. Active
interfaces actively advertise OSPF to routers on other Intranets that are not part of this specific
OSPF group. Passive interface will not advertise to any other routers than those within its OSPF
intranet. When this field is disabled, it denotes an active interface. The default setting is
disable
.
(active)
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To configure OSPF interface settings:
DGS-3627:admin# config ospf ipif System priority 2 hello_interval 15 metric 2 state
enable
Command: config ospf ipif System priority 2 hello_interval 15 metric 2 state enable
Success.
DGS-3627:admin#
show ospf ipif
Purpose
Used to display the current OSPF interface settings for the specified interface name.
Syntax
show ospf ipif {[ipif <ipif_name 12> | all]}
Page 517 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
513
show ospf ipif
Description
This command will display the current OSPF interface settings for the specified interface
name.
Parameters
<ipif_name 12>
The IP interface name for which to display the current OSPF interface
settings.
all
– Choosing this parameter will display the OSPF settings for all IP interfaces on the
Switch.
Restrictions
None.
Example usage:
To display the current OSPF interface settings, for a specific OSPF interface:
DGS-3627:admin# show ospf ipif System
Command: show ospf ipif System
Interface Name: System
IP Address: 172.18.70.105/21 (Link Up)
Network Medium Type: BROADCAST
Metric: 1
Area ID: 0.0.0.0
Administrative State: Disabled
Priority: 1
DR State: DOWN
DR Address: None
Backup DR Address: None
Hello Interval: 10
Dead Interval: 40
Transmit Delay: 1
Retransmit Time: 5
Authentication: None
Passive Mode: Disabled
Total Entries: 1
DGS-3627:admin#
show ospf all
Purpose
Used to display the current OSPF settings of all the OSPF interfaces on the Switch.
Syntax
show ospf all
Description
This command will display the current OSPF settings for all OSPF interfaces on the Switch.
Parameters
None.
Restrictions
None.
Example usage:
To display the current OSPF interface settings, for all OSPF interfaces on the Switch:
Page 518 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
514
DGS-3627:admin# show ospf all
Command: show ospf all
Interface Name: System
IP Address: 10.90.90.90/8 (Link Up)
Network Medium Type: BROADCAST
Metric: 1
Area ID: 0.0.0.0
Administrative State: Disabled
Priority: 1
DR State: DOWN
DR Address: None
Backup DR Address: None
Hello Interval: 10
Dead Interval: 40
Transmit Delay: 1
Retransmit Time: 5
Authentication: None
Total Entries : 1
DGS-3627:admin#
create ospf virtual_link
Purpose
Used to create an OSPF virtual interface.
Syntax
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>]}
Description
This command is used to create an OSPF virtual interface.
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.
<neighbor_id>
The OSPF router ID for the remote area. This is a 32-bit number in the form of
an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the remote area’s Area Border Router.
The router ID of the neighbor router.
hello_interval <sec 1-65535>
Allows the specification of the interval between the transmission
of OSPF Hello packets, in seconds. Between
1
and
65535
seconds can be specified. The Hello
Interval, Dead Interval, Authorization Type, and Authorization Key should be the same for all
routers on the same network.
dead_interval <sec 1-65535>
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.
authentication
– Enter the type of authentication preferred. The user may choose between:
none
– Choosing this parameter will require no authentication.
simple <password 8>
Choosing this parameter will set a simple authentication which
includes a case-sensitive password of no more than 8 characters.
md5 <key_id 1-255>
Choosing this parameter will set authentication based on md5
encryption. A previously configured MD5 key ID (
1
to
255
) is required.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To create an OSPF virtual interface:
DGS-3627:admin# create ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10
Command: create ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10
Success.
DGS-3627:admin#
Page 519 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
515
config ospf virtual_link
Purpose
Used to configure the OSPF virtual interface settings.
Syntax
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)
Description
This command is used to configure the OSPF virtual interface settings.
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.
<neighbor_id>
The OSPF router ID for the remote area. This is a 32-bit number in the form of
an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the remote area’s Area Border Router.
hello_interval <sec 1-65535>
Allows the specification of the interval between the transmission
of OSPF Hello packets, in seconds. Between 1 and 65535 seconds can be specified. The Hello
Interval, Dead Interval, Authorization Type, and Authorization Key should be the same for all
routers on the same network.
dead_interval <sec 1-65535>
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.
authentication
– Enter the type of authentication preferred. The user may choose between:
none
– Choosing this parameter will require no authentication.
simple <password 8>
Choosing this parameter will set a simple authentication which
includes a case-sensitive password of no more than 8 characters.
md5 <key_id 1-255>
Choosing this parameter will set authentication based on md5
encryption. A previously configured MD5 key ID (1 to 255) is required.
Restrictions
Only Administrator and Operator-level users can issue this command.
Usage example
To configure the OSPF virtual interface settings:
DGS-3627:admin# config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10
Command: config ospf virtual_link 10.1.1.2 20.1.1.1 hello_interval 10
Success.
DGS-3627:admin#
delete ospf virtual_link
Purpose
Used to delete an OSPF virtual interface.
Syntax
delete ospf virtual_link <area_id> <neighbor_id>
Description
This command will delete an OSPF virtual interface from the Switch.
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.
<neighbor_id>
The OSPF router ID for the remote area. This is a 32-bit number in the form of an
IP address (xxx.xxx.xxx.xxx) that uniquely identifies the remote area’s Area Border Router. The
router ID of the neighbor router.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete an OSPF virtual interface from the Switch:
Page 520 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
516
DGS-3627:admin# delete ospf virtual_link 10.1.1.2 20.1.1.1
Command: delete ospf virtual_link 10.1.1.2 20.1.1.1
Success.
DGS-3627:admin#
show ospf virtual_link
Purpose
Used to display the current OSPF virtual interface configuration.
Syntax
show ospf virtual_link {<area_id> <neighbor_id>}
Description
This command will display the current OSPF virtual interface 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.
<neighbor_id>
The OSPF router ID for the remote area. This is a 32-bit number in the form of
an IP address (xxx.xxx.xxx.xxx) that uniquely identifies the remote area’s Area Border Router.
This is the router ID of the neighbor router.
Restrictions
None.
Example usage:
To display the current OSPF virtual interface configuration:
DGS-3627:admin# show ospf virtual_link
Command: show ospf virtual_link
Virtual Interface Configuration
Transit
Virtual
Hello
Dead
Authentication Link
Area ID
Neighbor Router Interval Interval
Status
--------------- --------------- -------- -------- -------------- ------
10.0.0.0
20.0.0.0
10
60
None
DOWN
Total Entries: 1
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top