When enabling SLAAC on an interface an IPv6 address is assigned:
set interfaces ethernet eth0 vif 10 ipv6 address autoconf
vyos@vyos:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address MAC VRF MTU S/L Description ----------- -------------------------------------- ----------------- ------- ----- ----- ------------- eth0 - 00:50:56:b3:fa:0e default 1500 u/u eth0.10 2003:ec:888:999:250:56ff:feb3:fa0e/64 00:50:56:b3:fa:0e default 1500 u/u
Removing the SLAAC configuration from the CLI
vyos@vyos# delete interfaces ethernet eth0 vif 10 ipv6 vyos@vyos# commit
does not clear the IPv6 address from the interface
vyos@vyos:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address MAC VRF MTU S/L Description ----------- -------------------------------------- ----------------- ------- ----- ----- ------------- eth0 - 00:50:56:b3:fa:0e default 1500 u/u eth0.10 2003:ec:888:999:250:56ff:feb3:fa0e/64 00:50:56:b3:fa:0e default 1500 u/u
Even the default route stays
vyos@vyos:~$ show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng,
O - OSPFv3, I - IS-IS, B - BGP, N - NHRP, T - Table,
v - VNC, V - VNC-Direct, A - Babel, F - PBR,
f - OpenFabric,
> - selected route, * - FIB route, q - queued, r - rejected, b - backup
t - trapped, o - offload failure
K>* ::/0 [0/1024] via fe80::20d:b9ff:fe51:fc3c, eth0.10, 00:03:00