Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to restrict access to certain MIBs

Hi

I have been tasked with granting access to MIB-2 and the following private MIBs ONLY on 2821 routers: -

CISCO-SMI

CISCO-SMI-V1SMI

CISCO-RTTMON-MIB

CISCO-RTTMON-CAPABILITY

CISCO-RTTMON-TC-MIB

CISCO-RTTMON-ICMP-MIB

CISCO-RTTMON-RTP-MIB

Can anyone help me with the relevant commands?

Thanks in advance

4 REPLIES
Silver

Re: how to restrict access to certain MIBs

Search the cisco site for 'IOS snmp-server view' or google

snmp-server view view_name1 oid-tree {included | excluded}

snmp-server noauth read view_name1

Cheers,

Michel

Cisco Employee

Re: how to restrict access to certain MIBs

You could do something like this:

snmp-server view rtr-view system included

snmp-server view rtr-view ciscoRttMonMIB excluded

snmp-server community test view rtr-view RO

Here are a couple of links explaining views:

http://www.cisco.com/en/US/products/ps6441/products_command_reference_chapter09186a00804bf343.html#wp1162003

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00800948e6.shtml

New Member

Re: how to restrict access to certain MIBs

Thanks Davistan

Can you please point me in the direction of where i can find information on exactly what info each Cisco MIB provides?

Thanks in advance

Cisco Employee

Re: how to restrict access to certain MIBs

You can go to the object navigator and read on through the MIB you want to block:

http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2

1008
Views
10
Helpful
4
Replies