#!/bin/sh
#
# ipForwarding [host]...
#
# Query the hosts (or a default list) for ipForwarding and write
# the results, with hostnames, to stdout.

if [ $# -lt 2 ];then set chick fly duck ant; fi

for h
do	i=`snmpnext $h ip.ipForwarding`
	echo "$h:	$i"
done
