ipv6 import-route isis level-2 into level-1 (IS-IS view)

Function

The ipv6 import-route isis level-2 into level-1 command enables IPv6 route leaking from a Level-2 area to a Level-1 area.

The undo ipv6 import-route isis level-2 into level-1 command disables IPv6 route leaking from a Level-2 area to a Level-1 area.

By default, IPv6 routes cannot leak from a Level-2 area to a Level-1 area.

Format

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

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

Parameters

Parameter Description Value
tag tag

Assigns administrative tags to the imported routes.

The value is an integer ranging from 1 to 4294967295.

filter-policy

Indicates a route filtering policy.

-

acl6-number

Specifies a basic ACL6 number.

The value is an integer ranging from 2000 to 2999.

acl6-name acl6-name-string

Specifies the name of a named basic ACL6.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

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 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

route-filter route-filter-name

Specifies the name of a route filter policy. The policy is used to filter the imported routes so that only some of the routes of other routing domains can be imported.

The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters.

direct

Specifies the direct routes.

-

allow-filter-policy

Applies the filtering policy to direct routes.

If the parameter is configured, only the IS-IS direct routes that match the filtering policy can leak from a Level-2 area to a Level-1 area. If the parameter is not configured, all direct routes can leak from a Level-2 area to a Level-1 area.

-

allow-up-down-bit

Sets the Up/Down bit to 1 for the leaked direct routes.

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

-

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

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

The ipv6 import-route isis level-2 into level-1 command takes effect only after IPv6 is enabled for the IS-IS process. For details, see isis ipv6 enable.

Precautions

This command is valid only on Level-1-2 devices.

In the route-policy specified in this command, if-match clauses can be configured to set matching rules, but apply clauses cannot be configured to set route attributes.

Example

# Enable IPv6 route leaking from a Level-2 area to a Level-1 area.
<HUAWEI> system-view
[~HUAWEI] acl ipv6 2002
[*HUAWEI-acl6-basic-2002] quit
[*HUAWEI] isis 1
[*HUAWEI-isis-1] ipv6 enable
[*HUAWEI-isis-1] ipv6 import-route isis level-2 into level-1 filter-policy 2002
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >