R&D/DPDK

vpp debug

sunshout 2016. 10. 7. 21:21

vpp -c /etc/vpp/startup.conf


ipfix classify table add ip4 0

를 하면 인터페이스가 다운되고 죽음


set ipfix classify stream domain 0

set ipfix exporter collector 192.168.1.254 port 8888  src 192.168.1.1 fib-id 0

set ioam export ipfix collector 192.168.1.254 src 192.168.1.1


test classify

show classify tables


vpp# show classify tables

  TableIdx  Sessions   NextTbl  NextNode

         0        10        -1         0

  Heap: 10 objects, 16k of 18k used, 364 free, 0 reclaimed, 2k overhead, 65532k capacity

  nbuckets 2, skip 0 match 3

  mask 00000000: 0000000000000000000000000000000000000000000000000000ffffffff0000

       00000020: 00000000000000000000000000000000



vpp# ipfix classify table add ip4 0

vpp#

Program received signal SIGSEGV, Segmentation fault.

ipfix_classify_template_rewrite (frm=0x7ffff752e5e0 <flow_report_main>, fr=0x7fffb690ee18,

    collector_address=0x7ffff752e5f0 <flow_report_main+16>, src_address=0x7ffff752e5f8 <flow_report_main+24>,

    collector_port=8888) at /root/vpp/build-data/../vnet/vnet/flow/flow_report_classify.c:71

71        ip_start = ((u8 *)(tblp->mask)) + l3_offset;



vpp# ipfix classify table add ip4 0

ipfix classify table: Specified classifier table already used


이걸봐서는 classify table은 여러 용도로 사용될 수 있음

classify table을 생성해야 하는데 생성하지 않아서 그런듯