After installing
snmptrapd
, the configuration in
/etc/snmp/snmptrapd.conf
needs to
be modified to authorize the reception of traps.
disableAuthorization
yes
traphandle default /<example>/snmp_trap_test_handle.sh
Once the configuration file has been modified, it is needed to edit the handle file for the
received SNMP traps. For that purpose, it is important grant execution permissions to
snmp_trap_test_handle.sh
#!/bin/sh
read host
read ip
vars=""
while read oid val; do
if [ "x$vars" = "x" ]; then
vars="$oid = $val"
else
vars="$vars, $oid = $val"
fi
done
echo trap: $1 $host $ip $vars
After this step, it is important to copy the MIB file from the device into the NMS.
sudo
scp
root@deviceip:/wr/etc/snmp/SEVEN- PRODUCT- MIB.txt
/us-
r/share/snmp/mibs
Finally, the snmptrapd service must be stopped and re-run to view all the received traps.
sudo service snmptrapd stop
sudo snmptrapd -f -m all
7.3
LLDP
The WR-Z16 devices support the Link Layer Discovery Protocol (LLDP), which functions
at the link layer (Layer 2 of OSI model) to discover neighboring devices and their cap-
abilities.
7.3 LLDP
CHAPTER
7
•
WR-Z16 User Manual Rev. v3.4
109
Summary of Contents for Seven Solutions WR-ZEN Series
Page 1: ...WR Z16 MODEL User Manual Revision v3 4 Date 14 October 2022 ...
Page 2: ......
Page 4: ...Blank page II WR Z16 User Manual ...
Page 38: ...BLANK PAGE 3 2 Connecting to the Device 28 CHAPTER 3 WR Z16 User Manual Rev v3 4 ...
Page 104: ...BLANK PAGE 6 5 Firewall 94 CHAPTER 6 WR Z16 User Manual Rev v3 4 ...
Page 144: ...BLANK PAGE 8 5 Failsafe Mode 134 CHAPTER 8 WR Z16 User Manual Rev v3 4 ...
Page 167: ...V Virtual Clock 47 W Web GUI 32 White Rabbit 2 58 WR 2 WRZ OS 3 WR Z16 User Manual iii INDEX ...