SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post Reply
Pacman28
Member
Posts: 3
Joined: 29 Jul 2015 10:26

SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post 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)
Thanks for the Help, Homies ...

Who is Max Mouse?
User avatar
David_Klancar
Member
Posts: 12
Joined: 01 Dec 2017 04:56

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post by David_Klancar »

Hi!

have you fixed your problem?
Which SNMP version are you using?
Pacman28
Member
Posts: 3
Joined: 29 Jul 2015 10:26

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post by Pacman28 »

No. Still waiting for a solution. I am using SNMP version 2c.

Thank you.
Thanks for the Help, Homies ...

Who is Max Mouse?
User avatar
David_Klancar
Member
Posts: 12
Joined: 01 Dec 2017 04:56

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post 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
Muttley
Member
Posts: 32
Joined: 07 Feb 2013 14:53

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post by Muttley »

Hi...I hope this can help you :

"snmp security authentication set"

solved my problem receiving information from the devices :-) 6865u28X
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post 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"
Muttley
Member
Posts: 32
Joined: 07 Feb 2013 14:53

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post 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
devnull
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 976
Joined: 07 Sep 2010 10:16
Location: Germany

Re: SNMP: RECEIVING OID INFORMATION FROM SWITCH

Post 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.
Post Reply

Return to “OmniSwitch 6865”