SNMP (Simple Network Management Protocol)
Except on the first page, right running head:  
Heading1 or Heading1NewPage text (automatic)
139
Alcatel-Lucent
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
SNMP MIB CLI
The SNMP MIB objects can be queried and set according to the access defined 
for each MIB object in the concerned RFC. We shall go through some of the 
commands from the CLI to query the agent for various objects and also to set 
several objects based on their access.
Note: SNMP manager commands listed below are provided by Net-SNMP toolkit and are 
installed as a part of standard Linux installation. For more information on each of the 
commands, please refer to the man page of the respective command.
G
ET
The following snmpget command for v1 and v2 can be used to retrieve the value 
of a MIB object.
snmpget -v {1|2c} -c <community-string> <agent ip-address> 
<MIB object>
 
The following snmpget command for v3 can be used to retrieve the value of a MIB 
object.
snmpget –v 3 –u <user-name> -l {noauthnopriv|authnopriv 
|authpriv} -a {MD5|SHA} -A <auth-password> -x <DES> -X 
<privilege-password> <host ip-address> <MIB object>
G
ETNEXT 
The snmpgetnext command for v1 and v2 can be used to retrieve the value of the 
next available MIB object in the lexicographically ordered tree.
snmpgetnext -v {1|2c} -c <community-string> <agent ip-
address> <MIB object>
The snmpgetnext command for v3 can be used to retrieve the value of the next 
available MIB object in the lexicographically ordered tree.
snmpgetnext –v 3 –u <user-name> -l {noauthnopriv|authnopriv 
|authpriv} -a {MD5|SHA} -A <auth-password> -x <DES> -X 
<privilege-password> <host ip-address> <MIB object>