Limit-Resource Memory - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

limit-resource memory

Use limit-resource memory to specify a memory space percentage for an MDC.
Use undo limit-resource memory to restore the default.
Syntax
In standalone mode:
limit-resource memory slot slot-number [ cpu cpu-number ] ratio limit-ratio
undo limit-resource memory slot slot-number [ cpu cpu-number ]
In IRF mode:
limit-resource memory chassis chassis-number slot slot-number [ cpu cpu-number ] ratio
limit-ratio
undo limit-resource memory chassis chassis-number slot slot-number [ cpu cpu-number ]
Default
All MDCs share the memory space of the MPUs (for the HPE 7904/HPE 7904 TAA switch) or the
switching fabric modules (for the HPE 7910/HPE 7910 TAA switch) in the system. An MDC can use
all the free memory space.
Views
MDC view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies an MPU (for the HPE 7904/HPE 7904 TAA switch) or a switching fabric
module (for the HPE 7910/HPE 7910 TAA switch). (In standalone mode.)
chassis chassis-number slot slot-number: Specifies an MPU on an HPE 7904/HPE 7904 TAA IRF
member switch or a switching fabric module on an HPE 7910/HPE 7910 TAA IRF member switch. (In
IRF mode.)
ratio limit-ratio: Specifies the ratio of the memory space that an MDC can use on the specified card
to the total memory space of the card. The value range is 1 to 100.
cpu cpu-number: Specifies a CPU by its number. If you do not specify this option, the command
specifies a memory space percentage for CPU 0.
Usage guidelines
The memory space percentage setting for an MDC applies to the MPUs (for the HPE 7904/HPE
7904 TAA switch) or the switching fabric modules (for the HPE 7910/HPE 7910 TAA switch).
This command sets the maximum amount of memory space that an MDC can use. Make sure this
amount is sufficient for the MDC to operate correctly.
Examples
# In standalone mode, allow MDC sub1 to use up to 30 percent of the memory space on the
switching fabric module in slot 10.
<Sysname> system-view
[Sysname] mdc sub1
[Sysname-mdc-2-sub1] limit-resource memory slot 10 ratio 30
# In IRF mode, allow MDC sub1 to use up to 30 percent of the memory space on the switching fabric
module in slot 10 on IRF member device 2.
265

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents