3.13.1 Displaying BGP/MPLS IP VPN Information
Context
In routine maintenance, you can run the following commands in any view to display the operating
status of BGP/MPLS IP VPNs.
Procedure
l Run the display ip routing-table vpn-instance vpn-instance-name [ [ filter-option ]
[ verbose ] | statistics ] command to view the IP routing table of a VPN instance.
l Run the display ip vpn-instance [ verbose ] [ vpn-instance-name ] command to view
information about the VPN instance.
l Run the display bgp [ vpnv4 { all | vpn-instance vpn-instance-name } ] routing-table
label command to view labeled routes information in BGP routing table.
l Run the display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-
instance vpn-instance-name } routing-table destination-address [ mask | mask-length ]
command to view the entries in the BGP VPNv4 routing table.
l Run the display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-
instance vpn-instance-name } routing-table statistics [ match-options ] command to view
statistics of the BGP VPNv4 routing table.
l Run the display bgp vpnv4 { all | route-distinguisher route-distinguisher | vpn-
instance vpn-instance-name } routing-table [ match-options ] command to view
information about the BGP VPNv4 routing table.
l Run the display bgp vpnv4 { all | vpn-instance vpn-instance-name } group [ group-
name ] command to view information about the BGP VPNv4 peer group.
l Run the display bgp vpnv4 { all | vpn-instance vpn-instance-name } peer [ [ peer-
address ] verbose ] command to view information about the BGP VPNv4 peer.
l Run the display bgp vpnv4 { all | vpn-instance vpn-instance-name } network command
to view information about the VPNv4 routes advertised by BGP.
l Run the display bgp vpnv4 { all | vpn-instance vpn-instance-name } paths [ as-regular-
expression ] command to view information about the AS path of the BGP VPNv4.
l Run the display bgp vpnv4 vpn-instance vpn-instance-name peer { group-name | peer-
address } log-info command to view the logs of the VPN BGP peer.
----End
3.13.2 Checking the Network Connectivity and Reachability
Procedure
l Run the ping [ ip ] [ -a source-ip-address | -c count | -d | -f | -h ttl-value | -i interface-type
interface-number | -m time | -n | -p pattern | -q | -r | -s packetsize | -t timeout | -tos tos-
value | -v | -vpn-instance vpn-instance-name ]
*
dest-address command to check the
network connectivity between the sender and the destination address.
l Run the tracert [ -a source-ip-address | -f first-TTL | -m max-TTL | -p port | -q nqueries |
-vpn-instance vpn-instance-name | -w timeout ]
*
dest-address command to view the
gateways that the packet passes through from the source to the destination.
----End
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 3 BGP/MPLS IP VPN Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-53