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.
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 } * ] *
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 64 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. |
- |
Usage Scenario
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 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-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.