R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
232
Examples
# In BGP view, enable quick reestablishment of direct EBGP session.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ebgp-interface-sensitive
# In BGP-VPN instance view, enable quick reestablishment of direct EBGP session (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] ebgp-interface-sensitive
filter-policy export (BGP/BGP-VPN instance view)
Use filter-policy export to configure the filtering of outgoing routes.
Use undo filter-policy export to remove the filtering.
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 ]
Default
No route filtering is configured.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
acl-number: Specifies the number of an ACL used to filter outgoing routing information, in the range of
2000 to 3999.
ip-prefix-name: Specifies the 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 an ISIS process. The ID is in the range of 1 to
65535.
ospf process-id: Filters outgoing routes redistributed from the OSPF process with an ID in the range of 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.










