LAIKS SWITCHAIP PORTS MACADRESE
for i in SwitchIP1 SwitchIP2 SwitchIP3
do
snmpbulkwalk $i -v2c -c public enterprises.11.2.14.2.10.5.1.3.1 -OQqn |
tr : . | while read rinda
do
awk -v SWITCH="$i" -v LAIKS="`date +%F-%H-%M`" -F. '{ print LAIKS"\t"SWITCH"\t"$17"\t"$24}'
done
done