HP MSR2000 Configuration Manual page 350

Msr series mpls
Hide thumbs Also See for MSR2000:
Table of Contents

Advertisement

# Configure PE 1.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 100:1
[PE1-vpn-instance-vpn1] vpn-target 100:1 both
[PE1-vpn-instance-vpn1] quit
[PE1] interface gigabitethernet 2/1/1
[PE1-GigabitEthernet2/1/1] ip binding vpn-instance vpn1
[PE1-GigabitEthernet2/1/1] ipv6 address 2001:1::2 96
[PE1-GigabitEthernet2/1/1] quit
# Configure CE 2.
<CE2> system-view
[CE2] interface gigabitethernet 2/1/1
[CE2-GigabitEthernet2/1/1] ipv6 address 2001:2::1 96
[CE2-GigabitEthernet2/1/1] quit
# Configure PE 2.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 200:1
[PE2-vpn-instance-vpn1] vpn-target 200:1 both
[PE2-vpn-instance-vpn1] quit
[PE2] interface gigabitethernet 2/1/1
[PE2-GigabitEthernet2/1/1] ip binding vpn-instance vpn1
[PE2-GigabitEthernet2/1/1] ipv6 address 2001:2::2 96
[PE2-GigabitEthernet2/1/1] quit
# On ASBR-PE 1, create a VPN instance, and bind the VPN instance to the interface connected to
ASBR-PE 2. ASBR-PE 1 considers ASBR-PE 2 to be its attached CE.
[ASBR-PE1] ip vpn-instance vpn1
[ASBR-PE1-vpn-vpn1] route-distinguisher 100:1
[ASBR-PE1-vpn-vpn1] vpn-target 100:1 both
[ASBR-PE1-vpn-vpn1] quit
[ASBR-PE1] interface pos 2/1/1
[ASBR-PE1-Pos2/1/1] ip binding vpn-instance vpn1
[ASBR-PE1-Pos2/1/1] ipv6 address 2002:1::1 96
[ASBR-PE1-Pos2/1/1] quit
# On ASBR-PE 2, create a VPN instance, and bind the VPN instance to the interface connected to
ASBR-PE 1. ASBR-PE 2 considers ASBR-PE 1 to be its attached CE.
[ASBR-PE2] ip vpn-instance vpn1
[ASBR-PE2-vpn-vpn1] route-distinguisher 200:1
[ASBR-PE2-vpn-vpn1] vpn-target 200:1 both
[ASBR-PE2-vpn-vpn1] quit
[ASBR-PE2] interface pos 2/1/1
[ASBR-PE2-Pos2/1/1] ip binding vpn-instance vpn1
[ASBR-PE2-Pos2/1/1] ipv6 address 2002:1::2 96
[ASBR-PE2-Pos2/1/1] quit
# Execute the display ip vpn-instance command to display VPN instance information. Each PE can
ping its attached CE, and ASBR-PE 1 and ASBR-PE 2 can ping each other.
4.
Establish EBGP peer relationships between PEs and CEs to allow them to exchange VPN routes:
# Configure CE 1.
341

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents