< Home

isis tag-value

Function

The isis tag-value command sets the administrative tag value of an IS-IS interface.

The undo isis tag-value command deletes the administrative tag value on an IS-IS interface.

By default, an IS-IS interface has no administrative tag value.

Format

isis tag-value tag [ level-1 | level-2 ]

undo isis tag-value [ tag ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
tag Specifies the administrative tag of an IS-IS interface. The value is an integer that ranges from 1 to 4294967295.
level-1 Indicates the administrative tag value of a Level-1 interface. If the interface level is not specified, the administrative tag value is set for Level-1 and Level-2 interfaces. -
level-2 Indicates the administrative tag value of a Level-2 interface. If the interface level is not specified, the administrative tag value is set for Level-1 and Level-2 interfaces. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An administrative tag carries administrative information about IP address prefixes. The tag can be used to import routes of different levels and different areas. Administrative tags can advertise IP address prefixes in an IS-IS routing domain to control routes and simplify management.

Using the isis tag-value command, you can set the administrative tag value for all routes of a specified IS-IS process. The tag can be used as a filtering condition of a route-policy to filter routes.

Prerequisites

IS-IS has been enabled on the interface using the isis enable command.

Precautions

The advertised LSPs contain the administrative tag value only when the IS-IS cost style is wide, wide-compatible, or compatible.

The administrative tag value set using the isis tag-value command has a higher priority than the administrative tag value set using the circuit default-tag command.

Example

# Set the administrative tag value of VLANIF100 to 77.

<HUAWEI> system-view
[HUAWEI] isis
[HUAWEI-isis-1] network-entity 01.0000.0000.0001.00
[HUAWEI-isis-1] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] isis enable 1
[HUAWEI-Vlanif100] isis tag-value 77

# Set the administrative tag value of GE0/0/1 to 77.

<HUAWEI> system-view
[HUAWEI] isis
[HUAWEI-isis-1] network-entity 01.0000.0000.0001.00
[HUAWEI-isis-1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] isis enable 1
[HUAWEI-GigabitEthernet0/0/1] isis tag-value 77
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >