![Cisco ASR 14000 Series Management Command Reference Download Page 494](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667494.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Process and Memory Management Commands on Cisco IOS XR Software
affinity location-set
SMR-492
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
affinity location-set
To set the affinity of a placeable program (process) to or from a group of nodes, use the
affinity
location-set
command in placement program configuration mode. To remove the affinity location set,
use the
no
form of this command.
affinity location-set
node-id1
[...[
node-id5
]] {
attract
strength
|
repulse
strength
|
default
|
none
}
no affinity location-set
node-id1
[...[
node-id5
]] {
attract
strength
|
repulse
strength
|
default
|
none
}
Syntax Description
Defaults
There are no default location-set affinities for any placeable processes.
Specifying an affinity value of
default
is equivalent to specifying the
attract
strength
argument to be
200.
Command Modes
Placement program configuration
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
The
affinity location-set
command assigns an affinity for a process to run on a specific node, node pair
or set of up to 5 nodes.
A node pair is either an active and standby pair of nodes hosted on route processors (RPs), or a single
active node on an RP that does not have a standby.
By containing references to specific location identifiers, location-set affinities are more specific to the
individual SDR in which they are used than other affinity types.
[...[
node-id5
]]
The
node-id
argument is expressed in the
rack
/
slot
/
module
notation.
To specify multiple nodes, enter the
node-id
for each node. You can
specify a node pair, or up to 5 nodes.
attract
Specifies a positive affinity.
repulse
Specifies a negative affinity.
strength
A positive or negative strength. The range is from 1 to 100000
points.
default
Sets the affinity location-set default value, which is equivalent to
specifying an
attract
strength
of 200.
none
Sets the affinity value to zero points.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.