Aruba & ProVision-based
1752687 Members
5417 Online
108789 Solutions
New Discussion

Re: Enable SNMPv3 without creating user initial

 
Ford
New Member

Enable SNMPv3 without creating user initial

I need to enable snmpv3 on dozens of switches but the switch keeps running a wizard that creates a user called "initial".  Is there any way to stop it from behaving this way? 

Our security policies do not allow default names like "initial" and these non-standard prompts mess with my ability to remotely push this config.  It also seems pointless to let it configure this user when I will delete it 2 seconds later after pushing a user config that does fit our security requirements.

I am running KA.16.04.0019 on a J9574A (3800).

Thanks,

Ford

 

1 REPLY 1
AbeAbe
Trusted Contributor

Re: Enable SNMPv3 without creating user initial

Hi,

as far as  i know, you can't. but this doesn't mean you can't script it:

 

config t
snmpv3 enable
123123
123123
n
y

snmpv3 user <user> auth md5 <hash> priv aes <pw>
snmpv3 group managerpriv user <user> secmodel ver3
snmpv3 group managerpriv user <user> sec-model ver3

snmpv3 restricted-access


no snmpv3 user initial
write mem

you just need to remove the initial user...

 

hth

Alex