Commands only work in the mode they are designed to work in!
If you issue a command in the wrong mode it will not work!
Basic Cisco Commands