# setsmpriority priority
For example, to set the Subnet Manager on the spine switch to priority 8, run the following command on the CLI of the spine switch:
# setsmpriority 8
The following output is displayed:
-------------------------------------------------
OpenSM 3.2.6_20090717
Reading Cached Option File: /etc/opensm/opensm.conf
Loading Cached Option:routing_engine = ftree
Loading Cached Option:sminfo_polling_timeout = 1000
Loading Cached Option:polling_retry_number = 3
Command Line Arguments:
Priority = 8
Creating config file template '/tmp/osm.conf'.
Log File: /var/log/opensm.log
-------------------------------------------------
For the changes to take effect, restart the Subnet Manager as follows:
# disablesm
# enablesm