F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
476
Usage guidelines
When the link to a directly connected EBGP peer is down, the router, with quick EBGP session
reestablishment enabled, tears down the session to the peer, and then immediately reestablishes a
session. If the function is not enabled, the router does not tear down the session until the holdtime times
out. A route flap does not affect the EBGP session state when the quick EBGP session reestablishment is
disabled.
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: 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 routes redistributed from an IS-IS 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 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.