239
Task Command
Display the routing table for a VPN
instance.
display ip routing-table vpn-instance
vpn-instance-name
[
statistics
|
verbose
]
Display information about a specified
or all VPN instances.
display ip vpn-instance
[
instance-name
vpn-instance-name
]
Display the FIB of a VPN 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
[
instance
instance-name
]
group
vpnv4
[
vpn-instance
vpn-instance-name
] [
group-name
group-name
]
Display BGP VPNv4 peer
information.
display bgp
[
instance
instance-name
]
peer vpnv4
[
vpn-instance
vpn-instance-name
] [
ipv4-address
mask-length
| {
ipv4-address
|
group-name
group-name
}
log-info
| [
ipv4-address
]
verbose
]
Display BGP VPNv4 routes.
display bgp
[
instance
instance-name
]
routing-table
vpnv4
[ [
route-distinguisher
route-distinguisher
] [
ipv4-address
[
{
mask
|
mask-length
}
[
longest-match
] ] |
ipv4-address
[
mask
|
mask-length
]
advertise-info
|
as-path-acl
as-path-acl-number
|
community-list
{
{
basic-community-list-number
|
comm-list-name
}
[
whole-match
] |
adv-community-list-number
} ] | [
vpn-instance
vpn-instance-name
]
peer
ipv4-address
{
advertised-routes
|
received-routes
} [
ipv4-address
[
mask
|
mask-length
] |
statistics
]
|
statistics
]
Display incoming labels for BGP
IPv4 unicast routes.
display bgp
[
instance
instance-name
]
routing-table ipv4
[
unicast
] [
vpn-instance
vpn-instance-name
]
inlabel
Display outgoing labels for BGP IPv4
unicast routes.
display bgp
[
instance
instance-name
]
routing-table ipv4
[
unicast
] [
vpn-instance
vpn-instance-name
]
outlabel
Display incoming labels for BGP
VPNv4 routes.
display bgp
[
instance
instance-name
]
routing-table vpnv4
inlabel
Display outgoing labels for BGP
VPNv4 routes.
display bgp
[
instance
instance-name
]
routing-table vpnv4
outlabel
Display BGP VPNv4 address family
update group information.
display bgp
[
instance
instance-name
]
update-group vpnv4
[
vpn-instance
vpn-instance-name
] [
ipv4-address
]
Display OSPF sham link information.
display ospf
[
process-id
]
sham-link
[
area
area-id
]
For more information about the
display ip routing-table
,
display
bgp
group
vpnv4
,
display bgp
peer vpnv4
, and
display bgp update-group vpnv4
commands, see
Layer 3—IP Routing
Command Reference
.
MPLS L3VPN configuration examples
Configuring basic MPLS L3VPN
Network requirements
CE 1 and CE 3 belong to VPN 1. CE 2 and CE 4 belong to VPN 2.
VPN 1 uses route target attribute 111:1. VPN 2 uses route target attribute 222:2. Users of different
VPNs cannot access each other.
A PE and its connected CE use EBGP to exchange VPN routing information.