hi

 I have to use device port in  UCD-snmp version: 4.1.1
 My command is

 snmpget -v 2c -c  respcom  deviceIp .1.3.6.1.2.1.1.3.0
 it is running fine

 system.sysUpTime.0 = Timeticks: (2657837612) 307 days, 14:52:56.12

  but when i include device port as follows :

 snmpget -v 2c -c  respcom   deviceIp:161  .1.3.6.1.2.1.1.3.0
 its giving the result like this
 snmpget: Unknown host (No such file or directory)
 
 for higher version, its working fine even I include device port  also.


when i use
 snmpget -v 2c -c  respcom  deviceIp  -p 161 .1.3.6.1.2.1.1.3.0
its runnig fine for lower version
  but again when i go for higer(>5.0) versions its says
Warning: -p option is no longer used - specify the remote host as HOST:PORT

Is there any generic command so i can use it for higher and lower versions?
Please help..
 Thanks & Regards
 Chandrakant Kumar


            -**************Nihilent***************

" *** All information contained in this communication is confidential, 
proprietary, privileged and is intended for the addressees only. If you have 
received this E-mail in error please notify mail administrator by telephone on 
+91-20-39846100 or E-mail the sender by replying to this message, and then 
delete this E-mail and other copies of it from your computer system. Any 
unauthorized dissemination, publication, transfer or use of the contents of 
this communication, with or without modifications is punishable under the 
relevant law.

Nihilent has scanned this mail with current virus checking technologies. 
However, Nihilent makes no representations or warranties to the effect that 
this communication is virus-free.

Nihilent reserves the right to monitor all E-mail communications through  its 
Corporate Network. *** "

*************************************************************************-
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to