-
HTTP
-
Login to the device by posting username and password topost:hostname(<DEVADDR>):ssl(true):/auth.sel
-
From HTTP response, retrieve session_id and post it to post:hostname(<DEVADDR>):ssl(true):/do_import.sel
-
Check for status “FM_UPLOAD_COMPLETE” for completion for configuration file upload using post:hostname(<DEVADDR>):ssl(true):/status.sel
-
Device restarts after successful file upload. Wait until the device reboots and check the status in syslog report using post:hostname(<DEVADDR>):ssl(true):/ syslog_report_data.sel
-
Logout of the device post:hostname("+DEVADDR+"):ssl(true):/logout.sel"
SEL configuration settings can be changed from NCM using configlet push or Automation library. Http page should be given first followed by http parameters one in each line and should be ended with http_param_end. All settings require session_id and session_username which will be passed from NCM to SEL switch.
For example banner can be changed using below steps.
GET/usage_policy_save.sel?usage_policy=Somethinghere&session_username=<user-name>&session_id=<session-id>
To change/set Banner settings:
usage_policy_save.sel
usage_policy="This%20is%20a%20test%20banner";
http_param_end
-
Params |
Comment |
---|---|
usage_policy_save.sel |
Http page |
usage_policy="This%20is%20a%20test%20banner"; |
Banner to be set. "%20" should be given for space |
http_param_end |
NCM defined param to denote any of http parameters |