USER GUIDE
EdgeSafe 40G Bypass Modular Network TAP | M40GBP
Version 1.6 Page 112 of 159
Garland Technology reserves the right to make changes without further notice to any products or data herein to improve reliability, function or design.
Confidential -This document is
Garland Technology
.'s property. This document may not be copied, duplicated and transferred to electronic or mechanized
media or used for any other purpose, including any part thereof or attachment thereto, except as authorized in advance and in writing by
Garland Technology.
6.65 SNMP request examples (net-snmp application)
SNMP v1 get request:
snmpget -v 1 -c customer
10.10.10.20000 M40GBP-MIB::M40GBP TrapConfTerm
.0
SNMP v1 set request:
snmpset -v 1 -c customer
10.10.10.20000 M40GBP-MIB::M40GBP TrapConfTerm
.0
=
on
SNMP v2c get request:
snmpget -v 2c -c customer
10.10.10.20000 M40GBP-MIB::M40GBP TrapConfTerm
.0
SNMP v2c set request:
snmpset v 2c -c customer
10.10.10.20000 M40GBP-MIB::M40GBP TrapConfTerm
.0
=
on
SNMP v3 get request:
snmpget -v 3 -u customer -l
authPriv -a SHA -A gtadmin1 -x AES -X gtadmin1 10.10.10.20000 M40GBP-MIB:: M40GBP
TrapConfTerm
.0
SNMP v3 set request:
snmpset -v 3 -u customer -l
authPriv -a SHA -A gtadmin1 -x AES -X gtadmin1 10.10.10.20000 M40GBP-MIB:: M40GBP
TrapConfTerm
.0
=
on
6.66 Dispalying log file via SNMP
Use the following command to control the log display via SNMP
1)
M40GBPLogType xxx – set log file type (swdaemon, swctl, passive, snmp, kernel, auth)
2)
M40GBPLogLastLine – Get log file last line number.
3)
M40GBPLogReadLine 0 (xxx) - Read the log file from line xxx
4)
M40GBPGetLog - Read 20 lines form the log file
Note: When reading the log file forward incrementing read line number is automatic.
When reading the log file backward read line number should be set by “M40GBPLogReadLine xxx
6.67 SNMP agent, net-snmp and copyright
Device SNMP agent based on net-snmp-5.4.1 package. (see