No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

AR500, AR510, and AR530 V200R007

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
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).
IPv6 IS-IS Configuration Commands

IPv6 IS-IS Configuration Commands

NOTE:

Among the AR500 series routers, the AR502G-L-D-H, AR502GR-L-D-H do not support IPv6 IS-IS.

AR510 series do not support IPv6 IS-IS.

ipv6 auto-cost enable

Function

The ipv6 auto-cost enable command enables IS-IS to automatically calculate the interface cost on an IPv6 network according to the interface bandwidth.

The undo ipv6 auto-cost enable command disables IS-IS from automatically calculating the interface cost on an IPv6 network according to the interface bandwidth.

By default, the automatic interface cost calculation function is disabled on an IPv6 network.

Format

ipv6 auto-cost enable [ compatible ]

undo ipv6 auto-cost enable

Parameters

Parameter Description Value
compatible

Specifies the IS-IS to calculate the cost of an interface on an IPv6 network based on the bandwidth of the interface automatically in compatible.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the function is enabled, for a certain IS-IS interface, if the cost of the interface is not configured in the interface view, and the global cost is not configured in the IS-IS view, the system calculates the cost for the interface automatically.

If the cost style of the system is wide or wide-compatible:

When auto-cost enable command is configured, Interface cost = (Bandwidth-reference/Link-bandwidth) x 10.

When auto-cost enable compatible command is configured, Interface cost = (Bandwidth-reference/Link-bandwidth).

The cost style is set by the cost-style command. The Bandwidth-reference is set by the ipv6 bandwidth-reference command. The Link-bandwidth is the interface bandwidth.

If the cost-style of the system is narrow, narrow-compatible, or compatible, the cost of each interface is determined according to the following table.

Table 8-110  Relationship of the IS-IS interface cost and the bandwidth

Cost

Range of Interface Bandwidth

60

Interface bandwidth ≤ 10Mbit/s

50

10Mbit/s < Interface bandwidth ≤ 100Mbit/s

40

100Mbit/s < Interface bandwidth ≤ 155Mbit/s

30

155Mbit/s < Interface bandwidth ≤ 622Mbit/s

20

622Mbit/s < Interface bandwidth ≤ 2.5Gbit/s

10

2.5Gbit/s < Interface bandwidth

Precautions

The priority of the cost value of the global IPv6 configured by the ipv6 circuit-cost command is higher than the auto cost value.

This command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

The ipv6 auto-cost enable command cannot change the cost of the loopback interface.

Example

# Enable IS-IS to automatically calculate the interface cost on an IPv6 network according to the interface bandwidth.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 auto-cost enable

ipv6 bandwidth-reference

Function

The ipv6 bandwidth-reference command sets the bandwidth reference value used in automatic interface cost calculation on an IPv6 network.

The undo ipv6 bandwidth-reference command restores the default setting.

By default, the bandwidth reference value is 100 Mbit/s.

Format

ipv6 bandwidth-reference bandwidth-reference-value

undo ipv6 bandwidth-reference

Parameters

Parameter Description Value
bandwidth-reference-value Specifies the bandwidth reference value used in automatic interface cost calculation. The value is an integer that ranges from 1 to 2147483648, in Mbit/s.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To make the link cost of IS-IS routes reflect the actual link cost, configure a proper link cost for all interfaces or enable the automatic interface cost calculation function. To enable automatic interface cost calculation, set a proper bandwidth reference value.

You can run the ipv6 bandwidth-reference command to set a proper reference bandwidth value. After the automatic interface cost calculation function is enabled, the system automatically calculates the interface cost according to the bandwidth reference value set using the command.

Precautions

The ipv6 bandwidth-reference command takes effect only after IPv6 is enabled for the IS-IS process using the ipv6 enable command.

Example

# Set the IPv6 reference bandwidth value used in automatic interface cost calculation to 200 Mbit/s.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 bandwidth-reference 200

ipv6 circuit-cost

Function

The ipv6 circuit-cost command sets the cost value of all IPv6 interfaces in IS-IS SPF calculation, that is, the global IPv6 cost value.

The undo ipv6 circuit-cost command deletes the configured global IPv6 cost value.

By default, the global IPv6 cost value is not set.

Format

ipv6 circuit-cost { cost | maximum } [ level-1 | level-2 ]

