l
Run the
display bgp vpnv4
{
all
|
route-distinguisher
route-distinguisher
|
vpn-
instance
vpn-instance-name
}
routing-table
[
match-options
] command to check
information about the BGP VPNv4 routing table.
l
Run the
display bgp
vpnv4
{
all
|
vpn-instance
vpn-instance-name
}
group
[
group-
name
] command to check information about the BGP VPNv4 peer group.
l
Run the
display bgp
vpnv4
{
all
|
vpn-instance
vpn-instance-name
}
peer
[ [
ipv4-
address
]
verbose
] command to check BGP VPNv4 peer information.
l
Run the
display bgp
vpnv4
{
all
|
vpn-instance
vpn-instance-name
}
network
command
to check the routing information advertised by BGP VPNv4.
l
Run the
display bgp
vpnv4
{
all
|
vpn-instance
vpn-instance-name
}
paths
[
as-regular-
expression
] command to check the AS path information of BGP VPNv4.
l
Run the
display bgp
vpnv4
vpn-instance
vpn-instance-name
peer
{
group-name
|
ipv4-
address
}
log-info
command to check the BGP peer's log information of a specified VPN
instance.
----End
3.16.3 Checking the Network Connectivity and Reachability
This section describes how to use the
ping
command to detect the network connectivity between
the source and the destination, and how to use the
tracert
command to check the devices through
which data packets are sent from the source to the destination.
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
] *
host
command to check the network
connectivity.
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
] *
host
command to trace the gateways that the
packet passes by from the source to the destination.
l
Run the
ping lsp
[
-a
source-ip
|
-c
count
|
-exp
exp-value
|
-h
ttl-value
|
-m
interval
|
-r
reply-mode
|
-s
packet-size
|
-t
time-out
|
-v
] *
vpn-instance
vpn-name
remote
remote-
address
mask-length
command to check the connectivity of the L3VPN LSP.
----End
Example
After the VPN configuration, using the
ping
command with
vpn-instance
vpn-instance-name
on the PE, you can check whether the PE and the CEs that belong to the same VPN can
communicate with each other. If the ping fails, you can use the
tracert
command with
vpn-
instance
vpn-instance-name
to locate the fault.
If multiple interfaces bound to the same VPN exist on the PE, specify the source IP address, that
is
-a
source-ip-address
when you
ping
or
tracert
the remote CE that accesses the peer PE.
Otherwise, the ping or tracert may fail.
If you do not specify a source IP address, the PE chooses the smallest IP address of the interface
bound to the VPN on the PE as the source address of the ICMP packet randomly. If no route to
the selected address exists on the CE, the ICMP packet sent back from the peer PE is discarded.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171