In routine maintenance, you can run the following commands
in any view to check the status of BGP/MPLS IP VPN.
Procedure
Run the display ip vpn-instance [ verbose ] [ vpn-instance-name ]
command to check information about the VPN instance.
Run the display default-parameter l3vpn command to check
the default configuration of L3VPN during initialization.
Run the display ip routing-tablevpn-instancevpn-instance-name command
to check the IP routing table of a VPN instance.
Run the display bgpvpnv4 { all | vpn-instancevpn-instance-name } routing-table [ statistics ]label command to check information
about labeled routes in the BGP routing table.
Run the display bgp vpnv4 { all | route-distinguisherroute-distinguisher | vpn-instancevpn-instance-name } routing-tableipv4-address [ mask | mask-length ] command to check information about the BGP
VPNv4 routing table.
Run the display bgp vpnv4 { all | route-distinguisherroute-distinguisher | vpn-instancevpn-instance-name } routing-tablestatistics command to check statistics about the BGP VPNv4 routing table.
Run the display bgp vpnv4 { all | route-distinguisherroute-distinguisher | vpn-instancevpn-instance-name } routing-table command to check information about the BGP VPNv4 routing table.
Run the display bgpvpnv4 { all | vpn-instancevpn-instance-name } group [ group-name ] command to check information about
the BGP VPNv4 peer group.
Run the display bgpvpnv4 { all | vpn-instancevpn-instance-name } peer [ [ ipv4-address ] verbose ] command to check BGP VPNv4 peer information.
Run the display bgpvpnv4 { all | vpn-instancevpn-instance-name } network command to check the routing information advertised by BGP VPNv4.
Run the display bgpvpnv4 { all | vpn-instancevpn-instance-name } paths [ as-regular-expression ] command to check the AS path information of BGP VPNv4.
Run the display bgpvpnv4vpn-instancevpn-instance-namepeer { group-name | ipv4-address } log-info command
to check the BGP peer's log information of a specified VPN instance.
Run the display mpls label-stack vpn-instancevpn-instance-nameip-address command to check the information about L3VPN label stacks.