SNMPv3 supports cryptographic security through a combination of authenticating
and encrypting the SNMP protocol packets over the network. Read-only access is
currently supported. The administrator user can add or remove SNMPv3 users.
(switch(config)#) Configure a new SNMPv3 user (minimum eight characters for passwords):
snmpv3 user <USER> auth md5 auth-pass <A-PSWD> priv aes priv-pass <P-PSWD>
(switch(config)#) Remove an SNMPv3 user:
no snmpv3 user <USER>
(switch(config)#)
show snmpv3 users
(switch(config)#)
snmp-server community public
snmpv3 context public vrf default community public
show snmpv3 context
Example output:
--------------------------------------------------------------------------
Name vrf Community
--------------------------------------------------------------------------
public mgmt. public
(switch(config)#)
show snmp vrf
Example output:
SNMP enabled VRF
----------------------------
default
(switch(config)#)
show snmpv3 users
Example output:
--------------------------------------------------------------------------
User AuthMode PrivMode Context Enabled
--------------------------------------------------------------------------
Snmpv3user md5 aes none True