cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP "configure access-list ..." command parse error in firmware > 30

SOAP "configure access-list ..." command parse error in firmware > 30

piterek
New Contributor

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 REPLIES 2

Gabriel_G
Extreme Employee

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.

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.

 

GTM-P2G8KFN