HP VSR1000 Configuration Manual page 169

Virtual services router ip multicast
Table of Contents

Advertisement

[PE1–bgp-default-vpnv4] quit
[PE1–bgp-default] quit
# Configure OSPF.
[PE1] ospf 1
[PE1-ospf-1] area 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 192.168.6.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure RIP.
[PE1] rip 2 vpn-instance a
[PE1-rip-2] network 10.110.1.0 0.0.0.255
[PE1-rip-2] network 10.110.2.0 0.0.0.255
[PE1-rip-2] import-route bgp
[PE1-rip-2] return
Configure PE 2:
2.
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE2> system-view
[PE2] router id 1.1.1.2
[PE2] multicast routing
[PE2-mrib] quit
# Configure an LSR ID, and enable LDP globally.
[PE2] mpls lsr-id 1.1.1.2
[PE2] mpls ldp
[PE2-ldp] quit
# Create a VPN instance named b, and configure an RD and route targets for the VPN instance.
[PE2] ip vpn-instance b
[PE2-vpn-instance-b] route-distinguisher 200:1
[PE2-vpn-instance-b] vpn-target 200:1 export-extcommunity
[PE2-vpn-instance-b] vpn-target 200:1 import-extcommunity
[PE2-vpn-instance-b] quit
# Enable IP multicast routing for VPN instance b.
[PE2] multicast routing vpn-instance a
[PE2-mrib-a] quit
# Create an MD for VPN instance b.
[PE2] multicast-domain vpn-instance b
# Create an MD IPv4 address family for VPN instance b.
[PE2-md-b] address-family ipv4
# Specify the default-group, the MD source interface, and the data-group range for VPN
instance b.
[PE2-md-b-ipv4] default-group 239.2.2.2
[PE2-md-b-ipv4] source loopback 1
[PE2-md-b-ipv4] data-group 225.4.4.0 28
[PE2-md-b-ipv4] quit
[PE2-md-b] quit
# Create a VPN instance named a, and configure an RD and route targets for the VPN instance.
[PE2] ip vpn-instance a
161

Advertisement

Table of Contents
loading

Table of Contents