cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2093
Views
0
Helpful
4
Replies

Configuring multiple snmp host to nexus

EJ Talamayan
Level 1
Level 1

Hi,

 

Good Day!

 

Can I configure multiple snmp server IPs in one command in Nexus switches?

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

If you looking to give permission to multiple SNMP to poll nexus switches here is sample config :

 

 

snmp-server location UK-TEST
snmp-server source-interface traps mgmt0
snmp-server host 192.1.50.7 traps version 2c bbandi    <<- fist SNMP server
snmp-server host 192.1.51.7 traps version 2c bbandi   <<- Seconds SNMP Server

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Desmond Lee
Level 1
Level 1

Hi, can I add on to this 2019 thread ?

 

snmp-server host 192.1.50.7 traps version 2c bbandi    <<- fist SNMP server
snmp-server host 192.1.51.7 traps version 2c bbandi   <<- Seconds SNMP Server

 

say I configure multiple SNMP hosts and each host has different credentials for SNMP version 3 with something like below

 

snmp-server user  xxx auth sha "password" priv aes 128 "password"  //for host 50.7

snmp-server user  xxx auth sha "password2" priv aes 128 "password2"  //for host 51.7

 

Thanks,

 

Desmond

is it possible to enter more than 1 set of credentials if each host has different credentials ?

 

One user, one password. If you want to use different passwords, you must create different username.

hi how would the system know which username is for which host suppose i have done that ?