Skip to content
Portfolio

Simple Network Management Protocol (SNMP)

TermDescription
SNMP Manager (NMS)Central server that collects data from network devices
SNMP AgentSoftware running on the router/switch
MIB (Management Information Base)Structured database on the device organizing all statistics (CPU, interface status, etc.)
OID (Object Identifier)Specific address to look up a metric within the MIB
TrapsUnreliable/unacknowledged alerts from agent → manager (UDP 162)
InformsReliable alerts requiring manager acknowledgment

VersionSecurityCommunity StringsFeatures
v1Clear textYesTraps only
v2cClear textYesAdds Informs, bulk transfers
v3Auth + Encryption (USM)No (uses users)Secure — SHA/MD5 auth, DES/AES privacy

R1(config)# snmp-server community ReadOnlyPassword RO
R1(config)# snmp-server community WritePassword RW
R1(config)# snmp-server location Madrid_DataCenter
R1(config)# snmp-server contact admin@networklab.com
R1(config)# snmp-server host 10.0.0.100 version 2c WritePassword
R1(config)# snmp-server enable traps config
R1(config)# snmp-server group MySecureGroup v3 priv
R1(config)# snmp-server user SecurityAdmin MySecureGroup v3 auth sha MyAuthPass priv aes 128 MyPrivPass