< Home

isis tag-value

Function

The isis tag-value command configures the administrative tag value of the interface.

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

By default, the administrative tag value is not set on an interface.

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 value of the specified interface. It is an integer and ranges from 1 to 4294967295.
level-1 Indicates the administrative tag value of the Level-1 interface. -
level-2 Indicates the administrative tag value of the Level-2 interface.

If neither Level 1 nor Level-2 is specified, an administrative tag value is configured for both Level-1 and Level-2 interfaces.

-

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Loopback interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The administrative tag carries the administrative information about an IP address prefix. It is used to control the routes of different levels and routes imported from multiple areas. Administrative tags can advertise IP address prefixes in the IS-IS domain to control routes, simplifying management.

After the isis tag-value command is run, routes of a specified IS-IS interface carry an administrative tag value. The administrative tag value can be used by a routing policy to filter routes as needed.

Prerequisites

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

Precautions

If the IS-IS cost style is wide, wide-compatible, or compatible, the administrative tag for an interface is advertised using an LSP. The cost type can be configured using the cost-style command.

The administrative tag configured using the isis tag-value command takes precedence over that configured using the circuit default-tag command.

Example

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

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] isis tag-value 77
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >