493
Configuration procedure
1.
Configure an IGP and public tunnels on each PE. (Details not shown.)
2.
Configure UPE:
# Configure basic MPLS.
<UPE> system-view
[UPE] interface loopback 0
[UPE-LoopBack0] ip address 1.1.1.1 32
[UPE-LoopBack0] quit
[UPE] mpls lsr-id 1.1.1.1
[UPE] mpls ldp
[UPE-ldp] quit
# Enable L2VPN.
[UPE] l2vpn enable
# Configure VSI
aaa
that uses LDP as the PW signaling protocol, and establish the primary PW
to NPE 1 and the backup PW to NPE 2.
[UPE] vsi aaa
[UPE-vsi-aaa] pwsignaling ldp
[UPE-vsi-aaa-ldp] peer 2.2.2.2 pw-id 500
[UPE-vsi-aaa-ldp-2.2.2.2-500] backup-peer 3.3.3.3 pw-id 500
[UPE-vsi-aaa-ldp-3.3.3.3-500-backup] quit
[UPE-vsi-aaa-ldp-2.2.2.2-500] quit
[UPE-vsi-aaa-ldp] quit
[UPE-vsi-aaa] quit
# Bind GigabitEthernet 2/0/1 (the interface connected to CE 1) to VSI
aaa
.
[UPE] interface gigabitethernet 2/0/1
[UPE-GigabitEthernet2/0/1] xconnect vsi aaa
[UPE-GigabitEthernet2/0/1] quit
# Bind GigabitEthernet 2/0/2 (the interface connected to CE 2) to VSI
aaa
.
[UPE] interface gigabitethernet 2/0/2
[UPE-GigabitEthernet2/0/2] xconnect vsi aaa
[UPE-GigabitEthernet2/0/2] quit
3.
Configure NPE 1:
# Configure basic MPLS.
<NPE1> system-view
[NPE1] interface loopback 0
[NPE1-LoopBack0] ip address 2.2.2.2 32
[NPE1-LoopBack0] quit
[NPE1] mpls lsr-id 2.2.2.2
[NPE1] mpls ldp
[NPE1–ldp] quit
# Enable L2VPN.
[NPE1] l2vpn enable
# Configure VSI
aaa
that uses LDP as the PW signaling protocol, and establish PWs to UPE,
NPE 2, and NPE 3.
[NPE1] vsi aaa
[NPE1-vsi-aaa] pwsignaling ldp
[NPE1-vsi-aaa-ldp] peer 1.1.1.1 pw-id 500 no-split-horizon
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...