HP VSR1000 Configuration Manual page 199

Virtual services router ip multicast
Table of Contents

Advertisement

# Assign an IP address to GigabitEthernet 1/0/2.
[PE3] interface gigabitethernet 1/0/2
[PE3-GigabitEthernet1/0/2] ip address 10.3.1.2 24
# Enable PIM-SM and MPLS on GigabitEthernet 1/0/2.
[PE3-GigabitEthernet1/0/2] pim sm
[PE3-GigabitEthernet1/0/2] mpls enable
[PE3-GigabitEthernet1/0/2] quit
# Assign an IP address to Loopback 1, and enable PIM-SM on the interface.
[PE3] interface loopback 1
[PE3-LoopBack1] ip address 3.3.3.3 32
[PE3-LoopBack1] pim sm
[PE3-LoopBack1] quit
# Configure BGP.
[PE3] bgp 200
[PE3-bgp-default] group 4.4.4.4 as-number 200
[PE3-bgp-default] peer 4.4.4.4 connect-interface loopback 1
[PE3-bgp-default] peer 10.3.1.1 as-number 100
[PE3-bgp-default] address-family vpnv4
[PE3-bgp-default-vpnv4] undo policy vpn-target
[PE3-bgp-default-vpnv4] peer 4.4.4.4 enable
[PE3-bgp-default-vpnv4] peer 10.3.1.1 enable
[PE3-bgp-default-vpnv4] quit
[PE3-bgp-default] address-family ipv4 mdt
[PE3-bgp-default-mdt] peer 4.4.4.4 enable
[PE3-bgp-default-mdt] peer 10.3.1.1 enable
[PE3-bgp-default-mdt] quit
[PE3–bgp-default] quit
# Configure OSPF.
[PE3] ospf 1
[PE3-ospf-1] area 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.255
[PE3-ospf-1-area-0.0.0.0] quit
[PE3-ospf-1] quit
Configure PE 4:
4.
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE4> system-view
[PE4] router id 4.4.4.4
[PE4] multicast routing
[PE4-mrib] quit
# Configure an LSR ID, and enable LDP globally.
[PE4] mpls lsr-id 4.4.4.4
[PE4] mpls ldp
[PE4-ldp] quit
# Create a VPN instance named a, and configure the RD and route targets for the VPN
instance.
[PE4] ip vpn-instance a
[PE4-vpn-instance-a] route-distinguisher 100:1
191

Advertisement

Table of Contents
loading

Table of Contents