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-type
SMR-495
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
You can configure the placement policy to allow certain processes to stay where they are (
current
) or
move just by indicating so through the various affinity choices. The higher the positive value of an
affinity, the stronger the requirement that the process run at a location, and so on. A low or zero point
value would indicate a weaker requirement (or no preference) that a process run at a location.
The affinity location type with the
paired
option configures the affinity towards the nodes that are paired
(active and standby nodes), and as mentioned earlier, this is the default policy. The affinity location type
using the
primary
option configures the affinity towards the designated secure domain router system
controller (DSDRSC) node.
Note
Change the
current
affinity with assistance from Cisco support personnel.
Task ID
Examples
This example shows how to place Border Gateway Protocol (BGP) in a specific location by setting it
with a high attract value. The result is that BGP does not move location under any circumstances other
than a node pair removal.
RP/0/RP0/CPU0:router(config)#
placement program bgp
RP/0/RP0/CPU0:router(config-place)#
affinity location-type current attract 5000
Related Commands
Task ID
Operations
sysmgr
read, write
Command
Description
Enters placement program configuration mode to set process affinities
(preferences).