snmpv3 user context
Syntax
snmpv3 user <UNAME> context <CNAME>
no snmpv3 user <UNAME> context <CNAME>
Description
Associates an SNMPv3 user with an SNMPv3 context.
Theno
form of this command removes an SNMPv3 user from an SNMPv3 context.
Command context
config
Parameters
<UNAME>
Specifies the name of an existing SNMPv3 user. Range: 1 - 32 printable ASCII characters, excluding space and question mark.
<CNAME>
Specifies the name of an existing SNMPv3 context. Range: 1 - 32 printable ASCII characters, excluding space and question mark.
Authority
Administrators
Examples
Associating the SNMPv3 user
user1
with the context named
newContext
:
switch(config)# snmpv3 user user1 context newContext
Removing the SNMPv3 user
user1
from the context named
newContext
:
switch(config)# no snmpv3 user user1 context newContext