HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 226
filter-policy import (RIPng view), Parameters, Description, Examples, Syntax
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 226 highlights
Parameters acl6-number: Specifies the number of an ACL to filter advertised routing information, in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to filter routing information, a string of 1 to 19 characters. protocol: Filters routes redistributed from a routing protocol, including bgp4+, direct, ospfv3, ripng, and static. process-id: Process number of the specified routing protocol, in the range of 1 to 65535. This argument is available only when the routing protocol is ripng or ospf v3. Description Use filter-policy export to define an outbound route filtering policy. Only routes passing the filter can be advertised in the update messages. Use undo filter-policy export to disable the outbound route filtering. By default, RIPng does not filter any outbound routing information. With the protocol argument specified, only routing information redistributed from the specified routing protocol will be filtered. Otherwise, all outgoing routing information will be filtered. If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration is ineffective). Examples # Use IPv6 prefix list Filter 2 to filter advertised RIPng updates. system-view [Sysname] ripng 100 [Sysname-ripng-100] filter-policy ipv6-prefix Filter2 export # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter advertised RIPng updates. 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] ripng 100 [Sysname-ripng-100] filter-policy 3000 export filter-policy import (RIPng view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import undo filter-policy import 215