Hi Sumeet,
what EXOS version do you use? How do you connect to the switch CLI?
I can successfully copy&paste your command (with space before and after the pipe) to an EXOS switch running version 15.3.5.2-patch1-9. I connect via OpenSSH running inside an XTerm to the switch CLI.
Br,
Erik