249
Examples
# Display statistics of BGP IPv6 unicast routes.
<Sysname> display bgp routing-table ipv6 statistics
Total number of routes: 4
ebgp-interface-sensitive
Use
ebgp-interface-sensitive
to enable quick reestablishment of direct EBGP sessions.
Use
undo ebgp-interface-sensitive
to disable the function.
Syntax
ebgp-interface-sensitive
undo ebgp
-
interface-sensitive
Default
Quick reestablishment of direct EBGP sessions is enabled.
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
This command enables BGP to quickly handle direct EBGP link failures. When a direct link to an EBGP
peer fails, BGP tears down the session and reestablishes a session to the peer immediately. If the function
is not enabled, the router does not tear down the session until the holdtime expires. However, disabling
this function can prevent routing flaps from affecting EBGP session state.
This command applies to only direct EBGP sessions.
Examples
# Enable quick reestablishment of direct EBGP sessions.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ebgp-interface-sensitive
filter-policy export
Use
filter-policy
export
to filter outbound routes by using a specified filter.
Use
undo filter-policy export
to cancel filtering of outbound routes.
Syntax
In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view:
filter-policy
{
acl-number
|
prefix-list
prefix-list-name
}
export
[
protocol process-id
]
undo filter-policy
{
acl-number
|
prefix-list
prefix-list-name
}
export
[
protocol process-id
]
In BGP IPv6 unicast instance view/BGP-VPN IPv6 unicast instance view: