i want to know is there is any command which i used to clear the console messages from router terminal just like cls command in windows
The messages are appear on your terminal program, not the router itself. Just clear your screen or restart the terminal program.
To clear the internal buffer, use "clear log"
if you're directly connected to the router or switch device, just do a "no terminal monitor" to disable console message or logs.
#clear log will delete the logs from the buffers
conf t#no logging console
disables logging on your console session so you dont see lots of messages when you need to work on it.
term no monitor will also disable console messages from a telnet session and term mon enables them.