EasyManua.ls Logo

HP 6125G - Filter-Policy Import

HP 6125G
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
380
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.
<Sysname> 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
undo filter-policy import
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.
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.

Table of Contents

Other manuals for HP 6125G

Related product manuals