On 16/01/07, Stern, M. David wrote:
> snmpset switch.fqdn ifDescr.1 s "Hostname"
> but it complains
> snmpset: No securityName specified


Two problems:

1) It's expecting to use SNMPv3.
Try
snmpset -v 1 -c public switch.fqdn ifDescr.1 s "Hostname"

2) ifDescr is not writable.
>From IF-MIB:

ifDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only <====


Dave

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
_______________________________________________
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/...net-snmp-users