I figured out that I was getting the SSH error only when logged into an SM via 
mac-telnet.  I was trying to rescue an SM that my script only made it half way 
through before choking on an error

Once I connected via SSH the config set command worked.

But now that I think about it, it is kind of worrying that you can’t set IP 
addresses through mac-telnet.  You would think it’s the same exact shell with 
the same commands available

From: AF <[email protected]> On Behalf Of Josh Luthman
Sent: Wednesday, November 14, 2018 11:19 AM
To: AnimalFarm Microwave Users Group <[email protected]>
Subject: Re: [AFMUG] Using SNMP to change management IP's on ePMP Bridged SM's

IP Address
config set networkBridgeIPAddressMode 1 //1 static, 2 dhcp (default)
config set networkBridgeIPAddr 10.15.0.10
config set networkBridgeNetmask 255.255.255.0
config set networkBridgeGatewayIP 10.15.0.1
config save
config apply

I tried with set as an IP and string with no response either on 3.5.1 AP


Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

On Wed, Nov 14, 2018 at 9:07 AM, Justin Marshal 
<[email protected]<mailto:[email protected]>> wrote:
Not that I’m having any better luck with SSH

>config set networkBridgeIPAddr 10.10.73.233
Error: Parameter "10.10.73.233" doesn't exist


Not sure what the issue is.  I've had success with this in the past (prior to 
3.5.1)


From: AF <[email protected]<mailto:[email protected]>> On Behalf Of 
Justin Marshal
Sent: Wednesday, November 14, 2018 8:26 AM
To: AnimalFarm Microwave Users Group <[email protected]<mailto:[email protected]>>
Subject: [AFMUG] Using SNMP to change management IP's on ePMP Bridged SM's

Hi,

Having a really strange issue trying to use snmpset to change management IP 
Addresses on ePMP Bridged SM's

For e.g.
snmpset -v 2c -c public 10.10.208.233 1.3.6.1.4.1.17713.21.3.4.7.2.0 a 
10.10.73.233

Gives the following error
Error in packet.
Reason: (badValue) The value given has the wrong type or length.

However, if I run the same command and change the IP to something else in the 
same subnet, it works fine:
snmpset -v 2c -c public 10.10.208.233 1.3.6.1.4.1.17713.21.3.4.7.2.0 a 
10.10.208.240
iso.3.6.1.4.1.17713.21.3.4.7.2.0 = IpAddress: 10.10.208.240

Why is this?  I didn't use to have this issue before with canopy 100’s/450’s or 
even ePMP IIRC (maybe a different firmware version)
Is there any way around it besides rewriting everything to use SSH?

Thanks,
Justin



--
AF mailing list
[email protected]<mailto:[email protected]>
http://af.afmug.com/mailman/listinfo/af_af.afmug.com

-- 
AF mailing list
[email protected]
http://af.afmug.com/mailman/listinfo/af_af.afmug.com

Reply via email to