Hi Ryan,

It’s probably a sign that you have bound multiple interfaces to that table :
  set int ip table <INT> <TABLE>

And you need to unbind them (or bind them back to the default table) all before 
deleting the table :
  set int ip table <INT> 0

regards,
neale

From: <vpp-dev@lists.fd.io> on behalf of "rya...@yunify.com" <rya...@yunify.com>
Date: Monday 13 January 2020 at 21:57
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] #vapi -- Need multiple times " ip table del xxx" to delete a 
specific 'ip table' within vpp?

Hi guys,



I have a question when I delete 'ip table'/'vrf' within VPP.



It need issue multiple times " ip table del xxx" to delete a specific 'ip 
table' within vpp.

The number decided by num in  " locks:[src:CLI:6, ]"

For example, with follow 'ip table'/'vrf', I need issue " ip table del 4114532" 
six times to delete this specific 'ip table'/'vrf'.



It this a design behavior or an issue?  Thanks for help!



vpp# show ip fib table 4114532

ipv4-VRF:4114532, fib_index:5, flow hash:[src dst sport dport proto ] 
locks:[src:CLI:6, ]

0.0.0.0/0

  unicast-ip4-chain

  [@0]: dpo-load-balance: [proto:ip4 index:49 buckets:1 uRPF:50 to:[0:0]]

    [0] [@0]: dpo-drop ip4

0.0.0.0/32

  unicast-ip4-chain

  [@0]: dpo-load-balance: [proto:ip4 index:50 buckets:1 uRPF:51 to:[0:0]]

    [0] [@0]: dpo-drop ip4

224.0.0.0/4

  unicast-ip4-chain

  [@0]: dpo-load-balance: [proto:ip4 index:52 buckets:1 uRPF:53 to:[0:0]]

    [0] [@0]: dpo-drop ip4

240.0.0.0/4

  unicast-ip4-chain

  [@0]: dpo-load-balance: [proto:ip4 index:51 buckets:1 uRPF:52 to:[0:0]]

    [0] [@0]: dpo-drop ip4

255.255.255.255/32

  unicast-ip4-chain

  [@0]: dpo-load-balance: [proto:ip4 index:53 buckets:1 uRPF:54 to:[0:0]]

    [0] [@0]: dpo-drop ip4

vpp#



Thanks,

Ryan


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

View/Reply Online (#15152): https://lists.fd.io/g/vpp-dev/message/15152
Mute This Topic: https://lists.fd.io/mt/69666295/21656
Mute #vapi: https://lists.fd.io/mk?hashtag=vapi&subid=1480452
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