undo ipv6 circuit-cost [ cost | maximum ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
cost Specifies the cost value of IPv6 interfaces in IS-IS SPF calculation. IF the IS-IS cost style is wide or wide-compatible, the cost value of imported routes ranges from 1 to 16777214. Otherwise, the value ranges from 1 to 63.
maximum Sets the link cost value of an interface to 16777215.
NOTE:

This parameter can be configured only when the IS-IS cost style is wide or wide-compatible. When the link cost value of an interface is set to 16777215, the neighbor TLV generated on the link cannot be used for route calculation and can only be used to transmit TE information.

-
level-1 Indicates the cost value of a Level-1 interface. If the interface level is not specified, the cost value is set for Level-1 and Level-2 interfaces. -
level-2 Indicates the cost value of a Level-2 interface. If the interface level is not specified, the cost value is set for Level-1 and Level-2 interfaces. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario
Generally, multiple valid routes to the same destination are available on large IPv6 networks. IS-IS calculates the optimal routes using SPF calculation and chooses the optimal routes for traffic forwarding. This process often causes the following two problems:
  • All the traffic is forwarded through the optimal route, which may cause unbalanced load.
  • If the optimal route on a network is disconnected intermittently, traffic is still forwarded through the optimal route, which causes traffic loss.
To solve the preceding problems, run the ipv6 circuit-cost command to change the cost value of all interfaces at a time and traffic can be forwarded through different physical links.
Precautions

The priority of the IPv6 cost value on the interface is higher than the priority of the global IPv6 cost value.

The ipv6 circuit-cost command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Example

# Set the global IPv6 cost value in SPF calculation to 20.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 circuit-cost 20
Related Topics

ipv6 circuit default-tag

Function

The ipv6 circuit default-tag command sets the administrative tag value of all interfaces in IS-IS processes on an IPv6 network.

The undo ipv6 circuit default-tag command restores the default tag value.

By default, the administrative tag value of all interfaces in IS-IS processes on an IPv6 network is 0.

Format

ipv6 circuit default-tag tag [ level-1 | level-2 ]

undo ipv6 circuit default-tag [ tag ] [ level-1 | level-2 ]

Parameters

Parameter Description Value
tag Specifies the administrative tag value of an interface in an IS-IS process on an IPv6 network. The value is an integer that ranges from 1 to 4294967295.
level-1 Indicates the administrative tag value of all Level-1 interfaces in IS-IS processes on an IPv6 network. 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 all Level-2 interfaces in IS-IS processes on an IPv6 network. If the interface level is not specified, the administrative tag value is set for Level-1 and Level-2 interfaces. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Using the ipv6 circuit default-tag command, you can set the administrative tag value for all routes of a specified IS-IS process and use the tag to filter routes.

The administrative tag value is advertised together with the routing information.

  • When the cost style of IS-IS is narrow or narrow-compatible, the administrative tag value is not advertised in the LSP and does not takes effect.

  • When the cost style of IS-IS is wide, wide-compatible, or compatible, the administrative tag value is advertised in the LSP.

Precautions

The ipv6 circuit default-tag command takes effect only after IPv6 is enabled for the IS-IS process using the ipv6 enable command.

Example

# Set the administrative tag value for a Level-1 IPv6 interface to 30.

<Huawei> system-view 
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 circuit default-tag 30 level-1
Related Topics

ipv6 default-route-advertise

Function

The ipv6 default-route-advertise command configures the industrial switch router to advertise default IPv6 routes.

The undo ipv6 default-route-advertise disables the industrial switch router from advertising default IPv6 routes.

By default, the industrial switch router does not advertise default IPv6 routes.

Format

ipv6 default-route-advertise [ always | match default | route-policy route-policy-name ] [ cost cost | tag tag | [ level-1 | level-2 | level-1-2 ] ] * [ avoid-learning ]

undo ipv6 default-route-advertise

Parameters

Parameter Description Value
always Indicates that the industrial switch router always advertises default IPv6 routes. -
match default Indicates that if the routing table contains a default IPv6 route generated by other routing protocols but not IS-IS, the default route is advertised through an LSP. -
route-policy route-policy-name Specifies the name of a route-policy. A Level-1-2 device advertises default routes to the IS-IS routing domain only when there are external routes matching the route-policy in the routing table of the device. This prevents routing blackhole when link faults make some important external routes unavailable but default routes are still advertised. This route-policy does not affect external route import in IS-IS. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
cost cost Specifies the cost value of an advertised default route. The value is an integer that ranges from 0 to 4261412864.
tag tag Specifies the tag value of an advertised default route. The value is an integer that ranges from 1 to 4294967295.
level-1 Sets the level of advertised default IPv6 routes to Level-1. If the level is not specified, Level-2 default routes are generated by default. -
level-2 Sets the level of advertised default IPv6 routes to Level-2. If the level is not specified, Level-2 default routes are generated by default. -
level-1-2 Sets the level of advertised default IPv6 routes to Level-1-2. If the level is not specified, Level-2 default routes are generated by default. -
avoid-learning Prevents an IS-IS process from learning default routes and adding them to the routing table. If there has been an active default IPv6 route in the routing table, the default IPv6 route becomes inactive after this parameter is specified. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario
Generally, if other routing protocols are configured on an IS-IS network, to forward traffic in the IS-IS routing domain outside the domain, use the following two methods:
  • Configure IS-IS on a Level-1-2 device to advertise default routes into the IS-IS routing domain.
  • Configure IS-IS on a Level-1-2 device to import routes of other routing domains into the IS-IS routing domain.
Advertising default routes is easy to configure and does not require an IS-IS process to learn external routes. You can run the ipv6 default-route-advertise command to configure IS-IS devices to advertise default routes into the IS-IS routing domain.
Precautions

Using the route-policy, you can force IS-IS to generate default routes only when there are matched routes in the routing table.

  • If the apply isis level-1 command is used in the route-policy view, IS-ISv6 can generate default routes in Level-1 LSPs. If the apply isis level-1 command is used in the route-policy view, IS-IS can generate default routes in Level-1 LSPs.

  • If the apply isis level-2 command is used in the route-policy view, IS-ISv6 can generate default routes in Level-2 LSPs.

  • If the apply isis level-1-2 command is used in the route-policy view, IS-ISv6 can generate default routes in Level-1 and Level-2 LSPs.

The ipv6 default-route-advertise command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Precautions

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, an ABR advertises the default IPv6 route to the IS-IS domain as long as the local routing table contains external routes.

Example

# Configure the current industrial switch router to generate default IPv6 routes in Level-1-2 LSPs.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 default-route-advertise level-1-2
Related Topics

ipv6 enable(IS-IS)

Function

The ipv6 enable command enables the IPv6 capability of an IS-IS process.

The undo ipv6 enable command disables the IPv6 capability of an IS-IS process.

By default, the IPv6 capability of an IS-IS process is disabled.

Format

ipv6 enable [ topology { compatible [ enable-mt-spf ] | ipv6 | standard } ]

undo ipv6 enable

Parameters

Parameter Description Value
topology Specifies the network topology type. -
compatible Sets the topology type to compatible. That is, the standard topology and the IPv6 topology are compatible. After IS-IS IPv6 adjacency relationship is established, IS-IS advertises IPv6 topology links and standard topology links. SPF, however, runs only in a standard topology. The compatible mode is helpful in a transition from the standard topology to the IPv6 topology. -
enable-mt-spf Indicates that SPF runs in the IPv6 topology in compatible mode. -
ipv6 Sets the topology type to IPv6. That is, the IPv6 capability of an IS-IS process can be enabled in an IPv6 topology. Links on the network can be configured as IPv4 or IPv6 links. SPF calculation is performed separately in IPv4 and IPv6 topologies. -
standard Sets the topology type to standard. That is, the IPv6 capability of an IS-IS process can be enabled in the integrated topology. Network administrators must ensure that all links on the network support the same topology mode. If the IPv6 capability of an IS-IS process is enabled, standard is used by default. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

To enable the IPv6 capability of an IS-IS process, perform the following operations:
  1. Run the ipv6 command in the system view to enable IPv6 globally.

  2. Run the isis command to enable an IS-IS process.

  3. Run the network-entity command to set a NET for IS-IS.

  4. Run the ipv6 enable command in the IS-IS view to enable the IPv6 capability of an IS-IS process.

  5. On each interface that needs to run an IS-IS process, run the ipv6 enable command to enable the IPv6 capability and configure an IPv6 address.

  6. Run the isis ipv6 enable command to enable IS-IS for IPv6 on each interface.

Example

# Enable the IPv6 capability in the IPv6 topology in IS-IS process 1.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] network-entity 10.0001.1010.1020.1030.00
[Huawei-isis-1] ipv6 enable topology ipv6

ipv6 filter-policy export

Function

The ipv6 filter-policy export command configures a filtering policy to allow IS-IS to filter the imported IPv6 routes to be advertised.

The undo ipv6 filter-policy export command cancels the filtering function.

By default, IS-IS does not filter imported IPv6 routes to be advertised.

Format

ipv6 filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } export [ protocol [ process-id ] | unr ]

