Start a conversation

Exinda CLI: SNMP

Overview

 

This article provides information on the Exinda CLI command snmp-server . This command is used to configure SNMP (Simple Network Management Protocol).

 


Information

 

NOTE:  The following syntax convention is used:
  • {}: 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

snmp-server community <community>

Not Applicable 

To set a value for the syscontact variable in MIB-II

snmp-server contact <contact>

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}
  • v3 - Configure SNMP v3 users
  • auth {md5|sha} <password> [priv <privacy-type>] - Configure SNMP v3 security parameters

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

CLI commands

 

Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments