GigabitEthernet2/0/0 VLANIF 1011
-
1999::1/64
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure an IGP protocol on the IPv4 public network to implement interconnection on
the backbone network.
2.
Configure MPLS and MPLS LDP on each PE and P. That is, the VPN uses the LDP LSP
on the IPv4 public network.
3.
Configure MP-IBGP on PE1 and PE2. That is, the PEs exchange IPv6 VPN routes through
BGP.
4.
Configure the IPv6 routing protocol on each PE and CE so that the PEs and CEs can learn
the IPv6 routes of each other.
Data Preparation
To complete the configuration, you need the following data:
l
ASNs used by the PEs and CEs to establish BGP peers
l
RD, export VPN target, and import VPN target of each VPNv6 instance
Procedure
Step 1
Configure the IPv6 packet forwarding capability of each CE and PE.
# Enable the IPv6 forwarding capability on CE1.
<CE1>
system-view
[CE1]
ipv6
The configurations on CE2, CE3, CE4, PE1, and PE2 are similar to the configuration on CE1
and are not mentioned here.
Step 2
Configure the VLAN ID allowed by each interface and set the IP addresses of the VLANIF
interfaces except for the interfaces that connect PEs to CEs. For the data planning, see
1.
configure the VLAN IDs allowed on the interfaces.
# Configure the VLAN ID allowed by the interface of CE1.
[CE1]
vlan batch 100 1001
[CE1]
interface gigabitethernet 1/0/0
[CE1-GigabitEthernet1/0/0]
port link-type hybrid
[CE1-GigabitEthernet1/0/0]
port hybrid pvid vlan 100
[CE1-GigabitEthernet1/0/0]
port hybrid untagged vlan 100
[CE1-GigabitEthernet1/0/0]
quit
[CE1]
interface gigabitethernet 2/0/0
[CE1-GigabitEthernet2/0/0]
port link-type hybrid
[CE1-GigabitEthernet2/0/0]
port hybrid pvid vlan 1001
[CE1-GigabitEthernet2/0/0]
port hybrid untagged vlan 1001
[CE1-GigabitEthernet2/0/0]
quit
The configurations on CE2, CE3, CE4, PE1, and PE2 are similar to the configuration on
CE1 and are not mentioned here.
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.
371