Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
snmpset(1)
Edit
PageHistory
Diff
Info
LikePages
SNMPSET !!!SNMPSET NAME SYNOPSIS DESCRIPTION SEE ALSO ---- !!NAME snmpset - communicates with a network entity using SNMP SET Requests. !!SYNOPSIS snmpset [[ common arguments ] objectID type value [[objectID type value]... !!DESCRIPTION Snmpset is an SNMP application that uses the SET Request to set information on a network entity. One or more fully qualified object identifiers must be given as arguments on the command line. A type and a value to set must accompany each object identifier. Each variable name is given in the format specified in variables(5). 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 If you have the proper MIB file loaded, you can, in most cases, replace the type with an '=' sign. For an object of type OCTET STRING this will assume a string like the 's' type notation. For other type it will do For example ''snmpset test-hub private system.sysContact.0 s dpz@noc.rutgers.edu ip.ipforwarding.0 = 2'' will set the variables sysContact.0 and ipforwarding.0: ''system.sysContact.0 ='' '' ip.ipForwarding.0 = not-forwarding(2)'' If the network entity has an error processing the request packet, an error packet will be returned and a message will be shown, helping to pinpoint in what way the request was malformed. If there were other variables in the request, the request will be resent without the bad variable. !!SEE ALSO snmpcmd(1), variables(5). ----
One page links to
snmpset(1)
:
Man1s
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.