
#!/bin/ksh
for i in 0 1 2
do
echo "instance :" bge$i
echo "*******************************"
echo "1000 full duplex"
ndd -get /dev/bge$i adv_1000fdx_cap
echo "1000 half duplex"
ndd -get /dev/bge$i adv_1000hdx_cap
echo "100 full duplex"
ndd -get /dev/bge$i adv_100fdx_cap
echo "100 half duplex"
ndd -get /dev/bge$i adv_100hdx_cap
echo "10 full duplex"
ndd -get /dev/bge$i adv_10fdx_cap
echo "10 half duplex"
ndd -get /dev/bge$i adv_10hdx_cap
echo "mode autoneg"
ndd -get /dev/bge$i adv_autoneg_cap
echo "*******************************"
echo "################################"
done