undo ipv6 filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export [ protocol [ process-id ] | unr ]

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic ACL6. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value of acl6-name is a string of 1 to 32 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy to filter routes based on tag and other protocol parameters. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
protocol Specifies the imported routes that need to be filtered when the routes are advertised. Currently, the protocol can be direct, static, ripng, bgp, unr, ospfv3, or another isis process. If the protocol parameter is not specified, all imported routes are filtered. -
process-id Specifies the process ID if protocol is ripng, ospfv3, or another isis process. The value is an integer that ranges from 1 to 65535.
unr Indicates the imported UNR routes that need to be filtered when the routes are advertised. -

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The ipv6 filter-policy export command together with the ipv6 import-route command can be used to filter only the imported routes that are advertised to other industrial switch routers. If protocol is not specified, the routes that are imported from all other protocols are filtered. If protocol is specified, the routes that are imported from the specific protocol are filtered.

The ipv6 filter-policy export command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Example

# Configure IS-IS to filter the imported IPv6 routes before advertising the routes to other industrial switch routers.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 filter-policy route-policy test export

ipv6 filter-policy import

Function

The ipv6 filter-policy import command configures a filtering policy to allow IS-IS to filter the received routes to be added to the IPv6 routing table.

The undo ipv6 filter-policy import command cancels the filtering function.

