Default-Route-Advertise (Ospfv3 View) - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

default-route-advertise (OSPFv3 view)

Use default-route-advertise to redistribute a default route into the OSPFv3 routing domain.
Use undo default-route-advertise to restore the default.
Syntax
default-route-advertise [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name
| tag tag | type type ] *
undo default-route-advertise
Default
No default route is redistributed into the OSPFv3 routing domain.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
always: Generates a default route in an AS-external-LSA into the OSPFv3 routing domain regardless of
whether a default route exists in the routing table. If you do not specify this keyword, the router generates
a default route in an AS-external-LSA into the OSPFv3 routing domain only when the default route exists
in the IP routing table.
permit-calculate-other: Enables OSPFv3 to calculate default routes received from other routers. If you do
not specify this keyword, OSPFv3 does not calculate default routes from other routers. If the router does
not generate any default route in an AS-external-LSA into the OSPFv3 routing domain, the router
calculates default routes from other routers. It calculates these routes regardless of whether this keyword
is specified.
cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. The default is 1.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters. When a default route exists in the routing table and the specified routing policy is matched,
the command generates a default route in an AS-external-LSA into the OSPFv3 routing domain. The
routing policy modifies values in the AS-external-LSA. If the always keyword is specified at the same time,
the command can generate a default route in an AS-external-LSA into the OSPFv3 routing domain when
the specified routing policy is matched. The command generates the route regardless of whether a
default route exists in the routing table, and the routing policy modifies values in the AS-external-LSA.
tag tag: Specifies a tag for the default route, in the range of 0 to 4294967295. If you do not specify this
option, the tag specified by the default tag command applies.
type type: Specifies a type for the AS-external-LSA, 1 or 2. The default is 2.
Usage guidelines
This command redistributes a default route in an AS-external-LSA, which cannot be redistributed with the
import-route command. If the local routing table has no default route, you must provide the always
keyword for the command.
Examples
# Generate a default route into the OSPFv3 routing domain. (The default route does not exist in the local
router.)
444

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents