The ipv6 filter-policy export command configures IS-IS to filter imported IPv6 routes before route advertisement.
The undo ipv6 filter-policy export command disables such filtering.
By default, IS-IS does not filter imported IPv6 routes before route advertisement.
ipv6 filter-policy { acl6-number | acl6-name acl6-name-string | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name } { export [ direct | static | ripng process-id | bgp | ospfv3 process-id | isis process-id | unr ] }
undo ipv6 filter-policy [ acl6-number | acl6-name acl6-name-string | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name | route-filter route-filter-name ] { export [ direct | static | ripng process-id | bgp | ospfv3 process-id | isis process-id | unr ] }
Parameter | Description | Value |
---|---|---|
acl6-number |
Specifies a basic ACL6 number. |
The value is an integer ranging from 2000 to 2999. |
acl6-name acl6-name-string |
Specifies the name of a named basic ACL6. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
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 to filter routes based on tags and other protocol parameters. |
The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
route-filter route-filter-name |
Specifies the name of route filter policy to filter routes based on tags and other protocol parameters. |
The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters. |
direct |
Specifies to filter the imported direct routes before route advertisement. |
- |
static |
Specifies to filter the imported static routes before route advertisement. |
- |
ripng process-id |
Specifies the ID of an RIPng process. |
The value is an integer ranging from 1 to 4294967295. |
bgp |
Specifies to filter the imported BGP routes before route advertisement. |
- |
ospfv3 process-id |
Specifies the ID of an OSPFv3 process. |
The value is an integer ranging from 1 to 4294967295. |
isis process-id |
Specifies the ID of an IS-IS process. |
The value is an integer ranging from 1 to 4294967295. |
unr |
Specifies to filter the imported UNR routes before route advertisement. |
- |
Usage Scenario
The ipv6 filter-policy export command is usually used with the ipv6 import-route command. The ipv6 filter-policy export command is used to filter imported routes so that only given routes are advertised to other devices. If protocol is not specified, the routes imported from all protocols are filtered; if protocol is specified, the routes imported from the specified protocol are filtered.
Enable the IPv6 capability for the IS-IS process first before you run this command. For details, refer to isis ipv6 enable.