F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

282
Ste
p
Command
Remarks
2. Enter BGP view. bgp as-number N/A
3. Enable compatibility with
routers not compliant with
RFC 3065 in the
confederation.
confederation nonstandard
Optional.
Not enabled by default.
Enabling trap
After trap is enabled for BGP, BGP generates Level-4 traps to report important events. The generated
traps are sent to the information center of the device. The output rules of the traps (whether to output the
traps and the output direction) are determined according to the information center configuration. (For
information center configuration, see System 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 session state changes
This task allows you to enable BGP to log session establishment and disconnection events. You can use
the display bgp ipv4 peer log-info command to view the log information.
To enable the logging of session 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 session
state changes globally.
log-peer-change
Optional.
Enabled by default.
4. Enable the logging of session
state changes for a peer or
peer group.
peer { group-name | ip-address }
log-change
Optional.
Enabled by default.
Displaying and maintaining BGP
Displaying BGP
Task Command
Remarks
Display peer group information.
display bgp group [ group-name ] [ | { begin | exclude
| include } regular-expression ]
Available in
any view.