Certainly looks wrong. As a workaround, try removing the address prior to 
deleting the subinterface. 

 

I’ll have a look when I can. Please do not unicast tech support requests. 

 

D.

 

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of 
jiangxiaom...@outlook.com
Sent: Friday, May 28, 2021 12:43 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] subinterface's ip did not deleted after subinterface deleted

 

Hi Dave Barach: 

    Subinterface's ip did not deleted after subinterface deleted. Hrere is the 
test command

set interface state eth0 up

create sub-interface eth0 1

set interface ip addr eth0.1 192.168.1.1/24

show int addr

delete sub-interface eth0.1

set interface ip addr eth0 192.168.1.1/24

in cli get following error:

DBGvpp# set interface state eth0 up

DBGvpp# create sub-interface eth0 1

eth0.1

DBGvpp# set interface ip addr eth0.1 192.168.1.1/24

DBGvpp# show int addr

eth0 (up):

eth0.1 (dn):

  L3 192.168.1.1/24

local0 (dn):

DBGvpp# delete sub-interface eth0.1

DBGvpp# set interface ip addr eth0 192.168.1.1/24

set interface ip address: Prefix 192.168.1.1/24 already found on interface 
DELETED

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19496): https://lists.fd.io/g/vpp-dev/message/19496
Mute This Topic: https://lists.fd.io/mt/83142347/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