216
Table 19 Interface and IP address assignment
Device Interface
IPv4/IPv6
Device Interface IPv4/IPv6 address
S 1 — 10:110:7::2/64 PE 3 GE1/0/1 192.168.8.1/24
S 2 — 10:110:8::2/64 PE 3 GE1/0/2 10:110:5::1/64
R 1 — 10:110:1::2/64 PE 3 GE1/0/3 10:110:6::1/64
R 2 — 10:110:9::2/64 PE 3 Loop1 1.1.1.3/32
R 3 — 10:110:10::2/64 PE 3 Loop2 33.33.33.33/32
R 4 — 10:110:11::2/64 CE a1 GE1/0/1 10:110:7::1/64
P GE1/0/1 192.168.6.2/24 CE a1 GE1/0/2 10:110:2::2/64
P GE1/0/2 192.168.7.2/24 CE a2 GE1/0/1 10:110:9::1/64
P GE1/0/3 192.168.8.2/24 CE a2 GE1/0/2 10:110:4::2/64
P Loop1 2.2.2.2/32 CE a2 GE1/0/3 10:110:12::1/64
PE 1 GE1/0/1 192.168.6.1/24 CE a2 Loop1 22:22:22::22/128
PE 1 GE1/0/2 10:110:1::1/64 CE a3 GE1/0/1 10:110:10::1/64
PE 1 GE1/0/3 10:110:2::1/64 CE a3 GE1/0/2 10:110:5::2/64
PE 1 Loop1 1.1.1.1/32 CE a3 GE1/0/3 10:110:12::2/64
PE 2 GE1/0/1 192.168.7.1/24 CE b1 GE1/0/1 10:110:8::1/64
PE 2 GE1/0/2 10:110:3::1/64 CE b1 GE1/0/2 10:110:3::2/64
PE 2 GE1/0/3 10:110:4::1/64 CE b2 GE1/0/1 10:110:11::1/64
PE 2 Loop1 1.1.1.2/32 CE b2 GE1/0/2 10:110:6::2/64
Configuration procedure
1. Configure PE 1:
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE1> system-view
[PE1] router id 1.1.1.1
[PE1] multicast routing
[PE1-mrib] quit
# Configure an LSR ID, and enable LDP globally.
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls ldp
[PE1-ldp] quit
# Create a VPN instance named a, and configure the RD and route targets for the VPN
instance.
[PE1] ip vpn-instance a
[PE1-vpn-instance-a] route-distinguisher 100:1
[PE1-vpn-instance-a] vpn-target 100:1 export-extcommunity
[PE1-vpn-instance-a] vpn-target 100:1 import-extcommunity
[PE1-vpn-instance-a] quit
# Enable IPv6 multicast routing for VPN instance a.
[PE1] ipv6 multicast routing vpn-instance a
[PE1-mrib6-a] quit