https://wiki.fd.io/view/VPP/Command-line_Interface_(CLI)_Guide#packet_tracer
/neale From: Omid Zeinalpour <[email protected]> Date: Tuesday, 1 May 2018 at 08:49 To: "[email protected]" <[email protected]>, "Neale Ranns (nranns)" <[email protected]> Subject: Re: [vpp-dev] #vpp vpls configuration Thanks for reply. I change my configuration vpls based on topolgy. VPLS configuration: MPLS L2VPN VPLS ######## ######## ######## ######## VPP1-VM1 ######## set int state eth1 up set int state eth0 up set int ip address eth1 2.1.1.1/24 mpls tabel add 0 set interface mpls eth1 enable mpls tunnel l2-only via 2.1.1.2 eth1 out-labels 34 set int state mpls-tunnel0 up set interface l2 bridge mpls-tunnel0 1 set interface l2 bridge eth0 1 mpls local-label add eos 1023 via l2-input-on mpls-tunnel0 ######## ######## ######## ######## ####VPP2-VM###### set int state eth1 up set int state eth0 up set int ip address eth1 2.1.1.2/24 mpls table add 0 set interface mpls eth1 enable mpls tunnel l2-only via 2.1.1.1 eth1 out-labels 1024 set interface l2 bridge mpls-tunnel0 1 set interface l2 bridge eth0 1 mpls local-label add eos 33 via l2-input-on mpls-tunnel0 ##################################################################### dont ping between host1 and host2.now,Is my configuration vpls correct based on topology? How do I trace packet on specific node ? best regards. On Monday, April 30, 2018, 6:41:18 PM GMT+4:30, Neale Ranns <[email protected]> wrote: Looks OK to me. Packet trace maybe? Just a note, you don’t need two out-labels on your tunnel (and so you don’t need to neos entry on RX) /neale From: <[email protected]> on behalf of "omid via Lists.Fd.Io" <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, 30 April 2018 at 14:45 To: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Subject: [vpp-dev] #vpp vpls configuration [cid:[email protected]] Hi, my configurtion vpls is based on toplogy. VPLS configuration: MPLS L2VPN VPLS ######## ######## ######## ######## VPP1-VM1 ######## set int state eth1 up set int state eth0 up set int ip address eth1 2.1.1.1/24 mpls tabel add 0 set interface mpls eth1 enable mpls tunnel l2-only via 2.1.1.2 eth1 out-labels 34 out-labels 33 set int state mpls-tunnel0 up set interface l2 bridge mpls-tunnel0 1 set interface l2 bridge eth0 1 mpls local-label add eos 1023 via l2-input-on mpls-tunnel0 mpls local-label add non-eos 1024 via mpls-lookup-in-table 0 ######## ######## ######## ######## ####VPP2-VM###### set int state eth1 up set int state eth0 up set int ip address eth1 2.1.1.2/24 mpls table add 0 set interface mpls eth1 enable mpls tunnel l2-only via 2.1.1.1 eth1 out-labels 1024 out-labels 1023 set int state mpls-tunnel0 up set interface l2 bridge mpls-tunnel0 1 set interface l2 bridge eth0 1 mpls local-label add eos 33 via l2-input-on mpls-tunnel0 mpls local-label add non-eos 34 via mpls-lookup-in-table 0 ##################################################################### dont ping between host1 and host2.Is my configuration vpls correct based on topology?
