01-30-2019 05:59 PM
Hi all - i need to configure SNMPv3 on a Nexus 5K, and ensure SNMP requests are only permitted from certain IP ranges. It's not clear to me, how to apply an ACL to an SNMPv3 user/group on the Nexus. Would anyone have a sanitized configuration example for this?
nxos.7.0.3.I3.1
Thanks,
Solved! Go to Solution.
01-31-2019 01:05 PM
Luke,
Your title says Nexus 5000 but the NX-OS version you have listed (7.0(3)I3(1)) is a Nexus 9000 version. Which Nexus platform are you trying to accomplish this on?
Assuming you meant the Nexus 5K series, this is supported and possible starting in 7.2(0)N1(1) and later.
N5K-RTP(config)# ip access-list SNMPv3_Access N5K-RTP(config-acl)# 10 permit ip 99.99.99.99/32 any N5K-RTP(config-acl)# snmp-server user Cisco_Forum auth sha TEST123 priv aes-128 TEST456 N5K-RTP(config)# snmp-server user Cisco_Forum use-ipv4acl SNMPv3_Access N5K-RTP# show version | i i Nexus.5|system.version cisco Nexus 5672UP Chassis ("Nexus 5672UP Supervisor") System version: 7.3(1)N1(1)
This is documented in the System Management Guide for 7.x
Hope that helps.
01-31-2019 01:05 PM
Luke,
Your title says Nexus 5000 but the NX-OS version you have listed (7.0(3)I3(1)) is a Nexus 9000 version. Which Nexus platform are you trying to accomplish this on?
Assuming you meant the Nexus 5K series, this is supported and possible starting in 7.2(0)N1(1) and later.
N5K-RTP(config)# ip access-list SNMPv3_Access N5K-RTP(config-acl)# 10 permit ip 99.99.99.99/32 any N5K-RTP(config-acl)# snmp-server user Cisco_Forum auth sha TEST123 priv aes-128 TEST456 N5K-RTP(config)# snmp-server user Cisco_Forum use-ipv4acl SNMPv3_Access N5K-RTP# show version | i i Nexus.5|system.version cisco Nexus 5672UP Chassis ("Nexus 5672UP Supervisor") System version: 7.3(1)N1(1)
This is documented in the System Management Guide for 7.x
Hope that helps.
01-31-2019 05:09 PM
Thanks, yes 5k is correct i must have copied OS version from the wrong switch. I will look at upgrading to 7.2(0)N1(1), to allow this feature.
Thanks !
- Luke
01-31-2019 05:15 PM
10-21-2020 06:17 AM
FYI Based on my testing, only a standard access lists will work.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide