default tag

Use default tag to set a tag for redistributed routes.

Use undo default tag to restore the default.

Syntax

default tag tag

undo default tag

Default

The tag of redistributed routes is 1.

Views

OSPFv3 view

Predefined user roles

network-admin

Parameters

tag: Specifies a tag for redistributed routes, in the range of 0 to 4294967295.

Usage guidelines

If you do not set a tag for redistributed routes by using the default-route-advertise or import-route command, the tag specified by the default tag command applies.

Examples

# Set the tag for redistributed routes to 2.

<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] default tag 2

Related commands

default-route-advertise (OSPFv3 view)

import-route