request vmhost zeroize
语法
request vmhost zeroize <re0 | re1> <routing-engine>
描述
删除路由引擎上的所有配置信息并重置所有键值。如果设备具有双路由引擎,则该命令将广播到设备上的两个路由引擎。该命令通过取消文件与其目录的链接来删除所有数据文件,包括自定义配置和日志文件。该命令将从系统中删除所有用户创建的文件,包括用于 SSH、本地加密、本地身份验证、IPsec、RADIUS、TACACS+ 和 SNMP 的所有纯文本密码、机密和私钥。
此命令将重新启动设备并将其设置为出厂默认配置。重新启动后,您无法通过管理以太网接口访问设备。以 root 用户身份通过控制台登录,并在提示符下键入内容以启动 cli Junos OS CLI。
选项
none — 删除所有路由引擎上的所有配置信息并重置所有键值。
re0 | re1 | (可选)卸下插槽 0 (
注意:
QFX10002-60C 和 PTX10002-60C 设备没有主路由引擎和备用路由引擎。 |
routing-engine | (可选)删除指定路由引擎上的所有配置信息。以下选项可用:
|
所需权限级别
维护
示例输出
请求 VMhost 归零
user@host> request vmhost zeroize VMHost Zeroization : Erase all data, including configuration and log files ? [yes,no] (no) yes re0: -------------------------------------------------------------------------- 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 Mounting device in preparation for zeroize... Cleaning up target disk for zeroize ... Zeroize done on target disk. Zeroize of primary disk completed Zeroize done mv: cannot stat '/tmp/zero-UytUWY/tgt_jlvmrootfs/etc/fstab': No such file or directory mv: cannot stat '/tmp/zero-UytUWY/fstab': No such file or directory mv: cannot stat '/tmp/zero-6gvrWj/tgt_jlvmrootfs/etc/fstab': No such file or directory mv: cannot stat '/tmp/zero-6gvrWj/fstab': No such file or directory warning: Proceeding with vmhost reboot *** FINAL System shutdown message from root@user *** System going down IMMEDIATELY Initiating vmhost reboot... ok Initiating Junos shutdown... shutdown: [pid 8565] Shutdown NOW! ok Junos shutdown is in progress... Shutdown NOW! System shutdown time has arrived\x07\x07 re1: -------------------------------------------------------------------------- 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
发布信息
在 Junos OS 15.1F3 版中引入的命令。
注意:
PTX3000路由器支持路由和控制板 RCBPTX。