195
1. Enter system view.
system-view
N/A
2.
family view or BGP-VPN
VPNv4 address family view.
• Enter BGP VPNv4 address
family view:
a. bgp as-number
b. address-family vpnv4
• Enter BGP-
address family view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
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.
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:
Soft reset BGP sessions for
VPNv4 address family.
refresh bgp
{ ip-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
{ as-number | ip-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:
Display the
VPN instance.
display ip routing-table vpn-instance
vpn-instance-name [
statistics
|
verbose
] [
standby slot
slot-number ]
Display information about a
specified or all VPN instances.
display ip vpn-instance
[
instance-name
vpn-instance-name ]
instance.
display fib
vpn-instance
vpn-instance-name
Display FIB entries that match the
specified destination IP address
in the specified VPN instance.
display
fib vpn-instance
vpn-instance-name ip-address [ mask |
mask-length ]
Display BGP VPNv4 peer group
information.
display bgp group
vpnv4
[
vpn-instance
vpn-instance-name ]
[
group-name
group-name ]