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]}