isis ipv6 cost

Use isis ipv6 cost to set the IPv6 IS-IS cost for an interface.

Use undo isis ipv6 cost to remove the configuration.

Syntax

isis ipv6 cost cost-value [ level-1 | level-2 ]

undo isis ipv6 cost [ level-1 | level-2 ]

Default

No IPv6 IS-IS cost is configured for an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

cost-value: Specifies an IPv6 IS-IS cost in the range of 1 to 16777215.

level-1: Applies the cost to Level-1 routes.

level-2: Applies the cost to Level-2 routes.

Usage guidelines

This command applies to interfaces that are enabled with IPv6 IS-IS.

This command takes effect only when the standard MTR mode is enabled.

Examples

# Set the IPv6 IS-IS cost to 10 for VLAN-interface 11.

<Sysname> system-view
[Sysname] isis 100
[Sysname-isis-100] address-family ipv6 unicast
[Sysname-isis-100-ipv6] quit
[Sysname-isis-100] quit
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] isis ipv6 enable 100
[Sysname-Vlan-interface11] isis ipv6 cost 10