background image

 

H3C S12500 Multicast VPN Configuration 

Examples 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Copyright © 2014 Hangzhou H3C Technologies Co., Ltd. All rights reserved. 
No part of this manual may be reproduced or transmitted in any form or by any means 
without prior written consent of Hangzhou H3C Technologies Co., Ltd. 
The information in this document is subject to change without notice. 

 

Summary of Contents for S12500 Series

Page 1: ...zhou H3C Technologies Co Ltd All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co Ltd T...

Page 2: ...er AS option A MD VPN 9 Network requirements 9 Requirements analysis 10 Software version used 10 Configuration restrictions and guidelines 10 Configuration procedures 10 Verifying the configuration 15...

Page 3: ...ra AS MD VPN Network requirements As shown in Figure 1 Customer A has two branches that connect to the MPLS L3VPN network of a service provider PIM SM runs within the two branches The multicast source...

Page 4: ...he default group and the MD source interface are specified and the MD source interface obtains the public IP address You must enable the same PIM mode on all interfaces that belong to the same VPN ins...

Page 5: ...Back1 pim sm PE1 LoopBack1 quit On P enable IP multicast routing and enable PIM SM on the public network interfaces P multicast routing P mrib quit P interface vlan interface 2 P Vlan interface2 pim s...

Page 6: ...interface 20 CEa2 Vlan interface20 igmp enable CEa2 Vlan interface20 quit On PE 1 create VPN instance customerA PE1 ip vpn instance customerA PE1 vpn instance customerA route distinguisher 100 1 PE1 v...

Page 7: ...group 225 2 2 0 28 PE1 md customerA quit On PE 2 create an MD for VPN instance customerA and specify the default group MD source interface and data group range PE2 multicast domain vpn instance custom...

Page 8: ...rmation None The output shows that an RPT for 239 1 1 1 an SPT for 1 1 1 1 239 1 1 1 and an SPT for 1 1 1 2 239 1 1 1 have been established on the public network The RPT and SPTs constitute the defaul...

Page 9: ...11 1 export extcommunity vlan 3 vlan 12 interface LoopBack1 ip address 1 1 1 2 255 255 255 255 pim sm interface Vlan interface3 ip address 192 168 2 2 255 255 255 0 pim sm interface Vlan interface12 i...

Page 10: ...uting pim c bsr 3 3 3 3 c rp 3 3 3 3 CE a1 vlan 10 to 11 interface LoopBack0 ip address 2 2 2 2 255 255 255 255 pim sm interface Vlan interface10 ip address 10 11 3 1 255 255 255 0 pim sm interface Vl...

Page 11: ...AS option A solution PIM SM runs within the two branches The multicast source and the receiver host are in different branches Configure inter AS option A MD VPN so that the receiver host can receive t...

Page 12: ...on used This configuration example was created and verified on S12500 CMW710 R7328P02 Configuration restrictions and guidelines When you configure the inter AS option A MD VPN follow these restriction...

Page 13: ...le IP multicast routing and enable PIM SM on the public network interfaces PE1 multicast routing PE1 mrib quit PE1 interface vlan interface 2 PE1 Vlan interface2 pim sm PE1 Vlan interface2 quit PE1 in...

Page 14: ...or the VPN instances enable PIM SM on the VPN instance interfaces and enable IGMP on the interfaces that have receiver hosts attached NOTE The route targets for the same VPN instance on the ASBRs and...

Page 15: ...ace11 pim sm PE1 Vlan interface11 quit On PE 2 create VPN instance customerA PE2 ip vpn instance customerA PE2 vpn instance customerA route distinguisher 12 12 PE2 vpn instance customerA vpn target 3...

Page 16: ...customerA ASBR PE2 mrib customerA quit ASBR PE2 interface vlan interface 3 ASBR PE2 Vlan interface3 pim sm ASBR PE2 Vlan interface3 quit 5 Configure the MD for the VPN instance On PE 1 create an MD fo...

