HP FlexNetwork 10500 Series Configuration Manual page 368

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

# 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 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 Ethernet service instance 10 on GigabitEthernet 1/0/1 to match packets with an outer
VLAN ID of 10.
[PE3] interface gigabitethernet 1/0/1
[PE3-GigabitEthernet1/0/1] port link-type trunk
[PE3-GigabitEthernet1/0/1] port trunk permit vlan 10
[PE3-GigabitEthernet1/0/1] service-instance 10
[PE3-GigabitEthernet1/0/1-srv10] encapsulation s-vid 10
[PE3-GigabitEthernet1/0/1-srv10] quit
[PE3-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 GigabitEthernet 1/0/1 to the cross-connect.
[PE3] xconnect-group vpna
[PE3-xcg-vpna] connection ldp
[PE3-xcg-vpna-ldp] ac interface 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
# Verify that two LDP PWs have been established on PE 1.
<PE1> display l2vpn pw
Flags: M - main, B - backup, BY - bypass, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 2
1 up, 1 blocked, 0 down, 0 defect, 0 idle, 0 duplicate
359

Advertisement

Table of Contents
loading

Table of Contents