Hi Nasir,
I'm not aware of any such range command for MAC addresses. However, I've been using scripts of the following kind to do lengthy configurations on the junos boxes:
#!/sbin/sh
while [ 1 ] <<<< loop
do
/usr/sbin/cli -c "edit;<command>;commit;exit"
sleep 60
done
you can choose the desired value for the loop and then use the variable within the script to generate the command. The /usr/sbin/cli is basically an inbuilt script that would take you to the operational mode.
HTH,
ankit
#script#Automation#JUNOS#bash