HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 391
filter-policy import
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 391 highlights
Parameters acl-number: IP ACL number, in the range of 2000 to 3999. ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters. direct: Filters direct routes to be advertised. ospf process-id: Filters OSPF routes to be advertised that are from a specific OSPF process. The process-id argument is in the range of 1 to 65535. rip process-id: Filters RIP routes to be advertised that are from a specific RIP process. The process-id argument is in the range of 1 to 4294967295. static: Filters static routes to be advertised. Description Use filter-policy export to configure BGP to filter all or certain types of routes to be advertised. Use undo filter-policy export to remove the configuration. If you specify no routing protocol parameters for the filter-policy export command, all routes to be advertised will be filtered. By default, BGP does not filter routes to be advertised. Only routes that survive the filtering are advertised by BGP. Examples # Configure BGP to filter the routes to be advertised by using ACL 2555. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] filter-policy 2555 export filter-policy import Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import View undo filter-policy import BGP-VPN instance view Default level 2: System level Parameters acl-number: IP ACL number, in the range of 2000 to 3999. ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters. Description Use filter-policy import to configure BGP to filter received routes. Use undo filter-policy import to remove the configuration. By default, BGP does not filter received routes. 380