D-Link DES-3326S Layer 3 Switch CLI Reference
config ospf all
Used to configure all of the OSPF interfaces on the Switch at one time.
config ospf all {area <area_id>|priority <value>|hello_interval
<sec>|dead_interval <sec>|authentication [none|simple <password>|md5
<key_id>]|metric <value>|state [enable|disable]}
This command is used to configure all of the OSPF interfaces on the Switch,
using a single group of parameters, at one time.
priority <value> − The priority used in the election of the Designated Router
(DR). A number between 0 and 255.
metric <value> − The interface metric (1 to 65535). Entering a 0 will allow
automatic calculation of the metric.
hello_interval <sec> − 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.
Parameters
<password> − A case-sensitive password.
<key_id> − A previously configured MD5 key ID (1 to 255).
metric <value> − 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.
Restrictions Only administrator-level users can issue this command.
Purpose
Syntax
Description
Parameters
dead_interval <sec> − 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.
Usage Example
To configure all of the OSPF interfaces on the Switch with a single group of parameters:
DES-3326S:4#config ospf all state enable
Success.
Command: config ospf all state enable
DES-3326S:4#
298