IOS SNMPv2 Setup - CLI

Quick down and dirty SNMPv2 setup for Cisco 2960 and other IOS via CLI


<HOST IP> - IP of your SNMP server/probe
<Community> - Randomized community string
<Management Interface> - Network Management interface to send traps from


ip access-list standard snmp-access
permit <HOST IP>
snmp-server community <Community> RO snmp-access
snmp-server enable traps snmp authentication
snmp-server host <HOST IP> version 2c <Community>
snmp-server trap-source <Management Interface>



To check SNMP is working correctly:

show snmp


Comments

Popular posts from this blog

Cisco 891 Template - CLI