lssnmpserver
Use the lssnmpserver command to return a concise list or a detailed view of SNMP servers that are configured on the system.
Syntax
Parameters
- -delim delimiter
- (Optional) Specify a delimiter to separate data in the output.
- -nohdr
- (Optional) Suppress the headings in the output.
- snmp_server_name | snmp_server_id
- (Optional) Specifies the name or ID of an existing SNMP server that must be listed.
Description
Use
this command to display a concise list or a detailed view of SNMP
servers that are configured on the system. This table describes possible
outputs.
| Attribute | Value |
|---|---|
| id | Indicates the ID of the SNMP server. |
| name | Indicates the name of the SNMP server. |
| IP_address | Indicates the IP address or domain name of the SNMP server. |
| error | Indicates whether the server receives
error notifications. The values are on or
off. |
| warning | Indicates whether the server receives
warning notifications. The values are on or
off. |
| info | Indicates whether the server receives
information notifications. The values are on
or off. |
| port | Indicates the remote port number for the SNMP server. This value is in the range of 1 - 65535. |
| community | Indicates the community name for the SNMPv2 server. This value is blank for SNMPv3 servers. |
| version | Indicates the SNMP server version. The
values are 2 or 3. |
| securitylevel | Indicates the SNMPv3 security level. The
values are blank,
no_auth_no_priv,
auth_no_priv, or
auth_priv. |
| engineid | Indicates the SNMPv3 server engine ID. The
values are blank or a 32-byte character
string with the leading 0x removed. |
| securityname | Indicates the SNMPv3 server security name.
The values are blank or a max 32-character
string. |
| authprotocol | Indicates the SNMPv3 server authentication
protocol. The values are blank,
sha, or md5. |
| privprotocol | Indicates the SNMPv3 server privacy
protocol. The values are blank,
aes, or des. |
| authpassphrase_set | Indicates whether the SNMPv3 server authentication
passphrase has been set. The values are yes or no. |
| privpassphrase_set | Indicates whether the SNMPv3 server privacy passphrase
has been set. The values are yes or no. |
| tls | Indicates whether the SNMPv3 server is configured to use TLS over TCP. The values are on or off. |
