default-route-advertise
Use default-route-advertise to configure IPv6 IS-IS to advertise a Level-1 or Level-2 default route.
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
IPv6 IS-IS does not advertise Level-1 and Level-2 default routes.
Views
IS-IS IPv6 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 prevent routing loops.
level-1: Advertises a Level-1 default route.
level-1-2: Advertises a Level-1-2 default route.
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 a tag value for the default route, in the range of 1 to 4294967295.
Usage guidelines
If no level is specified, this command advertises a Level-2 default route.
A Level-1 default route is advertised to the routers of the local area. A Level-2 route is advertised to all Level-2 and Level-1-2 routers.
You can use a routing policy to specify a level for the default route. The default route can be generated only when a route entry in the routing table matches the routing policy. Use the following commands in routing policy node view to specify different default route levels:
Use the apply isis level-1 command to specify Level-1.
Use the apply isis level-2 command to specify Level-2.
Use the apply isis level-1-2 command to specify both Level-1 and Level-2.
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 IPv6 default route.
<Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] address-family ipv6 [Sysname-isis-1-ipv6] default-route-advertise
Related commands
apply isis