303
Step
Command
Remarks
4.
(Optional.) Enter BGP-VPN
instance view.
ip vpn-instance
vpn-instance-name
N/A
5.
Enable logging for session
state changes for a peer or
peer group.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
log-change
By default, logging for session
state changes is enabled for all
peers or peer groups.
Enabling logging for BGP route flapping
This feature enables BGP to generate logs for BGP route flappings that trigger log generation. The
generated logs are sent to the information center. For the logs to be output correctly, you must also
configure information center on the device. For more information about the information center, see
Network Management and Monitoring Configuration Guide
.
To enable logging for BGP route flapping (IPv4 unicast/IPv4 multicast):
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP IPv4 unicast
address family view,
BGP-VPN IPv4 unicast
address family view, or BGP
IPv4 multicast address
family view.
•
Enter BGP IPv4 unicast
address family view:
a. bgp as-number
[
instance
instance-name
]
b. address-family ipv4
[
unicast
]
•
Enter BGP-VPN IPv4 unicast
address family view:
c. bgp as-number
[
instance
instance-name
]
d. ip vpn-instance
vpn-instance-name
e. address-family ipv4
[
unicast
]
•
Enter BGP IPv4 multicast
address family view:
f. bgp as-number
[
instance
instance-name
]
g. address-family ipv4
multicast
N/A
3.
Enable logging for BGP route
flapping.
log-route-flap
monitor-time
monitor-count
[
log-count-limit
|
route-policy
route-policy-name
]
*
By default, logging for BGP route
flapping is disabled.
To enable logging for BGP route flapping (IPv6 unicast/IPv6 multicast):
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Summary of Contents for HPE FlexNetwork 7500 series
Page 505: ...493 Connector N A ...