The del keyword must be specified after ip address, not at the end
as the example shows.
DBGvpp# sh int addr
sh int addr
enp134s0f0np0/0 (up):
L3 10.10.10.32/24
local0 (dn):
DBGvpp# set interface ip address enp134s0f0np0/0 10.10.10.32/24 del
set interface ip address enp134s0f0np0/0 10.10.10.32/24 del
set interface ip address: failed to add 10.10.10.32/24 on enp134s0f0np0/0 which conflicts with 10.10.10.32/24 for interface enp134s0f0np0/0
DBGvpp# sh int addr
sh int addr
enp134s0f0np0/0 (up):
L3 10.10.10.32/24
local0 (dn):
DBGvpp# set interface ip address del enp134s0f0np0/0 10.10.10.32/24
set interface ip address del enp134s0f0np0/0 10.10.10.32/24
DBGvpp# sh int addr
sh int addr
enp134s0f0np0/0 (up):
local0 (dn):
DBGvpp#
Type: fix
Change-Id: Icd85cbbc5b149c67d411f837f0cd9b76beddc5b6
Signed-off-by: Steven Luong <[email protected]>
.. code:: console
- vpp# set interface ip address GigabitEthernet2/0/0 172.16.2.12/24 del
+ vpp# set interface ip address del GigabitEthernet2/0/0 172.16.2.12/24
To delete all interfaces addresses (IPv4 and IPv6):