[rbak-nsp] SNMP - reading interface apd dot.1q stats

Daniel Celiński daniel.02c at gmail.com
Thu Jun 20 16:04:36 EDT 2013


2013/6/20 "Kuba" Dawid Chrzan <dawid.chrzan at pszczyna.net.pl>

> Hi , thanks for suggestion.
>
> I have it already  enabled
>
> IF-MIB::ifDescr.1 = STRING: xcrp ethernet management port hw rev. 022,
> ver. 4
> IF-MIB::ifDescr.2 = STRING: carrier ethernet port hw rev. 022, ver. 4
> IF-MIB::ifDescr.3 = STRING: carrier ethernet port hw rev. 022, ver. 4
> IF-MIB::ifDescr.67239944 = STRING: Logical Interface
> IF-MIB::ifDescr.67239945 = STRING: Logical Interface
> IF-MIB::ifDescr.67239949 = STRING: Logical Interface
> IF-MIB::ifDescr.67239950 = STRING: Logical Interface
> IF-MIB::ifDescr.67239960 = STRING: Logical Interface
>
>
> But trying to get IF-MIB::ifInOctets.67239944 gives me nothing
> ~$ snmpwalk -v2c -c Admin xx.2xx.x0.2 IF-MIB::ifInOctets.67239944
> IF-MIB::ifInOctets.67239944 = No Such Instance currently exists at this OID
>
> ~$ snmpwalk -v2c -c Admin xx.2xx.x0.2 IF-MIB::ifInOctets.67239945
> IF-MIB::ifInOctets.67239945 = No Such Instance currently exists at this OID
>
>
>  I think you might need to enable the enhanced mib:
>>
>> snmp server enhance ifmib
>>
>> Then you should have info like:
>>
>> IF-MIB::ifDescr.134217796 = STRING: port ethernet 1/1 dot1q pvc 1609
>> 1/2/68
>> IF-MIB::ifDescr.134217797 = STRING: port ethernet 1/1 dot1q pvc 1611
>> 1/2/69
>> IF-MIB::ifDescr.134217805 = STRING: port ethernet 1/4 dot1q pvc 2009
>> 1/2/77
>> IF-MIB::ifDescr.134217807 = STRING: port ethernet 1/4 dot1q pvc 2109
>> 1/2/79
>>
>> Jim.
>>
>> On 20/06/2013 14:24, "Kuba" Dawid Chrzan wrote:
>>
>>> Hi,
>>> how to read interface statistics from SE100?
>>>
>>> When i run snmpwalk i receive a lot of data
>>>
>>> from such a view
>>> snmp view Inet-View internet
>>>
>>> But i am not able to find anything that is applicable to my vlans
>>>
>>> Is this a matter of proper view ?
>>>
>>> snmpwalking on 1.3.6.1.2.1.2 - shows me some interface data - but i am
>>> not able to find my vlans there.
>>>
>>>
>>> I would like to get stats form vlans - like
>>>
>>> Redback#sh circuit counters 2/2 vlan-id 2899
>>> Circuit Packets/Bytes Sent Packets/Bytes Received
>>> 2/2 vlan-id 2899 1333404294 1965185909
>>> 230419119236 2236219321036
>>>
>>>
>>>
>>
> --
> Pozdrawiam
> "Kuba" Dawid Chrzan
>
>
> ______________________________**_________________
> redback-nsp mailing list
> redback-nsp at puck.nether.net
> https://puck.nether.net/**mailman/listinfo/redback-nsp<https://puck.nether.net/mailman/listinfo/redback-nsp>
>


Hi,

Try to put "Admin@<context>" as the community.



-- 
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20130620/e0af24b6/attachment.html>


More information about the redback-nsp mailing list