default-route-advertise

Use default-route-advertise to advertise a default route of 0.0.0.0/0.

Use undo default-route-advertise to restore the default.

Syntax

default-route-advertise [ avoid-learning | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] *

undo default-route-advertise

Default

Default route advertisement is disabled.

Views

IS-IS IPv4 unicast address family view

Predefined user roles

network-admin

Parameters

avoid-learning: Avoids learning the default route received in LSPs or generated by using the ATT bit to avoid routing loops.

level-1: Advertises a Level-1 default route.

level-1-2: Advertises both Level-1 and Level-2 default routes.

level-2: Advertises a Level-2 default route.

route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

tag tag: Specifies the tag value for the default route, in the range of 1 to 4294967295.

Usage guidelines

If no level is specified, a Level-2 default route is advertised.

The Level-1 default route is advertised to other routers in the same area, and the Level-2 default route is advertised to all the Level-2 and Level-1-2 routers.

You can use a routing policy to specify a level for the default route. The apply isis level-1 command in routing policy view can generate a Level-1 default route. The apply isis level-2 command in routing policy view can generate a Level-2 default route. The apply isis level-1-2 command in routing policy view can generate both a Level-1 default route and Level-2 default route.

The tag value specified in the routing policy takes precedence over the tag value specified in this command.

Examples

# Configure IS-IS process 1 to advertise a Level-2 default route.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] address-family ipv4
[Sysname-isis-1-ipv4] default-route-advertise