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

Allow only certain OIDs to be polled

Hi,

We have multiple routers in our network where SNMP servers are polling the routers links. The server is polling CPU and link utilization of customers. Now a days we are observing high CPU on the routers due to SNMP. We suspect the servers are requesting lot of other information than it is required. So I would like to have a control in the individual routers on the OID parameters to be polled (as the servers are managed by different team and we dont have a control over that).

So is there anyway in the router to control the OID parameters that it can respond?

thanks in advance.

regards,

Arun Kumar

3 REPLIES
Silver

Re: Allow only certain OIDs to be polled

i recommad to post your question in network management section.

Hall of Fame Super Silver

Re: Allow only certain OIDs to be polled

Hello Arun,

snmp-server view

To create or update a view entry, use the snmp-server view global configuration command. To remove the specified Simple Network Management Protocol (SNMP) server view entry, use the no form of this command.

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

no snmp-server view view-name

http://www.cisco.com/en/US/docs/ios/12_2/configfun/command/reference/frf014.html#wp1023312

Hope to help

Giuseppe

New Member

Re: Allow only certain OIDs to be polled

In addition to above, here are the exact commands that you may use.

Remember that using below commands, the polling engine will only be able to poll Interface operational status and Interface Admin status. You can additionally add any other MIB if you want to.

snmp-server view ifstatusOnly iso excluded

snmp-server view ifstatusOnly ifAdminStatus.* included

snmp-server view ifstatusOnly ifOperStatus.* included

snmp-server community mycommunity view ifstatusOnly RO

Pls rate helpful posts.

Mohsin

116
Views
3
Helpful
3
Replies
CreatePlease to create content