R0106-HP MSR Router Series Fundamentals Command Reference(V7)

245
Examples
# Set the number of redundant power supplies to 3.
<Sysname> system-view
[Sysname] power-supply policy redundant 3
reboot
Use reboot to reboot the device or a subcard. (On an MSR2000 or MSR3000.)
Use reboot to reboot a card, a subcard, or the entire system. (On an MSR4000.)
Syntax
MSR2000/MSR3000:
reboot [ subslot subslot-number ] [ force ]
MSR4000:
reboot [ slot slot-number [ subslot subslot-number ] ] [ force ]
Default
The default setting varies by device model.
Views
User view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a subcard by its subslot number. (On an MSR2000 or MSR3000.)
slot slot-number: Specifies a card by its slot number. (On an MSR4000.)
subslot subslot-number: Specifies a subcard by its subslot number.
force: Reboots the device immediately without performing any software or hard disk check. If this
keyword is not specified, the system checks, for example, whether the main system software image file
exists and whether the hard disk is not being written. If any circumstance might affect data protection, the
system does not reboot the device.
Usage guidelines
CAUTION:
A device reboot might interrupt network services.
If the main startup software images are corrupted or missing, you must re-specify a set of main startup
software images before using the reboot command to reboot the device. Otherwise, the device canno
t
start up.
Use the force keyword only when the device fails or a reboot command without the force keyword
cannot perform a reboot task correctly. A reboot command with the force keyword mi
g
ht result in file
system corruption because it does not perform any data protection.
For data security, the device does not reboot if you reboot the device while the device is performing file
operations.