HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)

s
snmpd.conf(4) snmpd.conf(4)
location: 1st Floor near Mens Room
# Specify Bob Jones is responsible for this agent
# and his phone number is 555-2000
contact: Bob Jones (Phone 555-2000)
# Create a SNMPv3 user ’v3usr’ with No Authentication Protocol.
usmUserEntry localSnmpID v3usr usmNoAuthProtocol 1.3.6.1.6.3.10.1.2.1 \
nonVolatile whereValidRequestsOriginate -
# Create a SNMPv3 user ’v3usr’ with Authentication enabled and
# password as "passwd".
usmUserEntry localSnmpID v3usr usmHMACMD5AuthProtocol 1.3.6.1.6.3.10.1.2.1 \
nonVolatile whereValidRequestsOriginate "passwd"
# Create a group ’admin’ and make the user ’v3usr’ a part of the
# same group.
vacmSecurityToGroupEntry usm v3usr admin nonVolatile
# Assign access control the group ’admin’. This group will have
# security protocol as no authentication and no privacy
vacmAccessEntry admin - usm noAuthNoPriv prefix All All - nonVolatile
# ’All’ is the name of the view that will define the access for the
# group ’admin’. Give access to the view named ’All’. The access is
# for the subtree ‘internet’ i.e. .1.3.6.1
vacmViewTreeFamilyEntry All 1.3.6.1 - included nonVolatile
# Create a target address entry for 192.168.40.40 with UDP port as 0.
# If SNMP_TRAP_TEST_ENTRY or SNMP_TEST_PORT_ENTRY are not used,
# default value of UDP port 162 will be used.
snmpTargetAddrEntry stae2 1.3.6.1.6.1.1 192.168.40.40:000\
whereValidRequestsOriginate - nonVolatile 255.255.255.255:0 2048
AUTHOR
snmpd.conf was developed by Hewlett-Packard Company.
FILES
"HP-UX 11.X and Solaris 2.X"
/etc/SnmpAgent.d/snmpd.conf
SEE ALSO
snmpd(1M), snmpd.ea(1M), RFC 1155, RFC 1157, RFC 1212, 2RFC 1213, RFC 1231, RFC 1398.
HP-UX 11i Version 2: August 2003 5 Hewlett-Packard Company Section 4297