Configuring bfd for bgp, Displaying and maintaining bgp, Displaying bgp – H3C Technologies H3C S7500E Series Switches User Manual
Page 249
6-46
Configuring BFD for BGP
BGP maintains neighbor relationships based on the keepalive timer and holdtime timer, which are set
in seconds. BGP defines that the holdtime interval must be at least three times the keepalive interval.
This makes failure detection rather slow. Thus, once a failure occurs on a high-speed link, a large
quantity of packets will be dropped. BFD was introduced to solve this problem. It detects links between
neighbors more quickly and thus reduce BGP convergence time upon link failures.
Follow these steps to enable BFD for a BGP peer:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number
—
Enable BFD for the specified BGP
peer
peer ip-address bfd
Required
Not enabled for any BGP peer by
default
At present, you can configure BFD for IPv4 BGP neighbors only. Before configuring BFD for BGP, you
need to enable BGP.
After a link failure occurs, BFD may detect the failure before the system performs GR and as a result,
GR will fail. Therefore, if GR capability is enabled for BGP, use BFD with caution.
For BFD configuration, see BFD Configuration in the High Availability Configuration Guide.
Displaying and Maintaining BGP
Displaying BGP
To do…
Use the command…
Remarks
Display peer group information
display bgp group [ group-name ]
Display advertised BGP routing
information
display bgp network
Display AS path information
display bgp paths [ as-regular-expression ]
Display BGP peer/peer group
information
display bgp peer [ ip-address { log-info | verbose } |
group-name log-info | verbose ]
Display the prefix information in
the ORF packet from the specified
BGP peer
display bgp peer ip-address received ip-prefix
Available in
any view