Urgent regarding "Clear port buffer for digi one sp"

How to clear port buffer of DIGI ONE SP without logging in to Command Line Interface provided?
Can we invoke command line interface from our application?if yes then how?
can we reset the port without using command line interface/web interface?