Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Restricting SNMP view to CDP

If I wanted restrict the SNMP view for a deivce such that it would only query the CISCO-CDP-MIB, would the following be sufficient?

snmp-server view CDP-Only-View ciscoCdpMIB included

Also, would this be sufficient enough for Ciscoworks to perform a discovery through if the device with the restricted view was a seed device?

2 REPLIES

Re: Restricting SNMP view to CDP

1. you are on the good track. Also call the view for the particular community string: snmp-server community X view CDP-Only-View

As per doc:

http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_cfg_snmp_sup_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1026473

2. You need at list the sysobjectid for LMS, I doubt CDP mib is sufficient.

Why dont you use the packet capture utility in LMS and run a packet capture to see all the mibs that it's querying for a discovery of 1 device?

New Member

Re: Restricting SNMP view to CDP

Had success including the CDP mib and mib2.

128
Views
0
Helpful
2
Replies
CreatePlease to create content