request vmhost zeroize no-forwarding
语法
request vmhost zeroize no-forwarding
描述
删除路由引擎上的所有配置信息并重置所有密钥值。如果设备具有双路由引擎,则命令将广播至设备上的两个路由引擎。该命令可从其目录中卸下所有数据文件,包括自定义配置和日志文件。该命令可从系统中移除所有用户创建的文件,包括用于 SSH、本地加密、本地身份验证和 IPsec 的所有纯文本密码、密钥和私钥。
此命令将重新启动设备并将其设置为出厂默认配置。重新启动后,您无法通过管理以太网接口访问设备。以 root 用户身份通过控制台登录,并在出现提示时键入 cli Junos OS CLI。
所需权限级别
维护
示例输出
请求 vmhost 零化无转发
user@host> request vmhost zeroize no-forwarding VMHost Zeroization : Erase all data, including configuration and log files ? [yes,no] (no) yes warning: Vmhost will reboot and may not boot without configuration warning: Proceeding with vmhost zeroize Zeroise secondary internal disk ... Proceeding with zeroize on secondary disk Mounting device in preparation for zeroize... Cleaning up target disk for zeroize ... Zeroize done on target disk. Zeroize of secondary disk completed Zeroize primary internal disk ... Proceeding with zeroize on primary disk /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/ssh_host_rsa_key.pub /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_dsa_key /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_rsa_key Mounting device in preparation for zeroize... Cleaning up target disk for zeroize ... Zeroize done on target disk. Zeroize of primary disk completed Zeroize done warning: Proceeding with vmhost reboot Initiating vmhost reboot...
发布信息
在 Junos OS 15.1F3 版中引入的命令。