HP 10500 Series Configuration Manual page 261

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

# Create a cross-connect group named vpn1, create a cross-connect named ldp in the group, bind
service instance 1000 on Ten-GigabitEthernet 1/0/1 to the cross-connect, and create an LDP PW
for the cross-connect to bind the AC to the PW.
[PE1] xconnect-group vpn1
[PE1-xcg-vpn1] connection ldp
[PE1-xcg-vpn1-ldp] ac interface ten-gigabitethernet1/0/1 service-instance 1000
[PE1-xcg-vpn1-ldp] peer 192.4.4.4 pw-id 1000
[PE1-xcg-vpn1-ldp-192.4.4.4-1000] quit
[PE1-xcg-vpn1-ldp] quit
[PE1-xcg-vpn1] quit
Configure P:
3.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 192.4.4.4 32
[P-LoopBack0] quit
# Configure an LSR ID.
[P] mpls lsr-id 192.4.4.4
# Enable L2VPN.
[P] l2vpn enable
# Configure a tunnel between PE 1 and P, and a tunnel between P and PE 2.
# Create a cross-connect group named vpn1, create a cross-connect named ldpsvc in the group,
and create an LDP PW and a static PW for the cross-connect to form a multi-segment PW that
includes the two PWs.
[P] xconnect-group vpn1
[P-xcg-vpn1] connection ldpsvc
[P-xcg-vpn1-ldpsvc] peer 192.2.2.2 pw-id 1000
[P-xcg-vpn1-ldpsvc-192.2.2.2-1000] quit
[P-xcg-vpn1-ldpsvc] peer 192.3.3.3 pw-id 1000 in-label 100 out-label 200
[P-xcg-vpn1-ldpsvc-192.3.3.3-1000] quit
[P-xcg-vpn1-ldpsvc] quit
[P-xcg-vpn1] quit
Configure PE 2:
4.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 192.3.3.3 32
[PE2-LoopBack0] quit
# Configure an LSR ID.
[PE2] mpls lsr-id 192.3.3.3
# Enable L2VPN.
[PE2] l2vpn enable
# Configure a tunnel between P and PE 2.
# Create a service instance on Ten-GigabitEthernet 1/0/1 connected to CE 2.
[PE2] interface ten-gigabitethernet1/0/1
[PE2-Ten-GigabitEthernet1/0/1] service-instance 1000
255

Advertisement

Table of Contents
loading

Table of Contents