docs: correct deleting an interface ip address 56/43456/2
authorSteven Luong <[email protected]>
Fri, 18 Jul 2025 00:11:03 +0000 (17:11 -0700)
committerDave Wallace <[email protected]>
Fri, 25 Jul 2025 16:22:59 +0000 (16:22 +0000)
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]>
docs/cli-reference/interface/setinterface.rst

index 7eb14ad..03bbf52 100644 (file)
@@ -56,7 +56,7 @@ To delete a specific interface ip address:
 
 .. 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):