Thanks for the response. I created a sub-interface on a physical interface and am trying to set the interface state of that sub-interface as 'punt' . Its failing with a message :
vpp# set interface state TenGigabitEthernet3/0/0.1 punt set interface state: super-interface TenGigabitEthernet3/0/0 must be down/punt Question is, the physical interface must be 'down/punt' in order to successfully set 'punt' on the corresponding sub-interface whose state would eventually become 'down/punt' . Was wondering what's the real purpose of this configuration ? If the physical interface is down it wouldn’t receive any frames. I am missing something here and trying to figure what that is. -vijay On 9/5/18, 5:34 PM, "Jim Thompson" <j...@netgate.com> wrote: https://github.com/FDio/vpp/blob/master/src/vnet/ip/punt.c#L18-L22 @brief Local TCP/IP stack punt infrastructure. Provides a set of VPP nodes together with the relevant APIs and CLI commands in order to adjust and dispatch packets from the VPP data plane to the local TCP/IP stack > On Sep 6, 2018, at 1:19 AM, Chandra Mohan, Vijay Mohan <vijch...@ciena.com> wrote: > > Did anyone get a chance to look at this ? > > -Vijay > > From: "Chandra Mohan, Vijay Mohan" <vijch...@ciena.com> > Date: Tuesday, September 4, 2018 at 3:41 PM > To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> > Subject: What is 'punt' in 'set interface' command > > Hi, > > I am looking to understand when ‘punt’ option is used in “ set interface state <interface> [up | down | punt | enable] “ . The command description says that it is used to punt traffic to slow-path and not used for forwarding. Looking to understand more about what this means. I am trying to explore if there is a way by which control frames can be forwarded to CPU and was wondering if ‘punt’ is that way to do this. > > Thanks, > Vijay > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#10390): https://lists.fd.io/g/vpp-dev/message/10390 > Mute This Topic: https://lists.fd.io/mt/25192021/675164 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [j...@netgate.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10418): https://lists.fd.io/g/vpp-dev/message/10418 Mute This Topic: https://lists.fd.io/mt/25266038/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-