The ipv6 import-route isis level-2 into level-1 command enables routers to perform the 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 prohibits the IPv6 route leaking.
By default, IPv6 routes of Level-2 area are not leaked to Level-1 areas.
ipv6 import-route isis level-2 into level-1 [ filter-policy { acl6-number | 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 | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } | tag tag | direct { allow-filter-policy | allow-up-down-bit } ] *
| 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 name of the 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 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 routes. | 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-2 area direct routes that matches the filtering policy can leak to a Level-1 area. If the parameter is not configured, all Level-2 area direct routes will leak to a Level-1 area. |
- |
| direct allow-up-down-bit | Indicates that the Up or Down bit is used during direct route leaking. If direct allow-up-down-bit is specified, the direct routes that have already leaked to a Level-1 area cannot leak back. |
- |
Usage Scenario
This command is valid only for an IPv6 base topology.
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.
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.