Page 17: ...y 239 1 1 1 RP 11 11 11 11 local Protocol pim sm Flag SPT LOC ACT UpTime 02 54 43 Upstream interface Register Upstream neighbor NULL RPF prime neighbor NULL Downstream interface s information Total nu...

Page 18: ...ting vpn instance customerA multicast domain vpn instance customerA source LoopBack1 default group 239 1 1 1 data group 225 1 1 0 255 255 255 240 PE 2 ip vpn instance customerA route distinguisher 200...

Page 19: ...mmunity vpn target 100 1 export extcommunity vlan 2 to 3 interface LoopBack1 ip address 1 1 1 2 255 255 255 255 pim sm interface LoopBack2 ip address 11 11 11 11 255 255 255 255 pim sm interface Vlan...

Page 20: ...ss 22 22 22 22 255 255 255 255 pim sm interface Vlan interface3 ip binding vpn instance customerA ip address 192 168 2 2 255 255 255 0 pim sm interface Vlan interface4 ip address 192 168 3 2 255 255 2...

Page 21: ...2 255 255 255 0 pim sm interface Vlan interface20 ip address 10 11 4 1 255 255 255 0 igmp enable multicast routing Example Configuring inter AS option C MD VPN Network requirements As shown in Figure...

Page 22: ...24 ASBR PE2 Loopback 2 22 22 22 22 3 2 ASBR PE1 VLAN interface 3 192 168 2 1 24 PE 2 VLAN interface 4 192 168 3 1 2 4 ASBR PE1 Loopback 1 1 1 1 2 32 PE 2 VLAN interface 12 10 11 2 1 24 ASBR PE1 Loopba...

Page 23: ...each interface on CE a1 according to Table 3 CEa1 system view CEa1 interface vlan interface 10 CEa1 Vlan interface10 ip address 10 11 3 1 24 CEa1 Vlan interface10 quit CEa1 interface loopback 0 CEa1...

Page 24: ...im c rp 11 11 11 11 ASBR PE1 pim quit Configure VLAN interface 3 as a PIM SM domain boarder ASBR PE1 interface vlan interface 3 ASBR PE1 Vlan interface3 pim bsr boundary ASBR PE1 Vlan interface3 quit...

Page 25: ...r ASBR PE2 msdp ASBR PE2 msdp encap data enable ASBR PE2 msdp peer 192 168 2 1 connect interface vlan interface 3 5 Enable IP multicast routing for the VPN instance enable PIM SM on the private networ...

Page 26: ...VPN instance customerA and enable PIM SM on VLAN interface 11 PE1 multicast routing vpn instance customerA PE1 mrib customerA quit PE1 interface vlan interface 11 PE1 Vlan interface11 pim sm PE1 Vlan...

Page 27: ...rifying the configuration Verify that the default MDT has been established on the public network in each AS on PEs and ASBR PEs The following example shows PIM routing table for the public network on...

Page 28: ...blic network Configuration files PE 1 ip vpn instance customerA route distinguisher 11 11 vpn target 3 3 import extcommunity vpn target 3 3 export extcommunity vlan 2 vlan 11 interface LoopBack1 ip ad...

Page 29: ...ip binding vpn instance customerA ip address 10 11 2 1 255 255 255 0 pim sm multicast routing multicast routing vpn instance customerA multicast domain vpn instance customerA source LoopBack1 default...

Page 30: ...LoopBack1 ip address 1 1 1 3 255 255 255 255 pim sm interface LoopBack2 ip address 22 22 22 22 255 255 255 255 pim sm interface Vlan interface3 ip address 192 168 2 2 255 255 255 0 pim sm pim bsr bou...

Page 31: ...ticast routing pim c bsr 2 2 2 2 c rp 2 2 2 2 CE a2 vlan 12 vlan 20 interface Vlan interface12 ip address 10 11 2 2 255 255 255 0 pim sm interface Vlan interface20 ip address 10 11 4 1 255 255 255 0 i...

Reviews: