snmpv3_ssw Command
Purpose
Switch the symbolic links among the non-encrypted snmpdv3 agent, encrypted snmpdv3 agent and snmpdv1 agent.
Syntax
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
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 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