Filter-Policy Export - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

[Sysname] ospf 100
[Sysname-ospf-100] ext-communityroute-type domain-id 8005
[Sysname-ospf-100] ext-communityroute-type router-id 8001
[Sysname-ospf-100] ext-communityroute-type route-type 8000

filter-policy export

Syntax
filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf
process-id | rip process-id | static ]
undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ]
View
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.
direct: Filters direct routes to be advertised.
isis process-id: Filters ISIS routes to be advertised that are from a specific ISIS process. The
process-id argument is in the range of 1 to 65535.
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.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2555 export
462

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents