Filter-Policy Import - HP 5800 series Command Reference Manual

Commands and command syntax options
Hide thumbs Also See for 5800 series:
Table of Contents

Advertisement

ip-prefix-name: Specifies the IP address prefix list name, which is 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
parameter is ranging from 1 to 4,294,967,295.
ospf process-id: Filters OSPF routes to be advertised that are from a specific OSPF process. The process-id
parameter is ranging from 1 to 4,294,967,295.
rip process-id: Filters RIP routes to be advertised that are from a specific RIP process. The process-id
parameter is ranging from 1 to 4,294,967,295.
static: Filters static routes to be advertised.
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

Description
Use the filter-policy import command to configure BGP to filter received routes.
Use the undo filter-policy import command to remove the configuration.
By default, BGP does not filter received routes.
Only routes that survive the filtering are added into the BGP routing table.
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: Specifies the IP ACL number, ranging from 2000 to 3999.
ip-prefix-name: Specifies the IP address prefix list name, which is a string of 1 to 19 characters.
Examples
# Configure BGP to filter received routes using ACL 2255.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] filter-policy 2255 import
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents