request system filesystem encryption keys delete
Syntax
request system filesystem encryption keys delete <dry-run | re0 | re1 | routing-engine>
Description
Key slots are the Keys used to encrypt an area or slot on the hard disk. You must enable file-system encryption on the disk before deleting the key slots. After deleting the key slots, reboot the vmhost to reflect the changes. You need to use USB based reinstall or recovery method to restore the system.
Options
none |
Erase all keyslots on all Routing Engines. |
||||||||||
dry-run |
(Optional) Display the keyslot deletion message without deleting any keyslots. |
||||||||||
re0 |
(Optional) Erase all keyslots on RE0. |
||||||||||
re1 |
(Optional) Erase all keyslots on RE1. |
||||||||||
routing-engine |
(Optional) Erase all keyslots on the specified Routing Engine. Use one of the following options to specify the Routing Engine:
|
Required Privilege Level
maintenance
Sample Output
- request system filesystem encryption keys delete (Junos OS)
- request system filesystem encryption keys delete (Junos OS Evolved)
request system filesystem encryption keys delete (Junos OS)
user@host> request system filesystem encryption keys delete Please check the message on deleting filesystem encryption keyslots using the dry-run option. i.e. request system filesystem encrypton keys delete dry-run Do you want to proceed ? [yes,no] (no) yes Delete filesystem encryption keyslots ? [yes,no] (no) yes Erasing keyslots on LUKS2 device /dev/nvme0n1p5 Erasing keyslots on LUKS2 device /dev/nvme1n1p5 All keyslots successfully erased, a vmhost reboot is needed for changes to take effect.
user@host> request vmhost reboot
request system filesystem encryption keys delete (Junos OS Evolved)
user@host> request system filesystem encryption keys delete no-forwarding routing-engine local
Please check the message on deleting filesystem encryption keyslots using the dry-run option. i.e. 'request system filesystem encrypton keys delete dry-run' Do you want to proceed ? [yes,no] (no) yes ------------------------------- node: re0 ------------------------------- Erasing keyslots on LUKS2 device /dev/sda3 Erasing keyslots on LUKS2 device /dev/sda5 Erasing keyslots on LUKS2 device /dev/sda6 Erasing keyslots on LUKS2 device /dev/sda7 Erasing keyslots on LUKS2 device /dev/sdb3 Erasing keyslots on LUKS2 device /dev/sdb5 Erasing keyslots on LUKS2 device /dev/sdb6 Erasing keyslots on LUKS2 device /dev/sdb7 All keyslots successfully erased, a system reboot is needed for changes to take effect.
user@host> request system reboot
Release Information
Command introduced in Junos OS Release 22.3R1.