HP VSR1000 Configuration Manual page 197

Virtual services router ip multicast
Table of Contents

Advertisement

[PE1–bgp-default] address-family vpnv4
[PE1–bgp-default-vpnv4] peer 2.2.2.2 enable
[PE1–bgp-default-vpnv4] quit
[PE1-bgp-default] address-family ipv4 mdt
[PE1-bgp-default-mdt] peer 2.2.2.2 enable
[PE1-bgp-default-mdt] 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 10.1.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure OSPF.
[PE1] ospf 2 vpn-instance a
[PE1-ospf-2] area 0.0.0.0
[PE1-ospf-2-area-0.0.0.0] network 11.1.1.0 0.0.0.255
[PE1-ospf-2-area-0.0.0.0] quit
[PE1-ospf-2] quit
[PE1] ospf 3 vpn-instance b
[PE1-ospf-3] area 0.0.0.0
[PE1-ospf-3-area-0.0.0.0] network 11.2.1.0 0.0.0.255
[PE1-ospf-3-area-0.0.0.0] quit
[PE1-ospf-3] quit
Configure PE 2:
2.
# Configure a global router ID, and enable IP multicast routing on the public network.
<PE2> system-view
[PE2] router id 2.2.2.2
[PE2] multicast routing
[PE2-mrib] quit
# Configure an LSR ID, and enable LDP globally.
[PE2] mpls lsr-id 2.2.2.2
[PE2] mpls ldp
[PE2-ldp] quit
# Assign an IP address to GigabitEthernet 1/0/1.
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] ip address 10.2.1.2 24
# Enable PIM-SM, MPLS, and IPv4 LDP on GigabitEthernet 1/0/1.
[PE2-GigabitEthernet1/0/1] pim sm
[PE2-GigabitEthernet1/0/1] mpls enable
[PE2-GigabitEthernet1/0/1] mpls ldp enable
[PE2-GigabitEthernet1/0/1] quit
# Assign an IP address to GigabitEthernet 1/0/2.
[PE2] interface gigabitethernet 1/0/2
[PE2-GigabitEthernet1/0/2] ip address 10.3.1.1 24
# Enable PIM-SM and MPLS on GigabitEthernet 1/0/2.
189

Advertisement

Table of Contents
loading

Table of Contents