The isis tag-value command configures an administrative tag value for an interface.
The undo isis 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. |
- |
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, GMPLS-UNI interface view, Global VE sub-interface view, Loopback interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VE interface view, VLANIF 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 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
<HUAWEI> system-view [~HUAWEI] isis 1 [*HUAWEI-isis-1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] isis enable 1 [*HUAWEI-GigabitEthernet0/1/0] isis tag-value 77