cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4760
Views
10
Helpful
4
Replies

how to restrict access to certain MIBs

curtis03_2
Level 1
Level 1

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 4

miheg
Level 5
Level 5

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
Cisco Employee
Cisco Employee

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: