HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 383
filter-policy import (OSPFv3 view
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 383 highlights
Using the filter-policy export command filters only routes redistributed by the import-route command. If the import-route command is not configured to redistribute routes from other protocols and other OSPFv3 processes, use of the filter-policy export command does not take effect. Examples # Use IPv6 prefix list abc to filter redistributed routes. system-view [Sysname] ipv6 prefix-list abc permit 2002:1:: 64 [Sysname] ospfv3 [Sysname-ospfv3-1] filter-policy prefix-list abc export # Configure IPv6 ACL 3000 to permit only route 2001::1/128. Use ACL 3000 to filter redistributed routes. system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] ospfv3 [Sysname-ospfv3-1] filter-policy 3000 export filter-policy import (OSPFv3 view) Use filter-policy import to configure OSPFv3 to filter routes calculated using received LSAs. Use undo filter-policy import to restore the default. Syntax filter-policy { acl6-number [ gateway prefix-list-name ] | prefix-list prefix-list-name [ gateway prefix-list-name ] | gateway prefix-list-name | route-policy route-policy-name } import undo filter-policy import Default Routes calculated using received LSAs are not filtered. Views OSPFv3 view Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter routes by destination. gateway prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes by next hop. Without this option, this command does not filter routes by next hop. prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes by destination. 372