GL-AR300M: Read router model using PuTTY

I have GL-AR300M router. I have a requirement to download & run binary on this router. Before running the binary on router I want to make sure the router model is AR300M. I want to know where to read router model using PuTTY.

use this code:
cat /proc/cpuinfo | grep -i “machine” | awk -F ": " ‘{print $2}’