When you start a session on the , you begin in admin or EXEC mode. From EXEC mode, you can enter configuration mode. Most of the EXEC commands (one-time commands), such as show commands, display the current configuration status. The admin or EXEC mode prompt consists of the device name or hostname before a pound sign (#), as shown:
ncs/admin# (Admin or EXEC mode)
Throughout this guide, the server uses the name ncs in place of the hostname and admin of the server for the user account.
You can always tell when you are in EXEC mode or configuration mode by looking at the prompt.
In EXEC mode, a pound sign (#) appears after the NCS server hostname and your username.
In configuration mode, the ‘config’ keyword and a pound sign (#) appear after the hostname of the server and your username.
Enter configuration commands, one per line. End with CNTL/Z.
ncs/admin(config)# (configuration mode)
If you are familiar with UNIX, you can equate EXEC mode to root access. You could also equate it to the administrator level in Windows NT or the supervisor in NetWare. In this mode, you have permission to access everything in the server, including the configuration commands. However, you cannot enter configuration commands directly. Before you can change the actual configuration of the server, you must enter configuration mode by entering the configure or configure terminal (conf t) command. Enter this command only when in EXEC mode.
ncs/admin# conf t
Enter configuration commands, one per line. End with CNTL-Z.
ncs(config)# (configuration mode)
The configuration mode has several submodes; each has its own prompt. To enter these submodes, you must first enter configuration mode by entering the configure terminal command.
To exit configuration mode, enter the end, exit, or Ctrl-z command. To exit EXEC mode, enter the exit command. To exit both configuration and EXEC modes, enter this sequence of commands:
To obtain a listing of commands in EXEC mode, enter a question mark (?):