cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2662
Views
0
Helpful
4
Replies

disable snmp on ios

nvanhaute
Level 1
Level 1

hi,

I have few routers (1841, 1941, 3825, 3925 and new 4k).

I managed them from inside interface and to do that I have this configuration :

access-list 1 permit a.b.c.d
snmp-server community xxxxx RO 1

 

that works well.

 

But in scanning all udp ports from outside (internet), nmap detected that :

161/udp open snmp Cisco SNMP service; ciscoSystems SNMPv3 server
| snmp-info:
| enterprise: ciscoSystems
| engineIDFormat: mac
| engineIDData: macaddress_hidden
| snmpEngineBoots: 17
|_ snmpEngineTime: 1d05h34m16s

 

So how is it possible while I have ACLs ? how to disable snmpv3 cause I use only v2c ?

Right now I use as workaround an ACL denying snmp applied on outside interface.

If you have an idea

thanks

 

Nicolas

4 Replies 4

Hello

Show run | in snmp


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

snmp-server community xxxxxx RO 1
snmp-server location yyyyyy
snmp-server contact Nicolas Vanhaute
snmp ifmib ifindex persist

Hello

Possibly try example-
snmp-server group SNMP v2c access 1
snmp-server community xxxxxx view Allow-Mib RO 1
snmp-server view Allow-Mib mib-2 included
snmp-server view Allow-Mib cisco included


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

not better (no changes) and even worse cause now my monitoring system can't get information from snmp requests

a simple snmpwalk gives me now : iso.3.6.1.2.1 = No more variables left in this MIB View (It is past the end of the MIB tree)

 

 

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:

Review Cisco Networking products for a $25 gift card