Overview
This article provides information on the Exinda CLI command snmp-server
. This command is used to configure SNMP (Simple Network Management Protocol).
Information
- {}: Options are enclosed in braces and are separated by '|'.
- []: Optional keywords are enclosed in brackets.
- <>: User input is required where variables are enclosed in greater-than and less-than symbols.
The following table describes the commands used for performing common actions related to snmp:
Action Description |
Command | Parameter Description |
To add a new SNMP community |
|
Not Applicable |
To set a value for the syscontact variable in MIB-II |
|
Not Applicable |
Set a value for the syslocation variable in MIB-II |
snmp-server location <location> |
Not Applicable |
To enable SNMP-related functionality |
snmp-server enable |
Not Applicable |
To enable community-based authentication |
snmp-server enable communities |
Not Applicable |
To enable sending of SNMP traps and informs from this system |
snmp-server enable notify |
Not Applicable |
To specify the hostname or IP address to send SNMP traps to | snmp-server host <host> |
host <host> - Hostname or IP address. IPv4 or IPv6 addresses can be used. |
To specify the port for sending the SNMP trap | snmp-server port <port> |
port <port> - UDP port for the SNMP agent. |
To configure SNMP server interface access restrictions | snmp-server listen {enable|interface <interface>} |
listen interface <interface> - Add the named interface to the SNMP server access restriction list |
To configure SNMP access on a per-user basis | snmp-server user <username> v3 {auth|enable|encrypted|prompt} |
|
To restrict a network object (a logical definition created and stored in the Exinda library, can represent any network component) from accessing the SNMP server |
snmp-server restrict <network-object> |
Not Applicable |
Related Article