273
Views
BGP view, BGP-VPN instance view
Predefined user roles
network-admin
Parameters
ip-address
: Specifies a peer by its IP address. The peer must have been created.
ipv6-address
: Specifies a peer by its IPv6 address. The peer must have been created.
Usage guidelines
BFD helps speed up BGP routing convergence upon link failures. However, if you have enabled GR, use
BFD with caution because 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.
Examples
# In BGP view, enable BFD for the link to BGP peer 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 ipv4 unicast
•
display bgp peer ipv6 unicast
•
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.