cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1388
Views
6
Helpful
4
Replies

MIB View command in CatOS

ahajivandi
Level 1
Level 1

Hello all,

Can anybody please verify the following. I want to configure the following IOS commands in CATOS (in Cat4006), regarding MIB views restriction?

#snmp-server view TEST mib-2 included

#snmp-server community private view TEST RO 96

() set snmp view TEST 1.3.6.1.2.1 included

() set snmp access Cisco-group security-model v2c read TEST

() set snmp community read-only private

Thank you beforehand,

-Aryan

4 Replies 4

David Stanford
Cisco Employee
Cisco Employee

The command structure looks fine, these commands all work on CatOS.

However, if you are using multiple comm strings in certain versions of CatOS it would be different:

set snmp community-ext community_string {read-only | read-write | read-write-all}

[view view_oid] [access access_number

http://www.cisco.com/en/US/products/hw/switches/ps708/products_configuration_guide_chapter09186a00801a5b32.html#wp1031745

This command is not implemented in 4006 switch version 6.3(8), nor access-list.

Moreover, the snmp view can not be configured with an individual community string, so that the view can be read with that string.

So are you saying you can't mix the snmp community and view in the same command line like this..

set snmp community-ext pubic read-only view lifEntry.1 access 55

access-list 55 permit 164.97.108.120

No, the point is that the set command is not implemented. So view can be configured.

By the way the issue is solved by SNMP v3!