EasyManua.ls Logo

Orolia WR-Z16 - Lldp

Orolia WR-Z16
167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals