Specifying A Cpu Weight For An Mdc - HP 12500 Configuration Manual

Routing switch series
Table of Contents

Advertisement

In IRF mode, you must assign non-default MDCs physical interfaces used for establishing IRF connections.
A non-default MDC needs to use the physical IRF ports to forward packets between member devices. For
more information about IRF, see IRF Configuration Guide.
After you change the configuration of a physical IRF port, you must use the save command to save the
running configuration. Otherwise, after a reboot, the master and subordinate devices in the IRF fabric
have different physical IRF port configurations and you must use the undo allocate interface command
and the undo port group interface command to restore the default and reconfigure the physical IRF port.
For more information about the undo port group interface command, see IRF Command Reference.
Configuration procedure
Step
1.
Enter system view.
2.
Enter MDC view.
3.
Assign physical
interfaces to the
MDC.

Specifying a CPU weight for an MDC

All MDCs authorized to use the same interface card share the CPU of the interface card. If one MDC
occupies too many of the CPU resources, the other MDCs might not be able to operate. To avoid this
problem, specify a CPU weight for each MDC.
The amount of CPU resources an MDC can use depends on the CPU weight settings for all MDCs that
share the same CPU. For example, if three MDCs share the same CPU and their weights are 10, 10, and
5, the two MDCs with the same weight can use the CPU for approximately the same period of time, and
the MDC with a weight of 5 can use the CPU for about half of the time for each of the other two MDCs.
Specifying the following weights for the MDCs has the same effect: 2, 2, and 1.
The CPU weight specified for an MDC takes effect on all MPUs and all interface cards that the MDC is
authorized to use.
To specify a CPU weight for an MDC:
Step
1.
Enter system view.
2.
Enter MDC view.
3.
Specify a CPU
weight for the
MDC.
Command
system-view
mdc mdc-name [ id mdc-id ]
(Approach 1) Assign individual interfaces to
the MDC:
allocate interface { interface-type
interface-number }&<1-24>
(Approach 2) Assign a range of interfaces to
the MDC:
allocate interface interface-type
interface-number1 to interface-type
interface-number2
Command
system-view
mdc mdc-name [ id mdc-id ]
limit-resource cpu weight
weight-value
201
Remarks
N/A
N/A
Use either or both approaches.
By default, all physical
interfaces belong to the default
MDC, and a non-default MDC
has no physical interfaces to
use.
You can assign multiple
physical interfaces to the same
MDC.
Remarks
N/A
N/A
By default, the default MDC has a CPU weight
of 10 (unchangeable) on each MPU and each
interface card, and each non-default MDC
has a CPU weight of 10 on each MPU and
each interface card that it is authorized to use.

Advertisement

Table of Contents
loading

Table of Contents