community string for limited

Answered Question

hi,

I want to limit a particular community string to work ONLY for IFSTATUS mib, and nothing more than that. Please state as to how can i acheive that.

Correct Answer by Joe Clarke about 8 years 8 months ago

You can create a view:


snmp-server view ifstatusOnly iso excluded

snmp-server view ifstatusOnly ifAdminStatus.* included

snmp-server view ifstatusOnly ifOperStatus.* included

snmp-server community mycommunity view ifstatusOnly RO

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Sun, 09/21/2008 - 19:36
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You mean just ifOperStatus and ifAdminStatus? That is, only allow the polling of these two objects for all ifIndex values?

Correct Answer
Joe Clarke Sun, 09/21/2008 - 19:52
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You can create a view:


snmp-server view ifstatusOnly iso excluded

snmp-server view ifstatusOnly ifAdminStatus.* included

snmp-server view ifstatusOnly ifOperStatus.* included

snmp-server community mycommunity view ifstatusOnly RO

Actions

This Discussion