DGS-6604 mm default-information originate (IPv6 OSPF)
CLI Reference Guide
147
default-information originate (IPv6 OSPF)
Use default-information originate to configure an IPv6 OSPF to generate a
default external route (type 0x4005 LSA). Use the no form of the command to
disable the originate type 0x4005 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.
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 > enable
Switch # configure terminal
Switch (config) # router ipv6 ospf
Switch(config-router)# default-information originate always