HP 12500 Series Configuration Manual page 160

Mpls, routing switch series
Table of Contents

Advertisement

[Hub-PE-LoopBack0] quit
[Hub-PE] mpls lsr-id 3.3.3.9
[Hub-PE] mpls
[Hub-PE–mpls] quit
[Hub-PE] mpls ldp
[Hub-PE–mpls-ldp] quit
# Configure basic MPLS on the interface connected to Spoke-PE 1.
[Hub-PE] interface vlan-interface 10
[Hub-PE-Vlan-interface10] ip address 10.1.1.2 24
[Hub-PE-Vlan-interface10] mpls
[Hub-PE-Vlan-interface10] mpls ldp
[Hub-PE-Vlan-interface10] quit
# Configure basic MPLS on the interface connected to Spoke-PE 2.
[Hub-PE] interface vlan-interface 20
[Hub-PE-Vlan-interface20] ip address 20.1.1.2 24
[Hub-PE-Vlan-interface20] mpls
[Hub-PE-Vlan-interface20] mpls ldp
[Hub-PE-Vlan-interface20] quit
# Configure the remote LDP sessions.
[Hub-PE] mpls ldp remote-peer 1
[Hub-PE-mpls-remote-1] remote-ip 1.1.1.9
[Hub-PE-mpls-remote-1] quit
[Hub-PE] mpls ldp remote-peer 2
[Hub-PE-mpls-remote-2] remote-ip 2.2.2.9
[Hub-PE-mpls-remote-2] quit
# Enable L2VPN and MPLS L2VPN.
[Hub-PE] l2vpn
[Hub-PE-l2vpn] mpls l2vpn
[Hub-PE-l2vpn] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP, and configure the peers as
spokes.
[Hub-PE] vsi aaa static hub-spoke
[Hub-PE-vsi-aaa] pwsignal ldp
[Hub-PE-vsi-aaa-ldp] vsi-id 500
[Hub-PE-vsi-aaa-ldp] peer 1.1.1.9 spoke
[Hub-PE-vsi-aaa-ldp] peer 2.2.2.9 spoke
[Hub-PE-vsi-aaa-ldp] quit
[Hub-PE-vsi-aaa] quit
# On the interface GigabitEthernet 3/0/1 connected to Hub-CE, create a service instance and
bind VPLS instance aaa to the service instance.
[Hub-PE] interface GigabitEthernet 3/0/1
[Hub-PE-GigabitEthernet3/0/1] service-instance 1000
[Hub-PE-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 100
[Hub-PE-GigabitEthernet3/0/1-srv1000] xconnect vsi aaa hub
[Hub-PE-GigabitEthernet3/0/1-srv1000] quit
[Hub-PE-GigabitEthernet3/0/1] quit
Verify the configuration.
5.
152

Advertisement

Table of Contents
loading

Table of Contents