HP 12500 Series Configuration Manual page 158

Mpls, routing switch series
Table of Contents

Advertisement

Configuration procedure
Configure the IGP protocol on the MPLS backbone, which is OSPF in this example. (Details not
1.
shown)
Configure Spoke-PE 1.
2.
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname Spoke-PE1
[Spoke-PE1] interface loopback 0
[Spoke-PE1-LoopBack0] ip address 1.1.1.9 32
[Spoke-PE1-LoopBack0] quit
[Spoke-PE1] mpls lsr-id 1.1.1.9
[Spoke-PE1] mpls
[Spoke-PE1–mpls] quit
[Spoke-PE1] mpls ldp
[Spoke-PE1-mpls-ldp] quit
# Configure basic MPLS on the interface connected to Hub-PE.
[Spoke-PE1] interface vlan-interface 10
[Spoke-PE1-Vlan-interface10] ip address 10.1.1.1 24
[Spoke-PE1-Vlan-interface10] mpls
[Spoke-PE1-Vlan-interface10] mpls ldp
[Spoke-PE1-Vlan-interface10] quit
# Configure the remote LDP peer Hub-PE.
[Spoke-PE1] mpls ldp remote-peer 1
[Spoke-PE1-mpls-remote-1] remote-ip 3.3.3.9
[Spoke-PE1-mpls-remote-1] quit
# Enable L2VPN and MPLS L2VPN.
[Spoke-PE1] l2vpn
[Spoke-PE1-l2vpn] mpls l2vpn
[Spoke-PE1-l2vpn] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP, and configure the peer as
the hub.
[Spoke-PE1] vsi aaa static hub-spoke
[Spoke-PE1-vsi-aaa] pwsignal ldp
[Spoke-PE1-vsi-aaa-ldp] vsi-id 500
[Spoke-PE1-vsi-aaa-ldp] peer 3.3.3.9 hub
[Spoke-PE1-vsi-aaa-ldp] quit
[Spoke-PE1-vsi-aaa] quit
# On the interface GigabitEthernet 3/0/1 connected to Spoke-CE 1, create a service instance and
bind the service instance with VPLS instance aaa.
[Spoke-PE1] interface GigabitEthernet 3/0/1
[Spoke-PE1-GigabitEthernet3/0/1] service-instance 1000
[Spoke-PE1-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 100
[Spoke-PE1-GigabitEthernet3/0/1-srv1000] xconnect vsi aaa spoke
[Spoke-PE1-GigabitEthernet3/0/1-srv1000] quit
[Spoke-PE1-GigabitEthernet3/0/1] quit
Configure Spoke-PE 2.
3.
150

Advertisement

Table of Contents
loading

Table of Contents