Hi,

Please try:

  https://gerrit.fd.io/r/12014

you don’t need a next=hop when specifying an L2 receive path, so:
  mpls local-label add eos 1023 via l2-input-on mpls-tunnel0

regards,
neale

From: <vpp-dev@lists.fd.io> on behalf of "omid via Lists.Fd.Io" 
<zeinalpouromid=yahoo....@lists.fd.io>
Reply-To: "zeinalpouro...@yahoo.com" <zeinalpouro...@yahoo.com>
Date: Monday, 23 April 2018 at 09:26
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Cc: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] #vpp vpls configuration

Hi, I configure vpls with  following commands:


VPLS configuration:

MPLS L2VPN VPLS

######## ######## ######## ########

 ####PE1

1.create host-interface name eth0

2.create host-interface name eth1

3.set int state host-eth1 up

4.set int state host-eth0 up

5.set interface mac address host-eth0 00:03:7F:FF:FF:FF

6.set interface mac address host-eth1 00:03:7F:FF:FF:FE

7.set int ip address host-eth1 2.1.1.1/24

8.set interface mpls  host-eth1   enable

9.mpls tunnel l2-only via 2.1.1.2 host-eth1 out-label 34  out-label 33

10.set int state mpls-tunnel0 up

11.set interface l2 bridge  mpls-tunnel0 1

12.set interface l2 bridge host-eth0  1

13.mpls local-label add eos 1023  via 2.1.1.2 l2-input-on mpls-tunnel0

14.mpls local-label add non-eos 1024 mpls-lookup-in-table 0

but,when I configure vpp with command line 13.

mpls local-label add eos 1023  via 2.1.1.2 l2-input-on mpls-tunnel0
VPP crashes and exites the command line. Does anyone know what is its cause?

Reply via email to