Skip to main content

SNMP

AttributWert v1Wert v2Wert v3
Einführung198819931999
StandardRFC 1155-1157RFC 1901-8, 2578RFC 1905-06, 3411-18
ProtokollUDPUDPUDP
Port161161161
AuthenifizierungCommunityCommunityUsername, MD5, SHA
EncryptionKeineKeineDES, AES
64-Bit ZählerJaNeinJa
Standard CommunitypublicpublicKeine

Konfiguration v2

SW1#conf t
SW1(config)#snmp-server community cisco-snmp ro
SW1(config)#snmp-server location Rack 10, 1 UG
SW1(config)#snmp-server contact network@holzfeind.ch
SW1(config)#snmp-server host 192.168.10.20 version 2c cisco-snmp
SW1(config)#snmp-server host 192.168.10.20 informs version 2c cisco-snmp alarms
SW1(config)#do wr

Konfiguration v3

SW1#conf t
SW1(config)#snmp-server location Rack 10, 1 UG
SW1(config)#snmp-server contact network@holzfeind.ch
SW1(config)#snmp-server group monitor-group v3 priv
SW1(config)#snmp-server user monitor-user monitor-group v3 priv auth sha 12345 priv ases 128 54321
SW1(config)#snmp-server host 192.168.10.20 version 3 monitor-user
SW1(config)#snmp-server host 192.168.10.20 informs version 3 monitor-user alarms
SW1(config)#do wr

Troubelshooting

show snmp
show snmp host
show snmp community
show snmp contact
show snmp location
show snmp view
show snmp group 
show snmp user [username ]
show snmp engineID
show snmp sessions
show snmp pending
show snmp mib ifmib traps