HP HPE FlexNetwork MSR Router Series Configuration Manual page 378

Table of Contents

Advertisement

[ASBR-PE2] interface pos 2/2/0
[ASBR-PE2-Pos2/2/0] mpls enable
[ASBR-PE2-Pos2/2/0] mpls ldp enable
[ASBR-PE2-Pos2/2/0] quit
# Configure basic MPLS on PE 2, and enable MPLS LDP for both PE 2 and the interface
connected to ASBR-PE 2.
<PE2> system-view
[PE2] mpls lsr-id 4.4.4.9
[PE2] mpls ldp
[PE2-ldp] quit
[PE2] interface pos 2/2/0
[PE2-Pos2/2/0] mpls enable
[PE2-Pos2/2/0] mpls ldp enable
[PE2-Pos2/2/0] quit
# Execute the display mpls ldp session command on the routers to verify that the session
status is Operational, and that each PE and the ASBR-PE in the same AS have established an
LDP neighbor relationship. (Details not shown.)
3.
Configure a VPN instance on the PEs:
For the same VPN, the route targets for the VPN instance on the PE must match those for the
VPN instance on the ASBR-PE in the same AS. This is not required for PEs in different ASs.
# Configure CE 1.
<CE1> system-view
[CE1] interface gigabitethernet 2/0/1
[CE1-GigabitEthernet2/0/1] ipv6 address 2001:1::1 96
[CE1-GigabitEthernet2/0/1] quit
# 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/0/1
[PE1-GigabitEthernet2/0/1] ip binding vpn-instance vpn1
[PE1-GigabitEthernet2/0/1] ipv6 address 2001:1::2 96
[PE1-GigabitEthernet2/0/1] quit
# Configure CE 2.
<CE2> system-view
[CE2] interface gigabitethernet 2/0/1
[CE2-GigabitEthernet2/0/1] ipv6 address 2001:2::1 96
[CE2-GigabitEthernet2/0/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/0/1
[PE2-GigabitEthernet2/0/1] ip binding vpn-instance vpn1
[PE2-GigabitEthernet2/0/1] ipv6 address 2001:2::2 96
[PE2-GigabitEthernet2/0/1] quit
368

Advertisement

Table of Contents
loading

Table of Contents