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)
commita23d3e2b260c270596ff9906d67e3ede11759976
tree22e9f91be63bcbc5c8fc1ce28a2f57c17bed5d92
parent23b3775c414f9186dc5880ebe35e5b7894efe846
docs: correct deleting an interface ip address

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