> From: chandan [mailto:chandan.b...@globaledgesoft.com]
> Sent: Tuesday, August 11, 2009 4:10 AM


> Consider the following MIB objects:
> 
> pktcEUEDevOpSTUNAddrType  OBJECT-TYPE
>     SYNTAX      InetAddressType
>     MAX-ACCESS  read-create
>     STATUS      current
>     DESCRIPTION
>         " This data element identifies the data type of the
>           value contained in 'pktcEUEDevOpSTUNAddr'."
> 
>     DEFVAL   { unknown }
>     ::= { pktcEUEDevOpEntry 3 }
> 
> pktcEUEDevOpSTUNAddr  OBJECT-TYPE
>     SYNTAX      InetAddress
>     MAX-ACCESS  read-create
>     STATUS      current
>     DESCRIPTION
>         " This data element contains the STUN server address
>           associated with the domain name identified in
>           'pktcEUEDevOpDomain'."
> 
>     DEFVAL   { "" }
>     ::= { pktcEUEDevOpEntry 4 }
> 
> How do I use "snmpset" command to set the values of these MIB objects.
> Specifically what would the TYPE  (one of a, s, ...) be? For
> illustration purposes assume that we would want to set
> pktcEUEDevOpSTUNAddrType to IPv4(1) and pktcEUEDevOpSTUNAddr to the
> IP
> address 172.16.8.141.

$ snmpset [params] pktcEUEDevOpSTUNAddrType.[index] i ipv4 
pktcEUEDevOpSTUNAddr.[index] a 172.16.8.141

...should do the trick.


HTH,

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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