The isis ipv6 tag-value command configures the IPv6 administrative tag value on an IS-IS interface.
The undo ipv6 isis tag-value command deletes the IPv6 administrative tag value on an IS-IS interface.
By default, an IS-IS interface has no IPv6 administrative tag value.
isis ipv6 tag-value tag [ level-1 | level-2 ]
undo isis ipv6 tag-value [ tag ] [ level-1 | level-2 ]
Parameter | Description | Value |
---|---|---|
tag | Specifies the administrative tag value. | 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. | - |
Using the isis ipv6 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.
PrecautionsYou must enable the IPv6 capability for an IS-IS process before running this command.
If the IS-IS cost style is wide, wide-compatible, or compatible, the administrative tag for an interface is advertised using an LSP.
# Set the IPv6 administrative tag value of VLANIF100 to 77.
<HUAWEI> system-view
[HUAWEI] ipv6
[HUAWEI] isis
[HUAWEI-isis-1] ipv6 enable
[HUAWEI-isis-1] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] isis ipv6 enable
[HUAWEI-Vlanif100] isis ipv6 tag-value 77
# Set the IPv6 administrative tag value of GE0/0/1 tp 77.
<HUAWEI> system-view [HUAWEI] ipv6 [HUAWEI] isis 1 [HUAWEI-isis-1] ipv6 enable [HUAWEI-isis-1] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] ipv6 enable [HUAWEI-GigabitEthernet0/0/1] isis ipv6 enable [HUAWEI-GigabitEthernet0/0/1] isis ipv6 tag-value 77