0% found this document useful (0 votes)
50 views2 pages

Monitor Your Switches - SNMP Setting

This document provides instructions for monitoring network switches using SNMP. It recommends installing SNMP server software to collect traps and monitor events. It then discusses configuring network devices to send traps to the SNMP server using a predefined community string. Examples are given for configuring Cisco, HP, and 3Com/Huawei switches to send traps to an SNMP server using SNMP version 2c for low CPU usage while allowing read-only access. Traps should be configured to send for certain severity levels of events.

Uploaded by

christyan leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

Monitor Your Switches - SNMP Setting

This document provides instructions for monitoring network switches using SNMP. It recommends installing SNMP server software to collect traps and monitor events. It then discusses configuring network devices to send traps to the SNMP server using a predefined community string. Examples are given for configuring Cisco, HP, and 3Com/Huawei switches to send traps to an SNMP server using SNMP version 2c for low CPU usage while allowing read-only access. Traps should be configured to send for certain severity levels of events.

Uploaded by

christyan leon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

13/2/2020 Monitor Your switches - SNMP setting

switchbackup Search

Go to content Login using Twitter Sign In

Forums switch / router configuration best practices

Monitor Your switches - SNMP setting


Posted by SwitchBackup Team - 6. ledna 2016 13:33:53

A. Install some server software to collect SNMP traps and collect and monitor events. If you have no one installed in your network yet, install some of free - for
example Zenoss Core (linux, available also Virtual Appliance, look at Zenoss.org) or Mikrotik Dude (Windows, look at Mikrotik.com).
B. Investigate or create Your own community name (string for identification) - we use "My-SNMP-Community-String" in examples
C. Configure Your network devices to send traps (notification about events) to Your server. There are many SNMP protocol versions, remember version 1 and 2c use
plain text athentification, version 3 cipher datata in packet. Cipher access data is nice, but this process loads CPU of the device. So best practices is to use
version 2c due to low CPU load, to allow read-only access, do not use default community strings (public, private) and to use reserved management and
monitoring VLAN due to security and broadcast limitations.
Cisco switch configuration example:
We are using vendor predefined classification of the events:

1 — Critical. The condition affects service.


2 — Major. Immediate action is needed.
3 — Minor. Minor warning conditions.
4 — Informational. No action is required. This is the default.

configure terminal
snmp-server community My-SNMP-Community-String RO
snmp-server host 192.168.1.2 version 2c My-SNMP-Community-String
snmp-server enable traps alarms 2
end

HP switch configuration example:


We are using vendor predefined classification of the events:

none - send no log messages


debug - send debug traps (for Internal use)
all - send all log messages
not-info - send all but informational-only messages
critical - send critical-level log message
informs - specify if informs will be sent, rather than notifications

configure
snmpserver host 192.168.1.2 My-SNMP-Community-String not-info
snmpserver community My-SNMP-Community-String operator restricted
snmpserver enable
end

3Com or Huawei switch configuration example:


Caution: Comware switches has usually SNMPv3 enabled in default setting

snmp-agent trap enable


snmp-agent targethost trap address udp-domain 192.168.1.2 udp-port 161 params securityname My-SNMP-Community-String
snmp-agent community read My-SNMP-Community-String
snmp-agent sys-info version v1 v2c
undo snmp-agent sys-info version v3
snmp-agent

Reply Print

Related threads
Encrypt all plain text passwords
reload in command
switchbackup 2.0.0.32
LAN Security - DHCP Snooping

www.switch-config.com/forum/switch-router-configuration-best/monitor-your-switches-snmp-setting-29/ 1/2
13/2/2020 Monitor Your switches - SNMP setting

About | Terms and conditions | Powered by nearforums

www.switch-config.com/forum/switch-router-configuration-best/monitor-your-switches-snmp-setting-29/ 2/2

You might also like