By default, IS-IS does not filter the received routes to be added to the IPv6 routing table.

Format

ipv6 filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import

undo ipv6 filter-policy [ acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] import

Parameters

Parameter Description Value
acl6-number Specifies the number of a basic ACL6. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value of acl6-name is a string of 1 to 32 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy to filter routes based on tag and other protocol parameters. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IS-IS routing entries need to be added to an IPv6 routing table to guide IPv6 packet forwarding. If an IS-IS routing table has routes destined for a specified network segment, but these routes do not need to be sent to the IPv6 routing table, run the ipv6 filter-policy import command and specify an IPv6 prefix list or a route-policy to allow only the required IS-IS routes to be added to the IPv6 routing table.

Precautions

The ipv6 filter-policy import command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

For a IPv6 named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all IPv6 routes received by IS-IS are delivered to the IPv6 routing table.

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, all IPv6 routes received by IS-IS are delivered to the IPv6 routing table.

Example

# Filter received IPv6 routes using a route-policy.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 filter-policy route-policy test import

ipv6 import-route

Function

The ipv6 import-route command configures IS-IS to import IPv6 routes from other routing protocols.

The undo ipv6 import-route command disables IS-IS form importing IPv6 routes from other routing protocols.

By default, IS-IS does not import IPv6 routes from other routing protocols.

Format

