Its ok I answered my own question.
By using
snmp-server enable traps
for all traps and then
debug snmp packet
you are able to see traps for specific interfaces which have their own
ifIndex which in turn will be restricted by assigning a view
,that is specific for an ifEntry, to a community.
On 18 March 2010 21:29, Muzammil Malick <malickmuz_at_gmail.com> wrote:
> Hi All
>
> I came across an excellent example of how an SNMP view can be restricted to
> show info about a particular interface.
> However I cant seem to find it again
> e.g.
>
> snmp-server view ccie ifEntry.*.1 included
>
> where 1 would relate to an interface. This example explained that later on
> by using
>
> snmp-server enable traps linkup linkdown
>
> the view would send traps only for the ifIndex assigned earlier. Can
> someone point me to an example that shows and verifies this?
>
> Thanks
Blogs and organic groups at http://www.ccie.net
Received on Thu Mar 18 2010 - 23:06:34 ART
This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:35 ART