HP HPE FlexNetwork MSR Router Series Configuration Manual page 442

Table of Contents

Advertisement

[PE2-GigabitEthernet2/0/2] mpls ldp enable
[PE2-GigabitEthernet2/0/2] quit
# Configure OSPF for LDP to create LSPs.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 192.3.3.3 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Create a cross-connect group named vpna, create a cross-connect named ldp in the group,
and bind GigabitEthernet 2/0/1 to the cross-connect.
[PE2] xconnect-group vpna
[PE2-xcg-vpna] connection ldp
[PE2-xcg-vpna-ldp] ac interface gigabitethernet 2/0/1
# Create an LDP PW for the cross-connect to bind the AC to the PW.
[PE2-xcg-vpna-ldp] peer 192.2.2.2 pw-id 3
[PE2-xcg-vpna-ldp-192.2.2.2-3] quit
[PE2-xcg-vpna-ldp] quit
[PE2-xcg-vpna] quit
5.
Configure CE 2.
<CE2> system-view
[CE2] interface gigabitethernet 2/0/1
[CE2-GigabitEthernet2/0/1] ip address 100.1.1.2 24
[CE2-GigabitEthernet2/0/1] quit
Verifying the configuration
# Display L2VPN PW information on PE 1. The output shows that an LDP PW has been established.
[PE1] display l2vpn pw
Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1, 1 up, 0 blocked, 0 down, 0 defect
Xconnect-group Name: vpna
Peer
192.3.3.3
# Display L2VPN PW information on PE 2. The output shows that an LDP PW has been established.
[PE2] display l2vpn pw
Flags: M - main, B - backup, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1, 1 up, 0 blocked, 0 down, 0 defect
Xconnect-group Name: vpna
Peer
192.2.2.2
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
PW ID
In/Out Label
3
1279/1279
PW ID
In/Out Label
3
1279/1279
Proto
Flag
Link ID
LDP
M
1
Proto
Flag
Link ID
LDP
M
1
432
State
Up
State
Up

Advertisement

Table of Contents
loading

Table of Contents