sethostname operation
This feature is available from SNS version 3.10.2 upwards or 4.1.1 upwards.
The sethostname operation changes the value of the following fields in the global configuration file (~/System/global file):
- SystemName: corresponds to the name of the firewall. When high availability (HA) is used, this field corresponds to the system name of the HA cluster.
- SystemNodeName: corresponds to the local name of the system node, so that it can be differentiated from the other nodes in the HA cluster.
Format
"serial | any", sethostname, "systemname"
"serial | any", sethostname, "systemname", "systemnodename"
EXAMPLE
any, sethostname, test_hostname, testnodename