Command Reference
OSPFv3 Commands
unconditionally, no matter whether the default route exists locally or
not.
metric
metric
(Optional) Initial metric value of the default route, in the range from 0
to 16777214
metric-type
type
(Optional) Type of the default route. There are two type of OSPF
external routes: type 1, different metrics seen on different routers;
type 2, the same metric seen on different routers.
route-map
map-name
Associated route-map name, no associated route-map by default
Defaults
No default route is created;
The initial metric value is 1;
The default route type is type 2.
Command
Mode
Routing process configuration mode
Usage Guide
When the
redistribute
or default-information command is executed, the OSPFv3-enabled router
automatically turns into the autonomous system border router ( ASBR ). But the ASBR cannot
generate the default route automatically or advertise it to all the routers in the OSPFv3 routing
domain. The ASBR generates default routes by default. It is required to configure with the routing
process configuration command
default-information originate
.
If the always parameter is used, the OSPF routing process advertises an external default route to the
neighbors, no matter whether the default route in the core routing table exists or not. However, the
local router does not display the default route. To make sure whether the default route is generated,
execute
show ipv6 ospf database
to observe the OSPF link state database. The execution of the
show ipv6 route
command on the OSPF neighbor will display the default route.
The metric of the external default route can be defined only with the
default-information originate
command and cannot be set with the
default-metric
command.
There are two types of OSPFv3 external routes: type 1 external routes have changeable routing
metrics, while type 2 external routes have constant routing metrics. For two parallel routes with the
same route metric to the same destination network, type 1 takes precedence over type 2. As a result,
the
show ipv6 route
command displays only the type 1 route.
This command generates a default route of Type-5 LSA, which will not be flooded to the NSSA area.
To generate a default route in the NSSA area, use the
area nssa default-information-originate
command.
The routers in the stub area cannot generate external default routes.
Configuration
Examples
The following example generates a default route.
default-information originate always
Related
Commands
Command
Description
redistribute
Redistribute routes.
show ipv6 ospf
Displays the OSPFv3 routing process
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...