The isis topology tag-value command configures an administrative tag value for an interface.
The undo isis topology tag-value command deletes the configured administrative tag value.
By default, no administrative tag value is configured on an interface.
Parameter | Description | Value |
---|---|---|
tag |
Specifies an administrative tag value for the interface. |
The value is an integer ranging 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. |
- |
topology topology-name |
Specifies the name of a topology instance. |
The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive) and can contain numbers, hyphens (-), or underlines (_). When double quotation marks are used around the string, spaces are allowed in the string. |
100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, VE sub-interface view, VE interface view
Usage Scenario
An administrative tag carries administrative information about IP address prefixes. Administrative tags can advertise IP address prefixes in the IS-IS area to control routes, simplifying management.
The isis topology tag-value command is used to configure an administrative tag value for an interface, and the tag can be used to filter out unwanted routes.Prerequisites
An IS-IS process has been created using the isis command.
Precautions
Only when the IS-IS cost type is wide, wide-compatible, or compatible, an advertised LSP carries the administrative tag value. The cost type can be configured using the cost-style command.
<HUAWEI> system-view [~HUAWEI] ip topology red [*HUAWEI] isis 1 [*HUAWEI-isis-1] cost-style wide [*HUAWEI-isis-1] topology red topology-id 10 [*HUAWEI-isis-1-topology-red] quit [*HUAWEI-isis-1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] isis enable 1 [*HUAWEI-GigabitEthernet0/1/0] ip topology red enable [*HUAWEI-GigabitEthernet0/1/0] isis topology red [*HUAWEI-GigabitEthernet0/1/0] isis topology red tag-value 77