Skip to main content
Robin_Svanberg
New Member
October 18, 2016
Question

SNMP Interface name after update to FortiOS 5.4

  • October 18, 2016
  • 4 replies
  • 10058 views

Hi,

 

after upgrade to FortiOS 5.4, SNMP interface names seems missing. Only gets the description.

 

Anyone experiencing the same issue? 

 

Thanks.

 

 

    4 replies

    emnoc
    New Member
    October 18, 2016

    What do  you mean by snmp interface names? Any examples ?

     

     

    You can query  the interface well known  ifTable  &  any part of the IF-MIB and the related  Index descriptions aliases if that what your talking about.

     

    You can get an ideal of what the fortiOS  is doing via the following dig commands

     

     

      diag debug reset 

      diag debug en 

      diag debug  app snmpd -1

     

     

    Than have your poller poll the  device index and monitor the device  snap output the debug output 

     

     

    snmpwalk   -c  <community> -v2c  x.x.x.x  interface

     

    e.g

     

    snmpd: <msg> 47 bytes 70.195.211.101:58396 -> 192.0.1.1/192.0.2.1:161 (itf 46.46)

    snmpd: checking if community "nogocmmro" is valid

    snmpd: checking against community "1plus2eq2C0mun1"

    snmpd: name mismatch.

    snmpd: checking against community "test1234"

    snmpd: request 1(root)/46/70.195.211.101 == comm 1/0/70.195.211.101/255.255.255.255

    snmpd: matched community "nogocmmro"

    snmpd: get-next: ifEntry.1.96 -> () -> 0

    snmpd: eoq_ifEntry()

    snmpd: </msg> 1

     

     

     

     

     

    DTDytech
    New Member
    January 5, 2017

    We have exactly the same Problem.

     

    "snmpwalk   -c  <community> -v2c  x.x.x.x  interface" does not return the interfacename.

     

    in FortiOS 4.x all works fine, but at least on all 5.4.2 and 5.4.3 it is not there. 

    boneyard
    Valued Contributor
    January 8, 2017

    DT as emnoc requests can you do that with the debug enabled and share both outputs, from 4.x and 5.4.x?

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.