Symmetricom SyncServer S100 User Manual page 115

Symmetricom network device user guide s100
Hide thumbs Also See for SyncServer S100:
Table of Contents

Advertisement

All of this information is passed to commands using the command line arguments described
in the table below.
An authenticated request example:
COMMAND: snmpget -v 3 -n "" -u MD5User -a MD5 -A "The UCD Demo Password" -l
authNoPriv 255.255.255.255 sysUpTime.0
RESPONSE: system.sysUpTime.0 = Timeticks: (83491735) 9 days, 15:55:17.35
An authenticated and encrypted request example:
COMMAND: snmpget -v 3 -n "" -u MD5DESUser -a MD5 -A "The UCD Demo Password" -x
DES -X "The UCD Demo Password" -l authPriv 255.255.255.255 sysUp-
Time.0
RESPONSE: system.sysUpTime.0 = Timeticks: (83493111) 9 days, 15:55:31.11
Table 2: Command Line Arguments
Parameter
Command Line Flag
securityName
-u NAME
authProtocol
-a (MD5|SHA)
privProtocol
-x DES
authKey
-A PASSPHRASE
privKey
-X PASSPHRASE
securityLevel
-l (noAuthNoPriv|authNoPriv|authPriv)
context
-n CONTEXTNAME
The host shown above allows us to look at it using any level of authentication. Any hosts you
set up should be more restricted than that and require at least a level of authNoPriv when you
configure the VACM access control.
Setting up your snmp.conf file to look like this, makes your commands much simpler:
defContext none
defSecurityName MD5User
defAuthPassphrase The UCD Demo Password
defVersion 3
defAuthType MD5
defSecurityLevel authNoPriv
COMMAND: snmpget test.net-snmp.org sysUpTime.0
RESPONSE: system.sysUpTime.3.0 = Timeticks: (83517052) 9 days, 15:59:30.52
S100 User Guide – Rev. D – June 2005
Snmp.conf token
defSecurityName NAME
defAuthType (MD5|SHA)
defPrivType DES
defAuthPassphrase PASSPHRASE
defPrivPassphrase PASSPHRASE
defSecurityLevel (noAuthNoPriv|authNoPriv|authPriv)
defContext CONTEXTNAME
2
3
5
107

Advertisement

Table of Contents
loading

Table of Contents