request system zeroize (FIPS)
语法
request system zeroize
描述
移除路由引擎虚拟机管理程序上的所有配置信息并重置所有键值。该命令通过取消文件与其目录的链接来删除所有数据文件,包括自定义配置和日志文件。该命令将从系统中删除所有用户创建的文件,包括用于 SSH、本地加密、本地身份验证、IPsec、RADIUS、TACACS+ 和 SNMP 的所有纯文本密码、机密和私钥。此命令将重新启动设备并将其设置为出厂默认配置。重新启动后,您无法通过管理以太网接口访问设备。以 root 用户身份通过控制台登录,并在提示符下键入 cli 来启动 Junos OS CLI。
选项
所需权限级别
维护
输出字段
输入此命令时,系统会提供有关请求状态的反馈。
示例输出
请求系统清零 (FIPS)
{master:0} root@device: fips> request system zeroize warning: System will be rebooted and may not boot without configuration Erase all data, including configuration and log files? [yes,no] (no) yes warning: zeroizing re0 : Switching to runlevel: 6 INIT: Sending processes the TERM signal root@porter3s1E-p2a-02:fips> stopping rsyslogd ... done Stopping OpenBSD Secure Shell server: sshdno /usr/sbin/sshd found; none killed jdm Error response from daemon: Driver aufs failed to remove root filesystem 31ff0cdaaa47d367954de0ca657bcf2d5e1913be3bd90f3d12ed32dc266c6819: rename /var/lib/docker/aufs/mnt/31ff0cdaaa47d367954de0ca657bcf2d5e1913be3bd90f3d12ed32dc266c6819 /var/lib/docker/aufs/mnt/31ff0cdaaa47d367954de0ca657bcf2d5e1913be3bd90f3d12ed32dc266c6819-removing: device or resource busy Error: failed to remove containers: [jdm] [ OK ] Stopping atd: OK Unmounting cgroups...umount: /sys/fs/cgroup: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) Done Stopping system message bus: dbus. stopping DNS forwarder and DHCP server: dnsmasq... stopped /usr/bin/dnsmasq (pid 11215 11213) done. Stopping docker: /etc/init.d/functions: line 286: usleep: command not found [ OK ] Unmounting fuse control filesystem. Unloading fuse module failed! Shutting down irqbalance: stopped irqbalance (pid 3357) done Stopping ntpd: done stopping rsyslogd ... done Stopping internet superserver: xinetd. Waiting for sanlock to stop: Success Clearing ebtables rulesets: filter nat broute done. ok Kdump has been stopped. Stopping crond: OK Stopping S.M.A.R.T. daemon: smartd. Stopping fan control daemon: fancontrol... no process in pidfile '/var/run/fancontrol.pid' found; none killed done. Stopping sensors logging daemon: sensord... stopped /usr/sbin/sensord (pid 3738) done. * Stopping virtualization library daemon: libvirtd Deconfiguring network interfaces... done. Stopping tcsd: tcsd (pid 3826 5058) is running... /etc/init.d/functions: line 286: usleep: command not found OK Stopping redis-server... /etc/rc6.d/K99lte.init: line 38: ltelog: command not found cp: cannot stat '/var/platform/lte_vm_xml_params': No such file or directory / error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory Sending all processes the TERM signal... Merlin_daemon[2993]: Exiting daemon Sending all processes the KILL signal... Unmounting remote filesystems... Deactivating swap... Unmounting local filesystems...
发布信息
适用于 NFX 系列的 Junos OS 20.3R3 版中引入的语句。