how to restrict access to certain MIBs

Unanswered Question
Jun 19th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
miheg Tue, 06/19/2007 - 04:24

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

David Stanford Tue, 06/19/2007 - 05:22

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

curtis03_2 Thu, 06/28/2007 - 06:53

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

Actions

This Discussion