D-Link DGS-6608 — настройка команды default-information originate для OSPF [176/1106]

Превью страниц Страница 176 / 1106
D-Link DGS-6604 [176/1106] Example
DGS-6600 Series Switch mm default-information originate (OSPF)
CLI Reference Guide
166
default-information originate (OSPF)
Use default-information originate to configure a routing process to generate a
default external route (type 5 LSA) network 0.0.0.0). Use no command to disable
the originate type 5 LSA default route.
default-information originate [always] [metric METRIC-VALUE] [metric-type TYPE-VALUE]
no default-information originate
Default None.
Command Mode Router configuration.
Usage Guideline The default-information originate command is used to configure a routing
process, in order to advertise a default route (prefix ::/0). When always is not
specified, the default route will only be advertised when the redistribution
statement is configured and the default route exists in the redistributed routes.
Example This example shows how to advertise the default route regardless whether a
default route exists in the configuration or not.
You can verify your settings by entering the show ip protocols ospf privileged
EXEC command
Syntax Description
always (Optional) Always advertise the default route regardless whether a default route
exists in the configuration or not.
metric
METRIC-VALUE
(Optional) If metric is not specified, the default metric is 1. The range off values
allowable for the OSPFv3 metric is from 0-16777214.
metric-type
TYPE-VALUE
(Optional) IPv6 OSPF specifies the external link type associated with the default
route advertised into the IPv6 OSPF routing domain. It can be one of two values:
1: Type 1 external route
2: Type 2 external route
If a metric-type is not specified, the Switch adopts a Type 2 external route. This
is only for IPv6 OSPF.
Switch(config)#router ospf 1
Switch(config-router)# default-information originate always

Содержание

4839

Узнайте, как использовать команду default-information originate для настройки маршрутизации и объявления маршрута по умолчанию в OSPF. Подробное руководство и примеры.