R211x-HP Flexfabric 11900 Fundamentals Command Reference
299
the time for each of the other two MDCs. Specifying the following weights for the MDCs has the same
effect: 2, 2, and 1.
You can use this command to change the CPU weight for a non-default MDC. The CPU weight for the
default MDC cannot be changed.
Examples
# Set the CPU weight of MDC sub1 to 2.
<Sysname> system-view
[Sysname] mdc sub1
[Sysname-mdc-2-sub1] limit-resource cpu weight 2
limit-resource disk
Use limit-resource disk to specify a disk space percentage for an MDC.
Use undo limit-resource disk to restore the default.
Syntax
In standalone mode:
limit-resource disk slot slot-number ratio limit-ratio
undo limit-resource disk slot slot-number
In IRF mode:
limit-resource disk chassis chassis-number slot slot-number ratio limit-ratio
undo limit-resource disk chassis chassis-number slot slot-number
Default
All MDCs share the disk space on the MPUs in the system, and an MDC can use all the free disk space.
Views
MDC view
Predefined user roles
network-admin
mdc-admin
Parameters
slot slot-number: Specifies an MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an MPU on an IRF member device. (In IRF mode.)
ratio limit-ratio: Specifies the ratio of the disk space an MDC can use on the specified MPU to the total
disk space of the MPU. The value range is 1 to 100.
Usage guidelines
Before you specify a disk space percentage for an MDC, use the display mdc resource command to view
how much disk space the MDC is using. Make sure the disk space you assign to an MDC is greater than
the disk space the MDC is using. Otherwise, the MDC cannot apply for more disk space and no
additional folders or files can be created or saved for the MDC.










