This is actually a rare use-case
[email protected]# run show int Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 - u/u eth1 - u/D eth2 - u/D lo 127.0.0.1/8 u/u ::1/128
[email protected]# delete interfaces ethernet eth2 [email protected]# commit
[email protected]# run show int Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 - u/u eth1 - u/D eth2 - u/D lo 127.0.0.1/8 u/u ::1/128
As the interface is removed from the config we should automatically place it in admin-down state