HP 10500 Series Configuration Manual page 257

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

# Configure an LSR ID.
<PE3> system-view
[PE3] interface loopback 0
[PE3-LoopBack0] ip address 3.3.3.3 32
[PE3-LoopBack0] quit
[PE3] mpls lsr-id 3.3.3.3
# Enable global MPLS LDP.
[PE3] mpls ldp
[PE3-ldp] quit
# Create an LDP session to PE 3 .
[PE3] interface vlan-interface 13
[PE3-Vlan-interface13] ip address 13.1.1.3 24
[PE3-Vlan-interface13] mpls enable
[PE3-Vlan-interface13] mpls ldp enable
[PE3-Vlan-interface13] quit
# Configure OSPF on PE 3 for LDP to create LSPs.
[PE3] ospf
[PE3-ospf-1] area 0
[PE3-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255
[PE3-ospf-1-area-0.0.0.0] network 3.3.3.3 0.0.0.0
[PE3-ospf-1-area-0.0.0.0] quit
[PE3-ospf-1] quit
# Enable L2VPN.
[PE3] l2vpn enable
# Create the service instance 10 on Ten-GigabitEthernet 1/0/1 to match packets with VLAN ID
10.
[PE3] interface ten-gigabitethernet1/0/1
[PE3-Ten-GigabitEthernet1/0/1] service-instance 10
[PE3-Ten-GigabitEthernet1/0/1-srv10] encapsulation default
[PE3-Ten-GigabitEthernet1/0/1-srv10] quit
[PE3-Ten-GigabitEthernet1/0/1] quit
# Create a cross-connect group named vpna, create a cross-connect named ldp in the group, bind
the service instance 10 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.
[PE3] xconnect-group vpna
[PE3-xcg-vpna] connection ldp
[PE3-xcg-vpna-ldp] ac interface ten-gigabitethernet 1/0/1 service-instance 10
[PE3-xcg-vpna-ldp] peer 1.1.1.1 pw-id 20
[PE3-xcg-vpna-ldp-1.1.1.1-20] quit
[PE3-xcg-vpna-ldp] quit
[PE3-xcg-vpna] quit
Configure CE 2:
5.
<CE2> system-view
[CE2] interface vlan-interface 10
[CE2-Vlan-interface10] ip address 100.1.1.2 24
251

Advertisement

Table of Contents
loading

Table of Contents