cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1781
Views
5
Helpful
5
Replies

spa122 compiler does not accept parameter names

andreyb007
Level 1
Level 1

Hello,

I have tried to run spa122 config file compiler, which I have downloaded from Cisco web site and it has responded with the following errors:

Error code:   spc error: unrecognized parameter name Time_Zone
   spc error: unrecognized parameter name Gateway
   spc error: unrecognized parameter name Connection_Type
   spc error: unrecognized parameter name Default_Gateway
   spc error: unrecognized parameter name Static_DNS
   spc error: unrecognized parameter name DHCP_Server
   spc error: unrecognized parameter name Local_IP
   spc error: unrecognized parameter name DNS_Proxy
   spc error: unrecognized parameter name DNS_Server_Order
   spc error: unrecognized parameter name PPPoE_Password
   spc error: unrecognized parameter name Subnet_Mask
   spc error: unrecognized parameter name Primary_DNS
   spc error: unrecognized parameter name PPPoE_Name
   spc error: unrecognized parameter name NetMask
   spc error: unrecognized parameter name Static_IP
   spc error: unrecognized parameter name PPPoE_Service_Name

Then I have generated sample xml using tool which was in the same zip archive. Adjusted my xml file but the parameter names still were not accepted. Parameter names given in the provisioning Guide also seem to  be incorrect. Could you please provide me a list of parameter names with possible values acceptable by compiler.

5 Replies 5

nseto
Level 6
Level 6

Double check the spc file that you used.

I checked the top two items....

For Gateway, it's actually

Connection_type, is actually

I have used these parameter names, but complier has responded with the same errors

spc error: unrecognized parameter name Default_Gateway  spc error: unrecognized parameter name WAN_Connection_Type

Possibly someone else faced such issue. Please, help.

May it happen that compiler does not support these parameters at all?

I know it's a little late, but maybe the issue still exists for you.

I think the problem is that you don't use the correct syntax for the spc.

try this: spc --xml xmlconfig.xml newconfig.cfg

(important is the "--xml" parameter. "spc" is the name of the compiler exe)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: