The switch supports SNMPv2c community-based security for read-only access.
Configure an SNMPv2c community name:
switch(config)# snmp-server community NAME
Bind the SNMP server to a VRF:
switch(config)# snmp-server vrf <default|VRF>
Show commands to validate functionality:
show snmp community
switch(config)# snmp-server community public
switch(config)# snmp-server vrf default
switch(config)# end
show snmp community
---------------------
SNMP communities
---------------------
mysnmp
show snmp vrf
SNMP enabled VRF
----------------------------
default