xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
724
70-25 config ospf default-information
Description
This command is used to change the status of originating the OSPF default external route.
Format
config ospf default-information {originate [always | default | none] | mettype [1 | 2] | metric
<value 1-65535>}(1)
Parameters
originate - (Optional) Specify the status of originating default information.
always - Specify that the external default route will be originated, whether a default route
exists or not.
default - Specify that the external default route will be originated only when one default route
already exists.
none - Specify that the external default route will never be originated. This is the default
mettype - (Optional) Specify the type of LSA that contains the default external route imported into
OSPF.
1 - Specify that this default external route will be calculated using the metric by adding the
interface cost to the metric entered in the metric field.
2 - Specify that this default external route will be calculated using the metric entered in the
metric field without change. This is the default option.
metric - (Optional) Specify the metric used by originating default external route.
<value 1-65535> - Enter the metric value used here. This value must be between 1 and
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To set the status of originating the OSPF default external route:
DGS-3120-24TC:admin#config ospf default-information originate always
Command: config ospf default-information originate always
Success.