snmpv3_ssw command
Purpose
Switch the symbolic links among the non-encrypted snmpdv3 agent, encrypted snmpdv3 agent and snmpdv1 agent.
Description
Switch the symbolic links among the non-encrypted snmpdv3 agent, encrypted snmpdv3 agent and snmpdv1 agent, and then start the newly chosen SNMP agent. A user can choose which version of SNMP agent to run.
For example, if the current
running SNMP agent is the encrypted snmpdv3 agent, the actual
SNMP agent executable which is running on the machine is "/usr/sbin/snmpdv3e".
The symbolic links on the machine are:
- /usr/sbin/snmpd --> /usr/sbin/snmpdv3e
- /usr/sbin/clsnmp --> /usr/sbin/clsnmpe
If a user chooses to switch to the non-encrypted snmpdv3
agent, after user runs the /usr/sbin/snmpv3_ssw command with
the -n option, the actual snmp agent which is running on the
machine "/usr/sbin/snmpdv3ne". The symbolic links on the machine
will be changed to:
- /usr/sbin/snmpd --> /usr/sbin/snmpdv3ne
- /usr/sbin/clsnmp --> /usr/sbin/clsnmpne
Flags
Item | Description |
---|---|
-e | Switch to the encrypted version of snmpdv3 agent. |
-n | Switch to the non-encrypted version of snmpdv3 agent. |
-1 | Switch to the snmpdv1 agent. |
Security
Any user can run the svmon command. If the user is not a root user, the view will be limited to the user's own processes. If RBAC is activated and the vios.security.manage.snmp.switch role is attributed to a user, then that user can see the same view that the root user does.
Attention RBAC users and Trusted AIX users: This
command can perform privileged operations. Only privileged users can
run privileged operations. For more information about authorizations
and privileges, see Privileged Command Database in AIX® Version 7.1 Security.
For a list of privileges and the authorizations associated with this
command, see the lssecattr command or the getcmdattr subcommand.
Examples
- To switch to the encrypted version of snmpdv3 agent, enter:
/usr/sbin/snmp3_ssw -e