Professional Documents
Culture Documents
Huawei Confidential
6PE&6VPE Configuration
Lab Guide
Huawei Confidential
Contents
Huawei Confidential
1
Contents
This experiment mainly describes the data configuration and result verification of 6PE
and 6vPE, helping you better understand the 6PE and 6vPE technologies.
Objectives
Upon completion of this experiment, you will be able to:
Describe principles of 6PE.
Describe principles of 6vPE.
Configure 6PE and better understand the principles of 6PE.
Configure 6vPE, better understand the principles of 6vPE, learn about the configuration
mode of 6vPE, and analyze the experiment results.
Compare differences between 6PE and 6vPE in configuration commands and experiment
results.
Preparations
Before performing the experiment, you should be able to:
Learn about the basic IPV6 knowledge.
Learn about the 6PE technological principles and its applicable scenarios.
Learn about the 6vPE technological principles and its applicable scenarios.
Huawei Confidential
2
IPv4/MPLS
R2-PE1 R3-PE2
GE1/0/0 GE1/0/1 GE1/0/0
::1 .1 .2 GE1/0/1
23.23.23.0/30
2001:12::/64 Lo0 :1
Lo0 2001:34::/64
GE1/0/0 2.2.2.2/32 3.3.3.3/32
::2 2001:2::2/64 2001:3::3/64 :2 GE1/0/0
Lo0 Lo0
2001:1::1/64 2001:4::4/64
R1-CE1 R4-CE2
IPv6
IPv6
Routers PE1 and PE2 support 6PE, and routers CE1 and CE2 support
IPv6.
The IPv4/MPLS network of the carrier is deployed between PE1 and
PE2. An IPv4 Internal Border Gateway Protocol (IBGP) connection
needs to be established between PEs and the Open Shortest Path First
(OSPF) protocol is used by the Internal Gateway Protocol (IGP). Routers
CE1 and CE2 are located on the IPv6 network and routing information is
exchanged between PEs and CEs using IPv6 addresses in static routing
mode.
6PE is required to connect user's IPv6 networks through the carrier's
IPv4/MPLS network.
This experiment mainly describes the basic 6PE data configurations,
including basic IPv6 configurations and configurations of the IGPv4,
MPLS LDP, BGP, and 6PE.
Huawei Confidential
3
Huawei Confidential
4
[R3-PE2]interface LoopBack 0
[R3-PE2-LoopBack0]ip add 3.3.3.3 32
[R3-PE2-LoopBack0]ipv6 enable
[R3-PE2-LoopBack0]ipv6 address 2001:3::3 64
[R3-PE2-LoopBack0]quit
[R3-PE2]interface GigabitEthernet 1/0/0
[R3-PE2-GigabitEthernet1/0/0]ip address 23.23.23.2 30
[R3-PE2-GigabitEthernet1/0/0]undo shutdown
[R3-PE2-GigabitEthernet1/0/0]quit
[R3-PE2]interface GigabitEthernet 1/0/1
[R3-PE2-GigabitEthernet1/0/1]ipv6 enable
[R3-PE2-GigabitEthernet1/0/1]ipv6 address 2001:34::1 64
[R3-PE2-GigabitEthernet1/0/1]undo shutdown
[R3-PE2-GigabitEthernet1/0/1]quit
<R2-PE1>ping 23.23.23.2
PING 23.23.23.2: 56 data bytes, press CTRL_C to break
Reply from 23.23.23.2: bytes=56 Sequence=1 ttl=255 time=3 ms
Reply from 23.23.23.2: bytes=56 Sequence=2 ttl=255 time=3 ms
Reply from 23.23.23.2: bytes=56 Sequence=3 ttl=255 time=2 ms
Reply from 23.23.23.2: bytes=56 Sequence=4 ttl=255 time=3 ms
Reply from 23.23.23.2: bytes=56 Sequence=5 ttl=255 time=2 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/3 ms
Huawei Confidential
6
[R3-PE2]ospf
[R3-PE2-ospf-1]area 0
[R3-PE2-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-PE2-ospf-1-area-0.0.0.0]network 23.23.23.0 0.0.0.3
[R3-PE2-ospf-1-area-0.0.0.0]quit
[R3-PE2-ospf-1]quit
3. After the configuration is complete, you can view the following routing
information on R3-PE2:
[R3-PE2]dis ospf routing
Total Nets: 3
Intra Area: 3 Inter Area: 0 ASE: 0 NSSA: 0
--------------------------------------------------------------------
Huawei Confidential
8
--------------------------------------------------------------------
3.3.3.3:0 3.3.3.3 GigabitEthernet1/0/1
--------------------------------------------------------------------
TOTAL: 1 Peer(s) Found.
--------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop
OutInterface
--------------------------------------------------------------------
2.2.2.2/32 3/NULL 3.3.3.3 127.0.0.1
InLoop0
*2.2.2.2/32 Liberal
3.3.3.3/32 NULL/3 - 23.23.23.2
GE1/0/1
3.3.3.3/32 1024/3 3.3.3.3 23.23.23.2
GE1/0/1
--------------------------------------------------------------------
TOTAL: 3 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
Huawei Confidential
9
----End
Huawei Confidential
10
IPv4/MPLS
R2-PE1 R3-PE2
GE1/0/0 GE1/0/1 GE1/0/0
::1 .1 .2 GE1/0/1
23.23.23.0/30
2001:12::/64 Lo0 :1
Lo0 2001:34::/64
GE1/0/0 2.2.2.2/32 3.3.3.3/32
::2 2001:2::2/64 2001:3::3/64 :2 GE1/0/0
Lo0 Lo0
2001:1::1/64 2001:4::4/64
R1-CE1 R4-CE2
IPv6
IPv6
Huawei Confidential
11
Huawei Confidential
12
Huawei Confidential
13
[R3-PE2]router id 3.3.3.3
[R3-PE2]ospf
[R3-PE2-ospf-1]area 0
[R3-PE2-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[R3-PE2-ospf-1-area-0.0.0.0]network 23.23.23.0 0.0.0.3
[R3-PE2-ospf-1-area-0.0.0.0]quit
[R3-PE2-ospf-1]quit
3. After the configuration is complete, you should see the following routing
information on R3-PE2.
[R3-PE2]dis ospf routing
Total Nets: 3
Intra Area: 3 Inter Area: 0 ASE: 0 NSSA: 0
--------------------------------------------------------------------
Huawei Confidential
14
--------------------------------------------------------------------
3.3.3.3:0 3.3.3.3 GigabitEthernet1/0/1
--------------------------------------------------------------------
TOTAL: 1 Peer(s) Found.
--------------------------------------------------------------------
DestAddress/Mask In/OutLabel UpstreamPeer NextHop
OutInterface
--------------------------------------------------------------------
2.2.2.2/32 3/NULL 3.3.3.3 127.0.0.1
InLoop0
*2.2.2.2/32 Liberal
3.3.3.3/32 NULL/3 - 23.23.23.2
GE1/0/1
3.3.3.3/32 1024/3 3.3.3.3 23.23.23.2
GE1/0/1
--------------------------------------------------------------------
TOTAL: 3 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
Huawei Confidential
15
Huawei Confidential
16
Huawei Confidential
17
MED : 0 PrefVal :
0
Label : 75776
Path/Ogn : 65002 ?
*> Network : 2001:12:: PrefixLen :
64
NextHop : 2001:12::2 LocPrf :
MED : 0 PrefVal :
0
Label : NULL
Path/Ogn : 65001 ?
*>i Network : 2001:34:: PrefixLen :
64
NextHop : ::FFFF:3.3.3.3 LocPrf :
100
MED : 0 PrefVal :
0
Label : 75777
Path/Ogn : 65002 ?
----End
Huawei Confidential