R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
454
traps and the output direction) are determined according to the information center configuration. (For
information center configuration, see System Management and Maintenance Configuration Guide.)
To enable Trap:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable Trap for BGP.
snmp-agent trap enable bgp
Optional.
Enabled by default.
Enabling logging of peer state changes
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enable the logging of peer state
changes globally.
log-peer-change
Optional.
Enabled by default.
4. Enable the logging of peer state
changes for a peer or peer
group.
peer { group-name | ip-address }
log-change
Optional.
Enabled by default.
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
mechanism makes link failure detection rather slow; once a failure occurs on a high-speed link, a large
quantity of packets will be dropped. BFD is introduced to solve this problem. It detects links between
neighbors quickly to reduce convergence time upon link failures.
To enable BFD for a BGP peer:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enable BFD for the specified
BGP peer.
peer ip-address bfd
Not enabled for any BGP peer by
default
NOTE:
Before configuring BFD for BGP, you must enable BGP.
For BFD configuration, see
High Availability Configuration Guide
.