From: Steven Luong Date: Fri, 18 Jul 2025 00:11:03 +0000 (-0700) Subject: docs: correct deleting an interface ip address X-Git-Tag: v26.02-rc0~155 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F43456%2F2;p=vpp.git 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 --- diff --git a/docs/cli-reference/interface/setinterface.rst b/docs/cli-reference/interface/setinterface.rst index 7eb14adf455..03bbf52b060 100644 --- a/docs/cli-reference/interface/setinterface.rst +++ b/docs/cli-reference/interface/setinterface.rst @@ -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):