Page 1 of 1

SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 18 Oct 2017 16:50
by Pacman28
Currently need to obtain OID information from Alcatel Lucent 6865 switch via SNMPWALK. OIDs are not available and are not loading from switch. SNMP traps are being received from switch and SNMP stations have been successfully configured to receive trap information. However, OID information is needed from switch for other alarm purposes.

PLEASE HELP!!!!! Why isn't the 6865 sharing OID info with SNMP Walk???

Multiple 6865-U28X switches behave the same way. All switches are updated with the latest firmware (9/2017)

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 12 Jan 2018 11:15
by David_Klancar
Hi!

have you fixed your problem?
Which SNMP version are you using?

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 22 Jan 2018 14:37
by Pacman28
No. Still waiting for a solution. I am using SNMP version 2c.

Thank you.

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 07 Mar 2018 09:36
by David_Klancar
Hi,

maybe you can try to configure a new user and snmp community for testing:

user snmpuserv2 password TheSNMPPAsword read-write all no auth
snmp security no security
snmp community map "CommunityTest" user "snmpuserv2" on

and try again the snmpwalk command:

> snmpwalk -v 2c -c CommunityTest IP_Address


If snmpv2 still does not work (I don't know why), you can try with snmpv3:

user snmpv3 password PasswordSNMPv3 SHA+DES READ-WRITE all

and snmpwalk command:

>snmpwalk -u snmpv3 -a SHA -A PasswordSNMPv3 -x DES -X PasswordSNMPv3 -l authPriv -v 3

Good luck,

David

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 16 Mar 2018 06:06
by Muttley
Hi...I hope this can help you :

"snmp security authentication set"

solved my problem receiving information from the devices :-) 6865u28X

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 19 Mar 2018 04:04
by devnull
But your command only says:
Use snmpv3 for "Set" - write operations, and allow read without.

David sent the correct commands, to setup everything for v2 and v3
aaa authentication snmp local
user snmpv2user password 111222333 read-only all no auth
user snmpv3user password abcd1234 md5+des read-write all
snmp community map "public" user "snmpv2user" on
snmp security authentication set
You can query with "public"
or write with snmpv3 with user snmpv3user and password "abcd1234"

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 21 Mar 2018 07:19
by Muttley
Hi Devnull nice to meet you...

If this is true: "But your command only says: Use snmpv3 for "Set" - write operations, and allow read without"
May be I have other issue, because without the command

"snmp security authentication set"

I can't recive response to SNMP-V2 read only query... I'm trying this now on 5 stack of 2-6865
This is the configuration:

! SNMP:
snmp security authentication set
snmp authentication-trap enable
snmp community-map mode enable
snmp community-map hash-key xxxxxxxxxxxxxxxxxxxxxxxxxx user "rosnmpusr" enable
snmp community-map hash-key xxxxxxxxxxxxxxxxxxxxx user "rwsnmpusr" enable

xxxxxxxx -> show snmp community-map
Community mode : enabled

status community string user name
--------+--------------------------------+--------------------------------
enabled SNMP-V2-RO rosnmpusr
enabled SNMP-V3-RO rwsnmpusr

xxxxxxx -> show user

User name = admin,......
User name = default (*)......

User name = rosnmpusr,
Password allow to be modified date = None,
Account lockout = None,
Password bad attempts = 0,
Read Only for domains = All ,
Read/Write for domains = None,
Snmp allowed = YES,
Snmp authentication = NONE,
Snmp encryption = NONE
Console-Only = Disabled
User name = rwsnmpusr,
Password allow to be modified date = None,
Account lockout = None,
Password bad attempts = 0,
Read Only for domains = None,
Read/Write for domains = All ,
Snmp allowed = YES,
Snmp authentication = NONE,
Snmp encryption = NONE
Console-Only = Disabled

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Posted: 22 Mar 2018 04:58
by devnull
Snmp security privacy all
is the default = only snmpv3 possible

With SNMPv2 you need to lower that bar to
"snmp security authentication set" (SNMPv1/2 only read only allowed)
"snmp security no security " (SNMP v1/2 write allowed as well)

For getting snmp data snmpv3 is the easiest way as you only need a user.