To do...
Enter system view
Enter BGP view
Enable the
logging of
peer state
changes
Configuring BFD for BGP
By default, the BGP keepalive interval is 60 seconds and the holdtime interval is 180 seconds. If neither
the holdtime interval nor the keepalive interval is configured as 0, the holdtime interval must be at least
three times the keepalive interval. This makes the detection of neighbors rather slow, and a large
quantity of packets will be dropped when being transmitted or received through a high-speed interface.
Therefore, BFD was introduced to solve this problem. It can quickly finds neighbors and thus reduce
network convergence time.
Follow these steps to enable BFD for a BGP peer:
To do...
Enter system view
Enter BGP view
Enable BFD for the specified
BGP peer
At present, you can configure BFD for IPv4 BGP neighbors only. Before configuring BFD for BGP,
you need to enable BGP.
If GR capability is enabled for BGP, use BFD with caution.
For BFD configuration, refer to BFD Configuration in the High Availability Volume.
Displaying and Maintaining BGP
Displaying BGP
To do...
Display peer group information
Display advertised BGP routing
information
Display AS path information
Use the command...
system-view
bgp as-number
globally
log-peer-change
for a peer or
peer { group-name | ip-address }
peer group
log-change
Use the command...
system-view
bgp as-number
peer ip-address bfd
display bgp group [ group-name ]
display bgp network
display bgp paths [ as-regular-expression ]
Use the command...
1-43
Remarks
—
—
Optional
Enabled by default
Optional
Enabled by default
Remarks
—
—
Required
Not enabled by default
Remarks
Available in
any view