Rename an attached serial port via Web Interface
Prior to 5.10.x, to rename an attached serial port, you need to go to Managed Devices :: Devices, tick the serial port that you want to rename and click on "Rename":
Then change the name and "Save":
From 5.10.x you can now rename the serial port from within the serial port properties. The above steps are also still available.
Under Managed Devices :: Devices, click on the serial port name that you want to change (in our case ttyS2):
In the serial port properties, you can now change its name (which was not available in previous versions) and then click "Save":
Rename an attached serial port with CLI
From the CLI:
cd /settings/devices
You can view all existing port names with:
ls
To rename a port:
rename 'the current port name'
set new_name='the new port name'
commit
NOTE: you can also use the ttyS'port number' as the 'the current port name' if the name was changed from the default.
Rename an attached serial port with import_settings
/settings/devices/New_name_for_ttyS1 {spm_rename},ttyS1,spm_name