Hi Khurshid,
to answer the question generically: some commands are only available in specific feature sets or in some IOS versions. And some commands are only available after a certain other command has been configured.
The "show version" command will show you which IOS version and which feature set is running.
e.g.
router#show version
Cisco IOS Software, 1841 Software (C1841-ADVSECURITYK9-M), Version 15.1(2)T, RELEASE SOFTWARE (fc1)
[snip]
This 1841 router is running version 15.1(2)T with the Advanced Security feature set.
So more specifically for the view command, I believe this was added in a 12.3T version. Which version are the 2800 and the 3650 running?
And, cli views require that "aaa new-model" is enabled, is this the case?
hth
Herbert