[afnog] Restricting SNMP View

Tawanda Kavayi kavayit at africaonline.co.zw
Thu May 22 13:27:30 UTC 2008


Hi,

My question is how do I identify, for example, FastEthernet0/1 with an 
object identifier, which would be used to restrict snmp view to just the 
statistics on this interface and no other interface.

Regards,

Tawanda

nsubugr at mtn.co.ug wrote:
> Yello Tawanda,
> 
>> (config)#snmp-server view EXAMPLE name included
>>
> 
> First the "EXAMPLE" you created is the view-name of the family you will use which holds view sub-trees and it's about 256 characters maximum. The family name must be a valid MIB name such as ENTITY-MIB, ciscoFileEngineMIB etc...
> 
>> My problem is on the "name" part.
>>
> 
> Second the "name" represents Object identifier (256 characters maximum) that identifies a sub-tree of the MIB.
> 
> Third the "included/excluded" is the view option that determines the inclusion or exclusion of the MIB family from the view.
> 
> Hope it helps.
> 
> Regards,
> Ronald Nsubuga.
> 
> 




More information about the afnog mailing list