Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
SamK0
New Contributor II

SNMP V3 ERROR ABOUT CISCO SWITCH

Hello everyone,
I am working with FortiNAC-F 7.4 and I have imported a Cisco Catalyst switch v3. The ports on the switch are in VLANs. I can read them on the device, but the problem is that I cannot retrieve certain endpoints on the ports. When I check the events on FortiNAC, I receive an error:

SNMP Failure SNMP failed for device SW-INFO with message SNMP getNext/getBulk Failed for device: 10.30.5.0.2

Can you please help me?

FortiNAC 

1 Solution
AEK

Hi Sam

In your config I see only trap related config.

I usually add the following for SNMP queries and all works fine.

snmp-server group nacgroup v3 priv read nacgroup write nacgroup notify nacgroup
snmp-server group nacgroup v3 priv context vlan- match prefix read nacgroup

snmp-server view nacgroup iso included
snmp-server view nacgroup system included
snmp-server view nacgroup interfaces included

 

AEK

View solution in original post

AEK
11 REPLIES 11
AEK

Hi Sam

In your config I see only trap related config.

I usually add the following for SNMP queries and all works fine.

snmp-server group nacgroup v3 priv read nacgroup write nacgroup notify nacgroup
snmp-server group nacgroup v3 priv context vlan- match prefix read nacgroup

snmp-server view nacgroup iso included
snmp-server view nacgroup system included
snmp-server view nacgroup interfaces included

 

AEK
AEK
SamK0
New Contributor II

Hi AEK,
sorry for my silence. I didn't have access to the switch anymore.
I've just tested the commands, I can see several devices whose vlans have been added to the SNMP view (context vlan- match prefix not working).
I can't see the IP associated with the endpoints either.
Thanks for your contribution so far.

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors