> On 30 Apr 2019, at 13:46, Berna Demir <berna.demirs...@gmail.com> wrote:
> 
> Hi
> 
> I've used following commands to span packets of vlan sub_interface 
> to a tap interface, but nothing captured on tap interface in Linux.
> 
> vpp_api_test> create_vlan_subif GigabitEthernet3/0/0 vlan 2100
> 
> vppctl>
> set interface state GigabitEthernet3/0/0 up
> set interface state GigabitEthernet3/0/0.2100 up
> set interface state GigabitEthernetb/0/0 up
> set interface ip address GigabitEthernet3/0/0.2100 192.168.111.1/24 
> <http://192.168.111.1/24> 
> set interface ip address GigabitEthernetb/0/0 192.168.222.1/24 
> <http://192.168.222.1/24>
> tap connect test 
> set interface state tapcli-0 up 
> set interface span GigabitEthernet3/0/0.2100 both destination tapcli-0
> 
> In the bash:
> #> tcpdump -nn -e -i test
> 
> Do you have any idea?

By definition, SPAN is per-port feature, so it can be only applied to physical 
ports.
It grabs packets before ethertype/dot1q lookup happens.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12885): https://lists.fd.io/g/vpp-dev/message/12885
Mute This Topic: https://lists.fd.io/mt/31419104/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to