<PE1>
display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop OutInterface
-------------------------------------------------------------------------------
1.1.1.9/32 3/NULL 5.5.5.5 127.0.0.1 InLoop0
*1.1.1.9/32 Liberal
3.3.3.9/32 NULL/1025 - 10.1.1.2 Vlanif10
3.3.3.9/32 1025/1025 5.5.5.5 10.1.1.2 Vlanif10
5.5.5.5/32 NULL/3 - 10.1.1.2 Vlanif10
5.5.5.5/32 1024/3 5.5.5.5 10.1.1.2 Vlanif10
-----------------------------------------------------------------------------
TOTAL: 5 Normal LSP(s) Found.
TOTAL: 1 Liberal LSP(s) Found.
TOTAL: 0 Frr LSP(s) Found.
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
A '*' before a UpstreamPeer means the session is in GR state
A '*' before a NextHop means the LSP is FRR LSP
Step 4
Configure VPN instances on each PE and connect the CEs to the PEs.
# Configure PE1.
# Enable IPv6, create a VPN instance, and set the RD and VPN target of the VPN instance. The
VPN target set on the local PE must be the same as the VPN target of the MP-BGP peer PE so
that the sites in the same VPN can access each other.
[PE1]
ipv6
[PE1]
ipv6 vpn6-instance vpn1
[PE1-vpn6-instance-vpn1]
route-distinguisher 100:1
[PE1-vpn6-instance-vpn1]
vpn-target 1:1 both
[PE1-vpn6-instance-vpn1]
quit
# Bind the interface connected to the CE to the VPN instance and set the IP address of the
interface.
[PE1]
interface vlanif 101
[PE1-Vlanif101]
ipv6 enable
[PE1-Vlanif101]
ipv6 binding vpn6-instance vpn1
[PE1-Vlanif101]
ipv6 address 2001::2 64
[PE1-Vlanif101]
quit
# Configure PE2.
# Enable IPv6, create a VPN instance, and set the RD and VPN target of the VPN instance. The
VPN target set on the local PE must be the same as the VPN target of the MP-BGP peer PE so
that the sites in the same VPN can access each other.
[PE2]
ipv6
[PE2]
ipv6 vpn6-instance vpn1
[PE2-vpn6-instance-vpn1]
route-distinguisher 100:2
[PE2-vpn6-instance-vpn1]
vpn-target 1:1 both
[PE2-vpn6-instance-vpn1]
quit
# Bind the interface connected to the CE to the VPN instance and set the IP address of the
interface.
[PE2]
interface vlanif 102
[PE2-Vlanif102]
ipv6 enable
[PE2-Vlanif102]
ipv6 binding vpn6-instance vpn1
[PE2-Vlanif102]
ipv6 address 2002::2 64
[PE2-Vlanif102]
quit
# Configure PE3.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
423