The ipv6 filter-policy export command configures IS-IS IPv6 to filter the imported IPv6 routes to be advertised.
The undo ipv6 filter-policy export command cancels the filtering for the imported IPv6 routes.
By default, IS-IS does not filter the imported IPv6 routes.
ipv6 filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } export [ direct | static | ospfv3 process-id | ripng process-id | isis process-id | bgp | unr ]
undo ipv6 filter-policy export [ direct | static | ospfv3 process-id | ripng process-id | isis process-id | bgp | unr ]
undo ipv6 filter-policy [ acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name ] export [ direct | static | ospfv3 process-id | ripng process-id | isis process-id | bgp | unr ]
| Parameter | Description | Value |
|---|---|---|
| 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 that filters the routes based on the tag and other protocol parameters. | 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. |
| direct | Indicates the imported direct routes that need to be filtered when the routes are advertised. | - |
| static | Indicates the imported static routes that need to be filtered when the routes are advertised. | - |
| ospfv3 | Indicates the imported OSPFv3 routes that need to be filtered when the routes are advertised. | - |
| ripng | Indicates the imported RIPng routes that need to be filtered when the routes are advertised. | - |
| isis | Indicates the imported IS-IS routes that need to be filtered when the routes are advertised. | - |
| process-id | Indicates the process ID of ripng, ospfv3, or other isis process. | The value is an integer ranging from 1 to 65535. |
| bgp | Indicates the imported BGP routes that need to be filtered when the routes are advertised. | - |
| unr | Indicates the imported UNR routes that need to be filtered when the routes are advertised. | - |
Usage Scenario
This command is valid only for an IPv6 base topology.
The ipv6 filter-policy export command together with the ipv6 import-route command can be used to filter only the imported routes that are advertised to other routers. If protocol is not specified, the routes that are imported from all other protocols are filtered. If protocol is specified, the routes that are imported from the specific protocol are filtered.
The ipv6 filter-policy export command can take effect only after IPv6 is enabled for the IS-IS process by the ipv6 enable command.
For a IPv6 Named 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 external IPv6 routes of the specified routing domain that are imported by IS-IS are advertised to the specified neighbor.
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 external IPv6 routes of the specified routing domain that are imported by IS-IS are advertised to the specified neighbor.