09-19-2024 04:02 AM
When I try in my PHP script:
system("perl /var/www/localhost/htdocs/scripts/SOAP/execcli.pl $ip $login $pass \"configure access-list port$port ports $port ingress\"");
I get Command parse error from switch. It happens only in switch with firmware version >= 30. Why is that?
09-19-2024 06:38 AM
More information is needed to address your question.
What is the exact parse error that you're getting?
Does the parse error indicate any specific keyword as the issue?
If you take the CLI command that your script generates and run it on the switch manually, what happens?
If you get an error in the CLI, it is usually self-explanatory what/where the syntax error is.
09-19-2024 06:50 AM - edited 09-19-2024 07:08 AM
If i take CLI command there are no any errors and it works. The only response from switch is "Command parse error" while sending command via SOAP in PHP script.
If i try another command via SOAP like show vlan 1 it works.