> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Bhaskararao vakamullu
> Sent: Tuesday, June 17, 2008 7:05 AM

>  Which should be used in the snmpset for configuring MAC address?.
>   I mean 'i'  for interger and 'a' for IP address like that 
> what should be for MAC address.

        From the manpage for snmpset:
[SNIP]
       The TYPE is a single character, one of:
              i  INTEGER
              u  UNSIGNED
              s  STRING
              x  HEX STRING
              d  DECIMAL STRING
              n  NULLOBJ
              o  OBJID
              t  TIMETICKS
              a  IPADDRESS
              b  BITS
[/SNIP]

        Which of these corresponds to MAC address?  I don't know, but I'm 
guessing "x" is a good bet.  Look into the MIB that defines the object you're 
trying to set.  If it's defined as an OCTET STRING, and there's no special 
description of how to format it, then try:

snmpset -u joe -l authPriv -A auth_joe -X pass_joe tableMacObj.3 x 0123456789ab


        HTH,

Mike

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to