2 weeks ago
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?
2 weeks ago
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.
2 weeks ago - last edited 2 weeks ago
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.