HP 12500 Series Configuration Manual page 152

Mpls, routing switch series
Table of Contents

Advertisement

[PE1-bgp-af-vpls] quit
[PE1-bgp] quit
# Enable L2VPN and MPLS L2VPN.
[PE1] l2vpn
[PE1-l2vpn] mpls l2vpn
[PE1-l2vpn] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[PE1] vsi aaa static
[PE1-vsi-aaa] pwsignal ldp
[PE1-vsi-aaa-ldp] vsi-id 500
[PE1-vsi-aaa-ldp] peer 2.2.2.9
[PE1-vsi-aaa-ldp] quit
[PE1-vsi-aaa] quit
# Configure the basic attributes of VPLS instance bbb, which uses BGP.
[PE1] vsi bbb auto
[PE1-vsi-bbb] pwsignal bgp
[PE1-vsi-bbb-bgp] route-distinguisher 100:1
[PE1-vsi-bbb-bgp] vpn-target 111:1
[PE1-vsi-bbb-bgp] site 1 range 10
[PE1-vsi-bbb-bgp] quit
[PE1-vsi-bbb] quit
# On interface GigabitEthernet 3/0/1 connected to CE 1, create service instances and bind the
VPLS instances.
[PE1] interface GigabitEthernet 3/0/1
[PE1-GigabitEthernet3/0/1] service-instance 1000
[PE1-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 100
[PE1-GigabitEthernet3/0/1-srv1000] xconnect vsi aaa
[PE1-GigabitEthernet3/0/1-srv1000] quit
[PE1-GigabitEthernet3/0/1] service-instance 2000
[PE1-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 200
[PE1-GigabitEthernet3/0/1-srv1000] xconnect vsi bbb
[PE1-GigabitEthernet3/0/1-srv1000] quit
Configure PE 2.
2.
# Configure the IGP protocol, which is OSPF in this example. (Details not shown)
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname PE2
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 2.2.2.9 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 2.2.2.9
[PE2] mpls
[PE1-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
# Configure interface VLAN-interface 10.
[PE2] interface vlan-interface 10
144

Advertisement

Table of Contents
loading

Table of Contents