Primary Command Modes
Interface Configuration Mode
Used to configure a switch port or router network interface. Default prompt for interface configuration mode is Switch(config-if)#.
Line Configuration Mode
Used to configure console, SSH, Telnet, or AUX access. Default prompt for line configuration mode is Switch(config-line)#. To enter line sub-configuration mode, you use the line command followed by the management line type and number you wish to access. To exit a sub-configuration mode and return to global configuration mode, use the exit command. Switch(config)# line console 0 Switch(config-line)#
Keyword
A specific parameter defined in the operating system (in the figure, ip protocols)
Global Configuration Mode
Identified by a prompt that ends with (config)# after the device name, such as Switch(config)#. accessed before other specific configuration modes. From global config mode, the user can enter different sub-configuration modes. Each of these modes allows the configuration of a particular part or function of the IOS device. To move in and out of global configuration mode, use the configure terminal privileged EXEC mode command. To return to the privileged EXEC mode, enter the exit global config mode command. Switch(config-line)# exit Switch(config)#
Argument
Not predefined; a value or variable defined by the user (in the figure, 192.168.10.5)
Ping
The command is ping and the user-defined argument is the ip-address of the destination device. For example, ping 10.10.10.5.
Traceroute
The command is traceroute and the user-defined argument is the ip-address of the destination device. For example, traceroute 192.168.254.254.
User EXEC Mode
This mode has limited capabilities but is useful for basic operations. It allows only a limited number of basic monitoring commands but does not allow the execution of any commands that might change the configuration of the device. The user EXEC mode is identified by the CLI prompt that ends with the > symbol. Move from user EXEC mode to privileged EXEC mode use enable command. Use disable privileged EXEC mode to return to user EXEC mode.
Privileged EXEC Mode
To execute configuration commands, a network administrator must access privileged EXEC mode. Higher configuration modes, like global configuration mode, can only be reached from privileged EXEC mode. The privileged EXEC mode can be identified by the prompt ending with the # symbol. This is sometimes called enable mode. To move from any sub-configuration mode to the privileged EXEC mode, enter the end command or enter the key combination Ctrl+Z. Switch(config-line)# end Switch#