HP 12500 Series Configuration Manual page 153

Mpls, routing switch series
Table of Contents

Advertisement

[PE2-Vlan-interface10] ip address 10.10.10.11 24
# Configure basic MPLS on the VLAN interface.
[PE2-Vlan-interface10] mpls
[PE2-Vlan-interface10] mpls ldp
[PE2-Vlan-interface10] quit
# Configure the remote LDP session.
[PE2] mpls ldp remote-peer 2
[PE2-mpls-remote-2] remote-ip 1.1.1.9
[PE2-mpls-remote-2] quit
# Configure BGP extensions.
[PE2] bgp 100
[PE2-bgp] peer 1.1.1.9 as-number 100
[PE2-bgp] peer 1.1.1.9 connection-interface loopback 0
[PE2-bgp] vpls-family
[PE2-bgp-af-vpls] peer 1.1.1.9 enable
[PE2-bgp-af-vpls] quit
[PE2-bgp] quit
# Enable L2VPN and MPLS L2VPN.
[PE2] l2vpn
[PE2-l2vpn] mpls l2vpn
[PE2-l2vpn] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[PE2] vsi aaa static
[PE2-vsi-aaa] pwsignal ldp
[PE2-vsi-aaa-ldp] vsi-id 500
[PE2-vsi-aaa-ldp] peer 1.1.1.9
[PE2-vsi-aaa-ldp] quit
[PE2-vsi-aaa] quit
# Configure the basic attributes of VPLS instance bbb, which uses BGP.
[PE2] vsi bbb auto
[PE2-vsi-bbb] pwsignal bgp
[PE2-vsi-bbb-bgp] route-distinguisher 100:1
[PE2-vsi-bbb-bgp] vpn-target 111:1
[PE2-vsi-bbb-bgp] site 2 range 10
[PE2-vsi-bbb-bgp] quit
[PE2-vsi-bbb] quit
# On interface GigabitEthernet 3/0/1 connected to CE 2, create service instances and bind the
VPLS instances.
[PE2] interface GigabitEthernet 3/0/1
[PE2-GigabitEthernet3/0/1] service-instance 1000
[PE2-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 100
[PE2-GigabitEthernet3/0/1-srv1000] xconnect vsi aaa
[PE2-GigabitEthernet3/0/1-srv1000] quit
[PE2-GigabitEthernet3/0/1] service-instance 2000
[PE2-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 200
[PE2-GigabitEthernet3/0/1-srv1000] xconnect vsi bbb
[PE2-GigabitEthernet3/0/1-srv1000] quit
145

Advertisement

Table of Contents
loading

Table of Contents