< Home

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

Usage Scenario

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 an 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >