(UBNT EdgeSwitch) >enable
(UBNT EdgeSwitch) #ip ssh server enable
(UBNT EdgeSwitch) #copy system:running-config nvram:factory-defaults
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
#
Config file 'factory-defaults' created successfully .
Configuration Saved!
(UBNT EdgeSwitch) #clear config
At this point even after clear config we will have ssh enabled because its set in factory-defaults and 'clear config' reverts to it.
Get current config.
(UBNT EdgeSwitch) #copy system:running-config tftp://192.168.1.66/config1
Edit it by your desire. Add whatever configuration you need.
(UBNT EdgeSwitch) #copy tftp://192.168.1.66/config1 nvram:script config1.scr
(UBNT EdgeSwitch) #script apply config1.scr
If we need to change something again do 'clear config' first. Then download new config and apply it.
To transfer config across reboots:
(UBNT EdgeSwitch) #copy system:running-config nvram:startup-config