Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMPv3 Traps Nexus and Engine ID

I am trying to configure SNMPv3 TRAPS on Cisco Nexus running 5.2 NxOS.  I need to be able to configure an SNMP Engine ID, but the OS appears to only support Engine ID for informs, not traps.  Is there a way to configure the engine ID for SNMPv3 TRAPS in Nexus?

 

 

Everyone's tags (1)
1 REPLY
Cisco Employee

The SNMP manager must know

The SNMP manager must know the user credentials (authKey/PrivKey) based on the SNMP engineID of the Cisco Nexus 5000 Series switch to authenticate and decrypt the SNMPv3 messages.

You can configure EngineID with individual command or with SNMP v3 user :

Individual:
snmp-server engineID local 123456789012345678901234

SNMP v3 User :
switch(config)# snmp-server user name [auth {md5 | sha} passphrase [auto] [priv [aes-128] passphrase] [engineID id] [localizedkey]] 

Example :
snmp-server user NMS auth sha abcd1234 priv abcdefgh engineID 00:00:00:63:00:01:00:a1:ac:15:10:03

The engineID format is a 12-digit colon-separated hexadecimal number.

You can check the existing EngineID using show snmp engineID.

You dont have to bind EngineID with either Trap or Inform as such in configuration, in snmp v3 as it is common configuration for both :

switch(config)# snmp-server host ip-address {traps | informs} version 3 {auth | noauth | priv} username [udp_port number]

The above command configures snmp v3 traps or informs. The username can be any alphanumeric string up to 255 characters. The UDP port number range is from 0 to 65535.

-Thanks

Vinod

**Encourage Contributors. RATE them.**

-Thanks Vinod **Rating Encourages contributors, and its really free. **
270
Views
0
Helpful
1
Replies
CreatePlease login to create content