220
100B
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:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP VPNv4 address
family view or BGP-VPN
VPNv4 address family view.
• Enter BGP VPNv4 address family
view:
a. bgp as-number [ instance
instance-name ]
[ multi-session-thread ]
b. address-family vpnv4
• Enter BGP-VPN VPNv4 address
family view:
c. bgp as-number [ instance
instance-name ]
[ multi-session-thread ]
d. ip vpn-instance
vpn-instance-name
e. address-family vpnv4
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.
101B
Displaying and maintaining MPLS L3VPN
You can soft-reset or reset BGP sessions to apply new BGP configurations. A soft reset operation
updates BGP routing information without tearing down BGP connections. A reset operation updates
BGP routing information by tearing down, and then re-establishing BGP connections. Soft reset
requires that BGP peers have route refresh capability.
Execute the following commands in user view to soft reset or reset BGP connections:
Task Command
Manually soft reset BGP sessions for
VPNv4 address family.
refresh bgp
[
instance
instance-name ] { ipv4-address
[ mask-length ] |
all
|
external
|
group
group-name |
internal
}
{
export
|
import
}
vpnv4
[
vpn-instance
vpn-instance-name ]
Reset BGP sessions for VPNv4
address family.
reset bgp
[
instance
instance-name ] { as-number | ipv4-address
[ mask-length ] |
all
|
external
|
internal
|
group
group-name }
vpnv4
[
vpn-instance
vpn-instance-name ]
For more information about the refresh bgp vpnv4 and reset bgp vpnv4 commands, see Layer
3—IP Routing Command Reference.
Execute the following commands in any view to display MPLS L3VPN:
Task Command
Display the routing table for a VPN
display ip routing-table vpn-instance
vpn-instance-name