Hi Marek,
You need to add ‘via’ keyword before the path:
DBGvpp# mpls local-label add non-eos 102 via mpls-lookup-in-table 0
DBGvpp# sh mpls fib 102
sh mpls fib 102
MPLS-VRF:0, fib_index 0
102:neos/21 fib:0 index:13 locks:2
src:CLI refs:1
index:17 locks:2 flags:shared, uPRF-list:13 len:0 itfs:[]
index:17 pl-index:17 mpls weight=1 pref=0 deag: oper-flags:resolved,
[@0]: dst-address,unicast lookup in MPLS-VRF:0
forwarding: mpls-neos-chain
[@0]: dpo-load-balance: [proto:mpls index:16 buckets:1 uRPF:13 to:[0:0]]
[0] [@6]: dst-address,unicast lookup in MPLS-VRF:0
DBGvpp#
From: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)"
<[email protected]>
Date: Wednesday, 22 November 2017 at 14:14
To: "Neale Ranns (nranns)" <[email protected]>, vpp-dev <[email protected]>
Subject: RE: Issue with MPLS local label CLI
Neal,
thanks for quick answer!
I’ve just pulled vpp code (HEAD @ 3ce7bcb),
and now I get following error message:
vpp# mpls local-label add 102 non-eos mpls-lookup-in-table 0
mpls local-label: unkown input: mpls-lookup-in-table 0
Regards,
Marek
From: Neale Ranns (nranns)
Sent: 22 listopada 2017 12:07
To: Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)
<[email protected]>; vpp-dev <[email protected]>
Subject: Re: Issue with MPLS local label CLI
Hi Marek,
Accidental breakage on my part. Fixed in:
https://gerrit.fd.io/r/#/c/9520/
/neale
From: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)"
<[email protected]<mailto:[email protected]>>
Date: Wednesday, 22 November 2017 at 10:53
To: vpp-dev <[email protected]<mailto:[email protected]>>
Cc: "Neale Ranns (nranns)" <[email protected]<mailto:[email protected]>>
Subject: Issue with MPLS local label CLI
Hi,
mpls local-label add non-eos 102 mpls-lookup-in-table 0
is rejected by vppctl (unknown input …) since
https://gerrit.fd.io/r/#/c/9439/
Is it a bug, or such command is no longer valid?
BTW. There is also some issue with docs for the command:
https://docs.fd.io/vpp/18.01/clicmd_src_vnet_mpls.html
Thanks,
Marek
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev