[PE-C] mpls
[PE-C-mpls] quit
[PE-C] mpls ldp
[PE-C-mpls-ldp] quit
# Configure Eth-Trunk 10 as the multicast loopback interface.
[PE-C] interface eth-trunk 10
[PE-C-Eth-Trunk10] trunkport GigabitEthernet 3/0/5
[PE-C-Eth-Trunk10] service type multicast-tunnel
[PE-C-Eth-Trunk10] quit
# Create a VPN-RED instance and enter the VPN instance view. Configure the VPN IPv4 prefix
and create ingress and egress routes of the instance. Start an IP multicast route and configure
the Share-Group. Specify the MTI to be bound to the VPN instance and switch-address-pool
range of Switch-MDT.
[PE-C] ip vpn-instance RED
[PE-C-vpn-instance-RED] route-distinguisher 100:1
[PE-C-vpn-instance-RED] vpn-target 100:1 export-extcommunity
[PE-C-vpn-instance-RED] vpn-target 100:1 import-extcommunity
[PE-C-vpn-instance-RED] multicast routing-enable
[PE-C-vpn-instance-RED] multicast-domain share-group 239.1.1.1 binding mtunnel 0
[PE-C-vpn-instance-RED] multicast-domain switch-group-pool 225.2.2.1 28
# Create a VPN-BLUE instance and enter the VPN instance view. Configure the VPN IPv4
prefix and create ingress and egress routes of the instance. Start an IP multicast route and
configure the Share-Group. Specify the MTI to be bound to the VPN instance and switch-
address-pool range of Switch-MDT.
[PE-C] ip vpn-instance BLUE
[PE-C-vpn-instance-BLUE] route-distinguisher 200:1
[PE-C-vpn-instance-BLUE] vpn-target 200:1 export-extcommunity
[PE-C-vpn-instance-BLUE] vpn-target 200:1 import-extcommunity
[PE-C-vpn-instance-BLUE] multicast routing-enable
[PE-C-vpn-instance-BLUE] multicast-domain share-group 239.2.2.2 binding mtunnel 1
[PE-C-vpn-instance-BLUE] multicast-domain switch-group-pool 225.4.4.1 28
# Enable LDP on GigabitEthernet 1/0/0 and start PIM-SM.
[PE-C] interface gigabitethernet 1/0/0
[PE-C-GigabitEthernet1/0/0] port hybrid pvid vlan 100
[PE-C-GigabitEthernet1/0/0] port hybrid untagged vlan 100
[PE-C-GigabitEthernet1/0/0] quit
[PE-C] interface vlanif 100
[PE-C-Vlanif100] ip address 192.168.8.1 24
[PE-C-Vlanif100] pim sm
[PE-C-Vlanif100] mpls
[PE-C-Vlanif100] mpls ldp
# Bind GigabitEthernet 2/0/0 to the VPN-RED instance, and start PIM-SM.
[PE-C] interface gigabitethernet 2/0/0
[PE-C-GigabitEthernet2/0/0] port hybrid pvid vlan 110
[PE-C-GigabitEthernet2/0/0] port hybrid untagged vlan 110
[PE-C-GigabitEthernet2/0/0] quit
[PE-C] interface vlanif 110
[PE-C-Vlanif110] ip binding vpn-instance RED
[PE-C-Vlanif110] ip address 10.110.5.1 24
[PE-C-Vlanif110] pim sm
# Bind GigabitEthernet 3/0/0 to the VPN-BLUE instance, and start PIM-SM.
[PE-C] interface gigabitethernet 3/0/0
[PE-C-GigabitEthernet3/0/0] port hybrid pvid vlan 120
[PE-C-GigabitEthernet3/0/0] port hybrid untagged vlan 120
[PE-C-GigabitEthernet3/0/0] quit
[PE-C] interface vlanif 120
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
303