No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
CloudEngine 12800 and 12800E V200R005C10 Configuration Guide - IP Unicast Routing
This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Cost of an IS-IS Interface on IPv6 network
Configuring the Cost of an IS-IS Interface on IPv6 network
Context
The costs of IS-IS interfaces can be determined in the
following modes in descending order by priority:
Interface cost: is configured for a specified interface.
Global cost: is configured for all interfaces.
Automatically calculated cost: is automatically calculated
based on the interface bandwidth.
If no cost is configured for an IS-IS interface, the IS-IS
interface uses the default cost 10 and cost style narrow.
If you want to change the cost style of IS-IS devices,
running the command while configuring basic IS-IS functions is recommended.
If the cost style of IS-IS devices is changed during network operation,
the IS-IS process is restarted and the neighbor relationship is re-established.
By default, the cost style of routes received and sent by
an IS-IS device is narrow.
Run commit
The configuration is committed.
The cost range of an interface and a route received by the
interface vary with the cost type.
If the cost style is narrow, the cost of an interface ranges
from 1 to 63. The maximum cost of a route received by the interface
is 1023.
If the cost style is narrow-compatible or compatible, the cost
of an interface ranges from 1 to 63. The cost of a received route
is related to relax-spf-limit.
If the cost style is wide-compatible or wide, the cost of the
interface ranges from 1 to 16777215. When the cost is 16777215, the
neighbor TLV generated on the link cannot be used for route calculation
but for the transmission of TE information. The maximum cost of a
received route is 0xFFFFFFFF.
Configure the cost of an IS-IS interface on IPv6 network.
Perform any of the following operations to configure the
cost of an IS-IS interface on IPv6 network.
Configure the cost
of a specified IS-IS interface on IPv6 network.
Run system-view
The system view is displayed.
Run interfaceinterface-typeinterface-number
The interface view is displayed.
On an Ethernet interface, run undo portswitch
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode.
The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.
If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batchinterface-type { interface-number1 [ tointerface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.
Run isis ipv6 costcost [ level-1 | level-2 ]
The cost of the IS-IS interface
on IPv6 network is configured.
By default, the cost of an IS-IS interface on IPv6 network
is 10.
Run commit
The configuration is committed.
Configure the global IS-IS interface cost on IPv6 network.
Run system-view
The system view is displayed.
Run isis [ process-id ]
The IS-IS view is displayed.
Run ipv6 circuit-costcost [ level-1 | level-2 ]
The global IS-IS interface cost
on IPv6 network is configured.
By default, the configured cost
is applicable to all Level-1 and Level-2 IPv6 interfaces. The default
cost is 10.
Run commit
The configuration is committed.
Enable IS-IS interface to automatically calculate the interface
cost on IPv6 network.
Run system-view
The system view is displayed.
Run isis [ process-id ]
The IS-IS view is displayed.
Run ipv6 bandwidth-referencevalue
The reference value of
the bandwidth is configured. By default, the bandwidth reference value
is 100 Mbit/s.
Run ipv6 auto-cost enable
The interface is configured to automatically calculate
its cost on IPv6 network.
Run commit
The configuration is committed.
The bandwidth reference value set using the ipv6 bandwidth-reference command takes effect only when the cost style is wide or
wide-compatible. In this case, the interface cost is calculated using
the following formula:
Cost of each interface = (Bandwidth-reference/Interface
bandwidth) × 10
If the cost-style is narrow, narrow-compatible,
or compatible, the cost of each interface is based on costs listed
in Table 8-4.
Table 8-4 Mapping between IS-IS interface costs and interface bandwidth