ipv6 import-route { direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } inherit-cost [ tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

ipv6 import-route { static | direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } [ cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

ipv6 import-route limit limit-number [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }

undo ipv6 import-route { direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } inherit-cost [ tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

undo ipv6 import-route { static | direct | unr | { ospfv3 | ripng | isis } [ process-id ] | bgp [ permit-ibgp ] } [ cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *

undo ipv6 import-route limit [ limit-number ] [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }

Parameters

Parameter Description Value
direct Indicates that the imported routes are direct routes. -
static Indicates that the imported routes are activated static routes. -
unr Indicates that the routing protocol from which routes are imported is UNR.

The user network route (UNR) is used to allocate routes to user traffic when users cannot use dynamic routing protocols during logins.

-
ospfv3 Indicates that the routing protocol from which routes are imported is OSPFv3. -
ripng Indicates that the routing protocol from which routes are imported is RIPng. -
isis Indicates that the routing protocol from which routes are imported is IS-IS. -
process-id When the protocol is ospfv3, ripng, or isis, a process ID needs to be specified. The value is an integer that ranges from 1 to 65535.
bgp Indicates that the routing protocol from which routes are imported is BGP. -
permit-ibgp Indicates that the imported routes are IBGP routes. If this parameter is not set, only EBGP routes can be imported. -
inherit-cost Indicates that the original cost value of imported external routes is retained. -
cost cost Specifies the cost value of imported routes. The value is an integer that ranges from 0 to 4261412864.The default value is 0.
tag tag Specifies the administrative tag of imported routes. The value is an integer that ranges from 1 to 4294967295.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
level-1 Indicates that routes are imported into Level-1 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
level-2 Indicates that routes are imported into Level-2 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
level-1-2 Indicates that routes are imported into Level-1 and Level-2 routing tables. If no level is specified, routes are imported to Level-2 routing tables by default. -
limit limit-number Specifies the maximum number of external IPv6 routes allowed to be imported to the IS-IS area. The value is an integer ranging from 1 to 10000000.
threshold-alarm Specifies the alarm threshold for imported routes. -
upper-limit upper-limit-value Specifies the upper alarm threshold for imported routes. The value is an integer ranging from 1 to 100. The default value is 80.
lower-limit lower-limit-value Specifies the lower alarm threshold for imported routes. The value is an integer ranging from 1 to 100. The default value is 70.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If other routing protocols are configured on an IS-IS network, to forward traffic in the IS-IS routing domain outside the domain, use either of the following methods:
  • Configure IS-IS on a Level-1-2 device to advertise default routes into the IS-IS routing domain.

  • Configure IS-IS on a Level-1-2 device to import routes of other routing domains into the IS-IS routing domain.

If there are multiple Level-1-2 devices in the IS-IS routing domain, optimal routes destined for another routing domain need to be selected. This requires all devices in the IS-IS routing domain learn all or some external routes.

Configure IS-IS on a Level-1-2 device to import routes of other routing domains into the IS-IS routing domain. Alternatively, run the route-policy route-policy-name command to import some external routes from other routing domains.

Prerequisites

IS-IS has been enabled using the isis command and the IS-IS view has been displayed. IPv6 has been enabled for the IS-IS process using the ipv6 enable command.

Precautions

When routes of other routing protocols are imported, you can set the cost value and cost style of the imported routes. You can also configure IS-IS to retain the original cost value of the imported external routes. During route advertisement and route calculation, the original cost values of these routes are used. In this case, the cost style and cost value of the imported routes cannot be set, and static routes cannot be imported.

After the ipv6 import-route direct command is executed, routes to the network segment where the IPv6 address of the management interface belongs are also imported in the IS-IS routing table. Therefore, use this command with caution.

Example

# Configure IS-IS to import static IPv6 routes and set the cost value of the routes to 15.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 import-route static cost 15

# Configure IS-IS to import OSPFv3 routes and retain the original cost value of the routes.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 import-route ospfv3 1 inherit-cost

ipv6 import-route isis level-1 into level-2

Function

The ipv6 import-route isis level-1 into level-2 command configures IPv6 route leaking from Level-1 areas to Level-2 areas.

The undo ipv6 import-route isis level-1 into level-2 command prohibits IPv6 route leaking from Level-1 areas to Level-2 areas.

By default, all Level-1 routing information, excluding information about default routes, is leaked to Level-2 areas.

Format

ipv6 import-route isis level-1 into level-2 [ filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } | tag tag | direct allow-filter-policy ] *

undo ipv6 import-route isis level-1 into level-2 [ filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } | tag tag | direct allow-filter-policy ] *

Parameters

Parameter Description Value
filter-policy Specifies a filtering policy for IPv6 routes. -
acl6-number Specifies the number of a basic ACL6. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value of acl6-name is a string of 1 to 32 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. Only the routes that match the IPv6 prefix can be imported to Level-2 areas. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
tag tag Specifies the administrative tag of imported routes. The value is an integer that ranges from 1 to 4294967295.
direct allow-filter-policy

Specifies the filtering policy to filter the direct routes. Only the IS-IS Level-1 area direct routing information that matches the filtering policy can be shared with the Level-2 area with this parameter, and all Level-1 area direct routing information will be shared with the Level-2 area without this parameter.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The ipv6 import-route isis level-1 into level-2 command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

For a IPv6 named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Precautions

Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all IPv6 routes in the Level-1 area leak to the Level-2 area.

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, all IPv6 routes in the Level-1 area leak to the Level-2 area.

Example

# Control IPv6 route leaking from Level-1 areas to Level-2 areas on Level-1-2 routers using IPv6 prefix list list.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 import-route isis level-1 into level-2 filter-policy ipv6-prefix list

ipv6 import-route isis level-2 into level-1

Function

The ipv6 import-route isis level-2 into level-1 command configures IPv6 route leaking from Level-2 areas to Level-1 areas.

The undo ipv6 import-route isis level-2 into level-1 command prohibits IPv6 route leaking from Level-2 areas to Level-1 areas.

By default, Level-2 routing information is not leaked to Level-1 areas.

Format

ipv6 import-route isis level-2 into level-1 [ filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } | tag tag | direct { allow-filter-policy | allow-up-down-bit } * ] *

undo ipv6 import-route isis level-2 into level-1 [ filter-policy { acl6-number | acl6-name acl6-name | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } | tag tag | direct { allow-filter-policy | allow-up-down-bit } * ] *

Parameters

Parameter Description Value
filter-policy Specifies a filtering policy for IPv6 routes. -
acl6-number Specifies the number of a basic ACL6. The value is an integer that ranges from 2000 to 2999.
acl6-name acl6-name Specifies the name of an IPv6 named ACL. The value is a string of case-sensitive characters. The value of acl6-name is a string of 1 to 32 case-sensitive characters without spaces.
ipv6-prefix ipv6-prefix-name Specifies the name of an IPv6 prefix list. The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
tag tag Specifies the administrative tag of imported routes. The value is an integer that ranges from 1 to 4294967295.
direct allow-filter-policy

Specifies the filtering policy to filter the direct routes. Only the IS-IS Level-1 area direct routing information that matches the filtering policy can be shared with the Level-2 area with this parameter, and all Level-1 area direct routing information will be shared with the Level-2 area without this parameter.

-
direct allow-up-down-bit

Indicates that the Up or Down bit is used during the leak of directs routes.

If direct allow-up-down-bit is specified, the direct routes that have already leaked to the Level-1 area have the lowest priority and cannot leak back.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The ipv6 import-route isis level-2 into level-1 command must be configured on Level-1-2 routers at the area border.

The ipv6 import-route isis level-2 into level-1 command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

For a IPv6 named ACL, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the source address range that is specified by the source parameter and with the time period that is specified by the time-range parameter.

Precautions

Creating an ACL6 or IPv6 prefix list before it is referenced is recommended. If a nonexistent ACL6 or IPv6 prefix list is referenced using the command, all IPv6 routes in the Level-2 area leak to the Level-1 area.

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, all IPv6 routes in the Level-2 area leak to the Level-1 area.

Example

# Configure the industrial switch router to perform route leaking from a Level-2 area to a Level-1 area using filtering policy 2002.

<Huawei> system-view
[Huawei] ipv6 
[Huawei] isis 1 
[Huawei-isis-1] ipv6 enable 
[Huawei-isis-1] ipv6 import-route isis level-2 into level-1 filter-policy 2002

ipv6 maximum load-balancing

Function

The ipv6 maximum load-balancing command sets the maximum number of IS-IS IPv6 equal-cost routes for load balancing.

The undo ipv6 maximum load-balancing command restores the default number of equal-cost routes for load balancing.

By default, the maximum number of equal-cost routes supported by the device is 4.

Format

ipv6 maximum load-balancing number

undo ipv6 maximum load-balancing [ number ]

Parameters

Parameter Description Value
number Specifies the number of IPv6 equal-cost routes for load balancing. The value is an integer that ranges from 1 to 4.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The ipv6 maximum load-balancing command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Example

# Set the maximum number of IS-IS IPv6 equal-cost routes for load balancing to 2.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 100
[Huawei-isis-100] ipv6 enable
[Huawei-isis-100] ipv6 maximum load-balancing 2
Related Topics

ipv6 preference

Function

The ipv6 preference command configures the preference of IPv6 routes generated by the IS-IS protocol.

The undo ipv6 preference command restores the default reference of IPv6 routes generated by the IS-IS protocol.

By default, the preference of IPv6 routes generated by the IS-IS protocol is 15.

Format

ipv6 preference { route-policy route-policy-name | preference } *

undo ipv6 preference

Parameters

Parameter Description Value
route-policy route-policy-name Specifies the name of a route-policy. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
preference Specifies the preference of IPv6 routes generated by the IS-IS. A smaller value indicates a higher priority. The value is an integer that ranges from 1 to 255.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The routing policy can be used to set the preference for the filtered routes. If the preference is set, only the routes that pass the route-policy can apply the preference specified by this command; otherwise, routes apply the default value of the preference.

Multiple dynamic routing protocols can be run on a industrial switch router at the same time. To properly select routes, the system sets a default preference for each routing protocol. If different protocols find routes to the same destination, the route of the protocol with a higher priority is preferred.

The ipv6 preference command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Precautions

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, the configured priority applies to all IS-IS IPv6 routes.

Example

# Set the IS-IS protocol preference to 20.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 preference 20
Related Topics

ipv6 prefix-priority (IS-IS)

Function

The ipv6 prefix-priority command configures the convergence priority of IS-IS IPv6 routes.

The undo ipv6 prefix-priority command restores the default convergence priority of IS-IS IPv6 routes.

By default, the convergence priority of IS-IS IPv6 host routes and default routes is medium, and the convergence priority of other IS-IS IPv6 routes is low.

Format

ipv6 prefix-priority [ level-1 | level-2 ] { critical | high | medium } { ipv6-prefix prefix-name | tag tag-value }

undo ipv6 prefix-priority [ level-1 | level-2 ] { critical | high | medium }

Parameters

Parameter Description Value
level-1 Specifies the convergence priority of Level-1 IS-IS IPv6 routes. -
level-2 Specifies the convergence priority of Level-2 IS-IS IPv6 routes. -
critical Sets the convergence priority of IS-IS IPv6 routes to critical. -
high Sets the convergence priority of IS-IS IPv6 routes to high. -
medium Sets the convergence priority of IS-IS IPv6 routes to medium. -
ipv6-prefix prefix-name Specifies the prefix name of IPv6 addresses for filtering routes to set the convergence priority for IS-IS IPv6 routes that match the specified IPv6 address prefix. The value of prefix-name is a string of 1 to169 case-sensitive characters without spaces.
tag tag-value Specifies the tag value used for filtering routes to set the convergence priority for IS-IS IPv6 routes that carry the specified tag value. To specify the tag value to filter the IPv6 routes that need to be set with the convergence priority, ensure that IS-IS IPv6 routes carry the tag value. The value is an integer that ranges from 1 to 4294967295.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

This command takes effect only in IPv6 base topologies but not in VPNs.

The convergence priorities of IS-IS IPv6 routes are classified as critical, high, medium, and low in descending order.

After the ipv6 prefix-priority command is run to set the convergence priority for IS-IS IPv6 routes, the following situations occur:
  • The convergence priority of existing IS-IS IPv6 routes is re-set according to the configuration of the ipv6 prefix-priority command.

  • The convergence priority of new IS-IS IPv6 routes is set according to the filtering result of the ipv6 prefix-priority command.

  • If an IS-IS IPv6 route meets the matching rules specified in multiple commands that are used to configure convergence priorities, this IS-IS IPv6 route is of top convergence priority among the set convergence priorities.

  • no level is specified, the convergence priority is set for both Level-1 routes and Level-2 routes according to the configuration of the ipv6 prefix-priority command.

NOTE:

The ipv6 prefix-priority command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

After the ipv6 prefix-priority command is run to set the convergence priority for IS-IS IPv6 routes (including IS-IS IPv6 host routes and default routes), the convergence priority of all the IS-IS IPv6 routes that meet the matching rules is changed according to the configuration of the ipv6 prefix-priority command, and the convergence priority of the IS-IS IPv6 routes that do not meet the matching rules is changed to low.

Example

# In an IPv6 base topology, set the convergence priority of IS-IS Level-1 routes with tag value 3 to critical.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 prefix-priority level-1 critical tag 3

ipv6 spf-priority

Function

The ipv6 spf-priority command configures a priority for SPF calculation in an IPv6 base topology.

The undo ipv6 spf-priority command restores the default priority for SPF calculation in an IPv6 base topology.

By default, the priority of SPF calculation in an IPv6 base topology is 64.

Format

ipv6 spf-priority priority-value

undo ipv6 spf-priority

Parameters

Parameter Description Value
priority-value Specifies the priority for SPF calculation in an IPv6 base topology. A larger value indicates a higher priority. The value is an integer that ranges from 1 to 127.

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

A higher priority of SPF calculation in an IPv6 base topology means that the routes in the IPv6 base topology are converged preferentially, which ensures the proper operation of important services.

The ipv6 spf-priority command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Example

# Set the priority of SPF calculation in an IPv6 base topology to 30.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 spf-priority 30

ipv6 summary

Function

The ipv6 summary command configures IS-IS to generate IPv6 summarized routes.

The undo ipv6 summary command disables IS-IS from generating IPv6 summarized routes.

By default, IS-IS does not generate IPv6 summarized routes.

Format

ipv6 summary ipv6-address prefix-length [ avoid-feedback | generate_null0_route | tag tag | [ level-1 | level-1-2 | level-2 ] ] *

undo ipv6 summary ipv6-address prefix-length [ level-1 | level-1-2 | level-2 ]

Parameters

Parameter Description Value
ipv6-address Specifies the address range of IPv6 routes to be summarized. -
prefix-length Specifies the prefix length of an IPv6 route. The value is an integer that ranges from 0 to 128.
avoid-feedback Avoids learning summarized routes through SPF calculation. -
generate_null0_route Generates NULL0 routes to avoid routing loop. -
tag tag Specifies the administrative tag value. The value is an integer that ranges from 1 to 4294967295.
level-1 Indicates that only routes in Level-1 areas are summarized.

If the level is not specified, level-2 is used by default.

-
level-1-2 Indicates that routes in Level-1 and Level-2 areas are summarized.

If the level is not specified, level-2 is used by default.

-
level-2 Indicates that only routes in Level-2 areas are summarized.

If the level is not specified, level-2 is used by default.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

The routes with the same prefix can be aggregated into one route. This can reduce the scale of the routing table, the size of the LSPs generated by the local industrial switch router, and the scale of the LSDB. The aggregated routes can be the routes discovered by IS-IS or the imported IPv6 routes. After the aggregation, the smallest cost among those of the routes that are aggregated is used as the cost of the aggregated IPv6 route.

The ipv6 summary command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.

Example

# Set a summarized route fc00::/32.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] ipv6 summary fc00:: 32
Related Topics

isis ipv6 cost

Function

The isis ipv6 cost command sets the link cost value of an IS-IS interface in an IPv6 topology.

The undo isis ipv6 cost command restores the default link cost value of an IS-IS interface in an IPv6 topology.

By default, the link cost value of an IS-IS interface in an IPv6 topology is 10.

Format

isis ipv6 cost { cost | maximum } [ level-1 | level-2 ]

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

Parameters

Parameter Description Value
cost Specifies the IPv6 link cost value of an interface.
The value is an integer that varies according to the cost style.
  • When the cost style is narrow, narrow-compatible or compatible, the value ranges from 1 to 63.
  • When the cost style is wide or wide-compatible, the value ranges from 1 to 16777214.
The default value is 10.

To set the cost style, use the cost-style command.

maximum Sets the link cost value of an interface to 16777215.
NOTE:

This parameter can be configured only when the IS-IS cost style is wide or wide-compatible. When the link cost value of an interface is set to 16777215, the neighbor TLV generated on the link cannot be used for route calculation and can only be used to transmit TE information.

-
level-1 Specifies the link cost value of a Level-1 interface. If the interface level is not specified, link cost values of Level-1 and Level-2 interfaces are set. -
level-2 Specifies the link cost value of a Level-2 interface. If the interface level is not specified, link cost values of Level-1 and Level-2 interfaces are set. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a large-scale IPv6 networks, there may be multiple valid routes to the same destination. IS-IS uses the SPF algorithm to calculate an optimal route and transmits traffic over it, which brings the following problems:
  • All traffic is transmitted over the optimal route, causing load imbalance.

  • If the optimal route is faulty, traffic will get lost.

To solve the preceding problems, run the isis ipv6 cost command to set IPv6 link costs for interfaces so that traffic can be transmitted over different physical links.

Prerequisites

IS-IS has been enabled on a specified interface using the isis ipv6 enable [ process-id ] command in the interface view.

Configuration Impact

If the link cost of an interface is changed, routes will be re-calculated on the whole network, causing the changes in traffic forwarding paths.

The priority of the ipv6 circuit-cost command is lower than that of the isis ipv6 cost command.

If the IPv6 topology type is compatible or standard, the IPv6 and IPv4 link costs are the same on an interface even though the IPv6 link cost set using the isis ipv6 cost command is different from the IPv4 link cost. The IPv6 link cost set using the isis ipv6 cost command takes effect only when the IPv6 topology type is compatible enable-mt-spf or ipv6.

NOTE:

The IPv6 topology type can be set for an IS-IS process using the ipv6 enable (IS-IS) command.

Example

# Set the IPv6 link cost of GE1/0/0 to 50.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] ipv6 enable
[Huawei-GigabitEthernet1/0/0] isis ipv6 enable
[Huawei-GigabitEthernet1/0/0] isis ipv6 cost 50

isis ipv6 enable

Function

The isis ipv6 enable command enables the IS-IS IPv6 capability for an interface and specifies the ID of the IS-IS process to be associated with the interface.

The undo isis ipv6 enable command disables the IS-IS IPv6 capability of an interface and disassociates an IS-IS process from the interface.

By default, the IS-IS IPv6 capability is disabled on an interface.

Format

isis ipv6 enable [ process-id ]

undo isis ipv6 enable

Parameters

Parameter Description Value
process-id Specifies an IS-IS process ID. The value is an integer that ranges from 1 to 65535. The default value is 1.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After completing the configuration of an IS-IS process in the system view, enable IS-IS IPv6 on the interface that runs IS-IS and associate the interface with the IS-IS process using the isis ipv6 enable command.

Prerequisites

The following steps have been performed:
  1. Enable IPv6 globally using the ipv6 command in the system view.

  2. Enable an IS-IS process using the isis command and configure a network entity title (NET) for the device running IS-IS using the network-entity command.

  3. Enable IPv6 for the IS-IS process using the ipv6 enable (IS-IS) command in the IS-IS view.

  4. Enable IPv6 and configure an IPv6 address using the ipv6 enable command on each interface that runs the IS-IS process.

Precautions

An interface can be associated with only one IS-IS process.

NOTE:

To perform IPv6-related IS-IS configurations, you must enable IPv6 first.

Example

# Create IS-IS process 1, enable the IPv6 capability, and activate the IPv6 capability on GE1/0/0.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis 1
[Huawei-isis-1] network-entity 10.0001.1010.1020.1030.00
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] ipv6 enable
[Huawei-GigabitEthernet1/0/0] ipv6 address 2002::1/64
[Huawei-GigabitEthernet1/0/0] isis ipv6 enable 1

