NXOS的底层是 Linux, 对于系统的 admin 账号,就类似于Linux 的 root 账号,无法删除。
一般处于安全考虑,可以修改 admin 的密码。
假设哈,你用的N3548是 7.x的NXOS,可以用下面方式看下 Linux kernel 的版本:
N3K-3548# conf t
Enter configuration commands, one per line. End with CNTL/Z.
N3K-3548(config)# feature bash
N3K-3548(config)# run bash
bash-4.2$ cat /etc/os-release
ID=nexus
ID_LIKE=cisco-wrlinux
NAME=Nexus
VERSION="7.0(3)I7(4)" <<<<<< LAB设备是这个NXOS
VERSION_ID="7.0(3)I7"
PRETTY_NAME="Nexus 7.0(3)I7"
HOME_URL=http://www.cisco.com
BUILD_ID="7.0(3)I7(4)"
CISCO_RELEASE_INFO=/etc/os-release
bash-4.2$ uname -a
Linux N3K-3548 3.4.91-WR5.0.1.13_standard+ #1 SMP Wed May 9 18:31:07 PDT 2018 x86_64 GNU/Linux
bash-4.2$