R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

245
Examples
# Display the global router ID.
<Sysname> display router id
Configured router ID is 1.1.1.1
ebgp-interface-sensitive
Use ebgp-interface-sensitive to enable quick reestablishment of direct EBGP session.
Use undo ebgp-interface-sensitive to disable the function.
Syntax
ebgp-interface-sensitive
undo ebgp-interface-sensitive
Default
This function is enabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
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.