R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
390
• If a directly connected EBGP peer is specified and the peer ebgp-max-hop command is not
configured, this command enables single-hop BFD for the EBGP peer. If the EBGP peer is not
directly connected or the peer ebgp-max-hop command is configured, this command enables
multi-hop BFD for the EBGP peer.
For more information about multi-hop and single-hop BFD, see High Availability Configuration Guide.
BFD helps speed up BGP routing convergence upon link failures. However, if you have enabled GR, use
BFD with caution. BFD might detect a failure before the system performs GR, resulting in GR failure. If you
have enabled both BFD and GR for BGP, do not disable BFD during a GR process to avoid GR failure.
To establish a BFD session to a BGP peer, you must configure the same BFD detection mode multi-hop or
single-hop on the local router and the BGP peer.
Examples
# I n B G P v i e w, e n a b l e B F D f o r t h e l i n k t o B G P p e e r 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 bfd
# In BGP view, enable BFD for the link to BGP peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1::1 bfd
# In BGP-VPN instance view, enable BFD for the link to BGP peer 2.2.2.2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 2.2.2.2 bfd
# In BGP-VPN instance view, enable BFD for the link to BGP peer 2::2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 2::2 bfd
Related commands
• display bgp peer
• display bfd session (High Availability Command Reference)
peer capability-advertise conventional
Use peer capability-advertise conventional to disable BGP multi-protocol extension and route refresh for
a peer or peer group.
Use undo peer capability-advertise conventional to enable BGP multi-protocol extension and route
refresh for a peer or peer group.
Syntax
peer { group-name | ip-address | ipv6-address } capability-advertise conventional
undo peer { group-name | ip-address | ipv6-address } capability-advertise conventional