isis ipv6 suppress-reachability

Function

The isis ipv6 suppress-reachability command suppresses the advertisement of direct routes on an IPv6 interface in a specified topology.

The undo isis ipv6 suppress-reachability command restores the default configuration of an IPv6 interface.

By default, the advertisement of IPv6 addresses on an interface is not suppressed.

Format

isis ipv6 suppress-reachability [ level-1 | level-1-2 | level-2 ]

undo isis ipv6 suppress-reachability

Parameters

Parameter Description Value
level-1 Suppresses the advertisement of IPv6 addresses is suppressed on Level-1 interfaces. If the level is not specified, Level-1-2 is used by default. -
level-1-2 Indicates that the advertisement of IPv6 addresses is suppressed on Level-1 and Level-2 interfaces. If the level is not specified, Level-1-2 is used by default. -
level-2 Indicates that the advertisement of IPv6 addresses is suppressed on Level-2 interfaces. If the level is not specified, Level-1-2 is used by default. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

You must enable the IPv6 capability for an IS-IS process before running this command. For details, see the isis ipv6 enable command.

Example

# Suppress the advertisement of IPv6 addresses on GE1/0/0.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] quit
[Huawei] interfacegigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] ipv6 enable
[Huawei-GigabitEthernet1/0/0] isis ipv6 enable
[Huawei-GigabitEthernet1/0/0] isis ipv6 suppress-reachability

isis ipv6 tag-value

Function

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.

Format

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

undo isis ipv6 tag-value [ tag ] [ level-1 | level-2 ]

Parameters

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. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Precautions

You 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.

Example

# Set the IPv6 administrative tag value of GE0/0/1 to 77.

<Huawei> system-view
[Huawei] ipv6
[Huawei] isis
[Huawei-isis-1] ipv6 enable
[Huawei-isis-1] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ipv6 enable
[Huawei-GigabitEthernet0/0/1] isis ipv6 enable
[Huawei-GigabitEthernet0/0/1] isis ipv6 tag-value 77
Translation
Download
Updated: 2019-02-18

Document ID: EDOC1000097293

Views: 37520

Downloads: 101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next