30
May
snmp proxy
# com2sec6 [-Cn CONTEXT] SECNAME SOURCE COMMUNITY
com2sec -Cn old14 notConfigUser6 default 10.175.0.14
com2sec -Cn old15 notConfigUser6 default 10.175.0.15
# group GROUP {v1|v2c|usm} SECNAME
group OLDSWITCH v2c notConfigUser6
# view VNAME TYPE OID [MASK]
view all included .1
# access GROUP CONTEXT {any|v1|v2c|usm} LEVEL PREFX READ WRITE NOTIFY
access OLDSWITCH old v2c noauth prefix all none none
# proxy [-Cn CONTEXTNAME] [SNMPCMD_ARGS] HOST OID
proxy -Cn old14 -v 2c -c public 10.175.0.14 .1.3
proxy -Cn old15 -v 2c -c public 10.175.0.15 .1.3
This entry was posted
on Thursday, May 30th, 2019 at 5:42 pm and is filed under Mẹo vặt của hiếu râu.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.