This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Problem with execute script on Cisco 2960 Series

Dear Community,

we have a big Problem to execute scripts on Switches 2960 Series. It's a very simple config for snmpv3. When i copy the config Statements manually to the Switches everything works fine, when i want to do this over NCM, Config Management, Execute Script we get the following Errors:

configure terminal

Enter configuration commands, one per line.  End with CNTL/Z.

snmp-server group SolarWindGroup v3 priv

snmp-server group SolarWindGroup v3 priv

^

% Invalid input detected at '^' marker.

snmp-server user xxx SolarWindGroup v3 auth sha xxx priv aes 128 xxx

snmp-server user xxx SolarWindGroup v3 auth sha xxx priv aes 128 xxx

^

% Invalid input detected at '^' marker.

snmp-server group SolarStormGroup v3 priv write Solar

snmp-server group SolarStormGroup v3 priv write Solar

^

% Invalid input detected at '^' marker.

snmp-server view Solar internet included

snmp-server view Solar internet included

^

% Invalid input detected at '^' marker.

snmp-server user xxx SolarStormGroup v3 auth sha xxx priv aes 128 xxx

snmp-server user xxx SolarStormGroup v3 auth sha xxx priv aes 128 xxx

^

% Invalid input detected at '^' marker.

end

wr

% Unknown command or computer name, or unable to find computer address

The same script works fine on all of our routers, 4500 and 6500 Catalyst Switches.

Thanks in advance !

Amir