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

Restricting SNMP on an interface

Dear Experts,

Our network router has 4 serial interfaces and 2 Ethernet interfaces.

The router is working in SNMP V2 with SNMP based application.

One of the Ethernet interfaces is restricted. Thus, i do not want it to be polled VIA SNMP.

How can i not notify my management station about the second Ethernet interface (the management application will think that there is only 1 Ethernet interface)?

Thank you very much.

Tzachi Slav

3 REPLIES
Blue

Re: Restricting SNMP on an interface

New Member

Re: Restricting SNMP on an interface

Thank you very much for the fast response.

However, i don't understand how "SNMP view" will disable polling of a specific interface in the router?

Tzachi Slav

Hall of Fame Super Silver

Re: Restricting SNMP on an interface

The OID tree for your device will have a section that describes the interface you want blocked and all it's characteristics. If you MIBwalk the device, you will discover the specific OIDtree "branch" which applies to the particular interface. You then plug that ASN.1 subtree into "oid-tree" field of the command "snmp-server view view-name oid-tree excluded"

Hope this helps, please rate helpful posts.

297
Views
5
Helpful
3
Replies
CreatePlease to create content