2.
Set IPv6 or IPv4 addresses for interfaces.
# Set the IPv6 address for the interface of CE1.
[CE1]
interface vlanif 100
[CE1-Vlanif100]
ipv6 enable
[CE1-Vlanif100]
ipv6 address 2001::1 64
[CE1-Vlanif100]
quit
[CE1]
interface vlanif 1001
[CE1-Vlanif100]
ipv6 enable
[CE1-Vlanif100]
ipv6 address 1998::1 64
[CE1-Vlanif100]
quit
The configurations on CE2, CE3, and CE4 are similar to the configuration on CE1 and are
not mentioned here.
# Set the IPv4 address for the interface of PE1.
[PE1]
interface vlanif 10
[PE1-Vlanif10]
ip address 192.168.1.1 24
[PE1-Vlanif10]
quit
The configurations on P and PE2 are similar to the configuration on PE1 and are not
mentioned here.
Step 3
Configure an IGP protocol on the backbone network to ensure the connectivity of the backbone
network. The IS-IS protocol is used in this example.
# Configure an IPv4 IGP protocol on PE1. The IS-IS protocol is used in this example.
[PE1]
isis 1
[PE1-isis-1]
network-entity 10.1111.1111.1111.00
[PE1-isis-1]
quit
[PE1]
interface vlanif 10
[PE1-Vlanif10]
isis enable 1
[PE1-Vlanif10]
quit
[PE1]
interface loopback 1
[PE1-LoopBack1]
isis enable 1
[PE1-LoopBack1]
quit
The configurations on P and PE2 are similar to the configuration on PE1 and are not mentioned
here.
After the configuration, PE1, P, and PE2 can learn the routes of each other, including the routes
on the loopback interface. You can view the routes by using the
display ip routing-table
command. Take the display on PE1 as an example.
[PE1]
display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop OutInterface
-------------------------------------------------------------------------------
1.1.1.9/32 3/NULL 2.2.2.9 127.0.0.1 InLoop0
*1.1.1.9/32 Liberal
2.2.2.9/32 NULL/3 - 192.168.1.2 Vlanif10
2.2.2.9/32 1024/3 2.2.2.9 192.168.1.2 Vlanif10
3.3.3.9/32 NULL/1025 - 192.168.1.2 Vlanif10
3.3.3.9/32 1025/1025 2.2.2.9 192.168.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
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.
372