< Home

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

Function

The ipv6 import-route isis level-1 into level-2 command controls the advertisement of the IPv6 Level-1 route to the Level-2 area, which can facilitate the routing management. This command needs to be configured on the Level-1-2 router on the area boundary.

The undo ipv6 import-route isis level-1 into level-2 command prohibits the IPv6 Level-1 route from being advertised to the Level-2 area.

By default, do not control the advertisement of the Level-1 route to the Level-2 area. That is, all Level-1 routers can be advertised to the Level-2.

Format

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

Parameters

Parameter Description Value
filter-policy Filters the imported IPv6 routes. -
acl6-number Specifies the number of the basic ACL6. It is an integer ranging from 2000 to 2999.
ipv6-prefix ipv6-prefix-name Specifies the prefix name of the IP address. Only the routes that match the prefix can be imported into the Level-2 area. 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 the routing 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 assigned to the imported route. It is an integer ranging from 1 to 4294967295.
direct allow-filter-policy

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

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command is valid only for an IPv6 base topology.

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.

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

# Use the IPv6 prefix list named list to control the advertisement of IPv6 Level-1 routes to the Level-2 area on the Level-1-2 router.

<sysname> system-view
[sysname] ipv6
[sysname] isis 1
[sysname-isis-1] ipv6 enable
[sysname-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 >