I'm trying to configure a switch to send traps to our network management system. To test it, I'm trying to send traps for creating new VLANs. I've configured it like this:
snmp-server community [RO_comm_string] RO
snmp-server community [RW_comm_string] RW
snmp-server enable traps vlancreate
snmp-server host xxx.xxx.xxx.xxx [RO_comm_string]
Is there anything missing from my config? The Cisco documentation says I also have to configure an engineID, an snmp-server user and an snmp group, but I've seen other documentation that says I only have to configure the NMS server and the traps that I want to enable (which is what I've done in they config above).
Oh, I incorrectly assumed you had a CiscoWorks. I don't have a copy of Soalrwinds NCM to check for equivalent functionality, but you can always just use a network analyzer to look at the packets flowing between your management station and the device and examine them for snmp v2 protocol usage.
Since Solarwinds is Windows-based, you can use any of several free protocol analyzers (if you don't already have one). Look at Wireshark (formerly Ethereal) or Microsoft Network monitor.
"The SNMP engine ID is a unique string used to identify the device for administration purposes. You do not need to specify an engine ID for the device; a default string is generated using Cisco's enterprise number (22.214.171.124.4.1.9) and the mac address of the first interface on the device. For further details on the SNMP engine ID, see RFC 2571."
- re snmp-server group:
"When a community string is configured internally, two groups with the name public are autogenerated, one for the v1 security model and the other for the v2c security model."
In other words, if you are OK with the "public" group, there's no need to create additional groups.
- re snmp-server user
That command is only necessary when further securing snmp using, for example: snmp-server groups, passwords, and access-lists.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...