R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

378
Examples
# In BGP view, enable the clearing of eBGP session on any interface that becomes down.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ebgp-interface-sensitive
# In BGP-VPN instance view, enable the clearing of eBGP session on any interface that becomes down
(the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] ebgp-interface-sensitive
filter-policy export (BGP/BGP-VPN instance view)
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 view, BGP-VPN instance view
Default level
2: System level
Parameters
acl-number: Number of an ACL used to filter outgoing routing information, ranging from 2000 to 3999.
ip-prefix-name: Name of an IP prefix list used to filter outgoing routing information, a string of 1 to 19
characters.
direct: Filters direct routes.
isis process-id: Filters outgoing routes redistributed from the IS-IS process with an ID from 1 to 65535.
ospf process-id: Filters outgoing routes redistributed from the OSPF process with an ID from 1 to 65535.
rip process-id: Filters outgoing routes redistributed from a RIP process. The ID is in the range of 1 to
65535.
static: Filters static routes.
Description
Use filter-policy export to configure the filtering of outgoing routes.
Use undo filter-policy export to remove the filtering.
If no routing protocol is specified, all outgoing routes are filtered.
By default, no route filtering is configured.
The following matrix shows the argument and firewall compatibility: