HP 6127xlg Configuration Manual page 367

Blade switch series
Hide thumbs Also See for 6127xlg:
Table of Contents

Advertisement

[PE3-LoopBack0] quit
[PE3] mpls lsr-id 3.3.3.3
# Enable global MPLS LDP.
[PE3] mpls ldp
[PE3-ldp] quit
# Configure VLAN interface 13 (the interface connected to PE 1), and enable LDP on it.
[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 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 Ethernet service instance 10 on Ten-GigabitEthernet 1/0/1 to match packets that have
an outer VLAN ID of 10.
[PE3] interface ten-gigabitethernet 1/0/1
[PE3-Ten-GigabitEthernet1/0/1] port link-type trunk
[PE3-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[PE3-Ten-GigabitEthernet1/0/1] service-instance 10
[PE3-Ten-GigabitEthernet1/0/1-srv10] encapsulation s-vid 10
[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, and
bind Ethernet service instance 10 on Ten-GigabitEthernet 1/0/1 to the cross-connect.
[PE3] xconnect-group vpna
[PE3-xcg-vpna] connection ldp
[PE3-xcg-vpna-ldp] ac interface ten-gigabitethernet 1/0/1 service-instance 10
# Create an LDP PW for the cross-connect to bind the AC to the PW.
[PE3-xcg-vpna-ldp] peer 1.1.1.1 pw-id 30
[PE3-xcg-vpna-ldp-1.1.1.1-30] quit
[PE3-xcg-vpna-ldp] quit
[PE3-xcg-vpna] quit
5.
Configure CE 2.
<CE2> system-view
[CE2] interface vlan-interface 10
[CE2-Vlan-interface10] ip address 100.1.1.2 24
[CE2-Vlan-interface10] quit
Verifying the configuration
# Display L2VPN PW information on PE 1. The output shows that two LDP PWs have been established.
358

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents