HP MSR1002-4 Configuration Manual page 246

Flexnetwork msr series
Hide thumbs Also See for MSR1002-4:
Table of Contents

Advertisement

# Create a VPN instance named a, and configure an RD and route targets for the VPN instance.
[PE4] ip vpn-instance a
[PE4-vpn-instance-a] route-distinguisher 100:1
[PE4-vpn-instance-a] vpn-target 100:1 export-extcommunity
[PE4-vpn-instance-a] vpn-target 100:1 import-extcommunity
[PE4-vpn-instance-a] quit
# Enable IP multicast routing for VPN instance a.
[PE4] multicast routing vpn-instance a
[PE4-mrib-a] quit
# Create an MD for VPN instance a.
[PE4] multicast-domain vpn-instance a
# Create an MD IPv4 address family for VPN instance a.
[PE4-md-a] address-family ipv4
# Specify the default-group, the MD source interface, and the data-group range for VPN
instance a.
[PE4-md-a-ipv4] default-group 239.1.1.1
[PE4-md-a-ipv4] source loopback 1
[PE4-md-a-ipv4] data-group 225.1.1.0 28
[PE4-md-a-ipv4] quit
[PE4-md-a] quit
# Create a VPN instance named b, and configure an RD and route targets for the VPN instance.
[PE4] ip vpn-instance b
[PE4-vpn-instance-b] route-distinguisher 200:1
[PE4-vpn-instance-b] vpn-target 200:1 export-extcommunity
[PE4-vpn-instance-b] vpn-target 200:1 import-extcommunity
[PE4-vpn-instance-b] quit
# Enable IP multicast routing for VPN instance b.
[PE4] multicast routing vpn-instance b
[PE4-mrib-b] quit
# Create an MD for VPN instance b.
[PE4] multicast-domain vpn-instance b
# Create an MD IPv4 address family for VPN instance b.
[PE4-md-b] address-family ipv4
# Specify the default-group, MD source interface, and the data-group range for VPN instance b.
[PE4-md-b-ipv4] default-group 239.4.4.4
[PE4-md-b-ipv4] source loopback 1
[PE4-md-b-ipv4] data-group 225.4.4.0 28
[PE4-md-b-ipv4] quit
[PE4-md-b] quit
# Assign an IP address to GigabitEthernet 1/0/1.
[PE4] interface gigabitethernet 1/0/1
[PE4-GigabitEthernet1/0/1] ip address 10.10.2.2 24
# Enable PIM-SM, MPLS, and IPv4 LDP on GigabitEthernet 1/0/1.
[PE4-GigabitEthernet1/0/1] pim sm
[PE4-GigabitEthernet1/0/1] mpls enable
[PE4-GigabitEthernet1/0/1] mpls ldp enable
[PE4-GigabitEthernet1/0/1] quit
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents