You do not need to use Cisco IOSĀ® commands to configure typical installations. You can use the IP Network Wizard instead. The following sections are included to support advanced configuration and troubleshooting. For detailed descriptions of Cisco IOS commands, refer to the Cisco IOS Configuration Fundamentals Command Reference, available at https://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book.html
To access the command line interface of the switch, use a remote terminal session, such as SSH, from a laptop connected to the terminal point. Alternatively, the two console ports on the switch also give access to the command line, through a serial interface. The two console ports have different form factors: one is RJ-45 and other is USB (5-pin mini-Type B connector).
The command prompt indicates the command mode. Most commands are available from only one mode. There are many command modes, including the following.
Prompt | Mode |
---|---|
>
|
This is the least privileged mode, and has the smallest command set. |
#
|
This is the privileged mode, from which one can change the switch configuration. |
The flavors of privileged mode include the following.
Prompt | Tasks completed in this mode |
---|---|
(config)#
|
Editing a switch configuration. |
(dhcp-config)#
|
Editing the DHCP configuration of switch. |
(config-if)#
|
Editing the configuration of a switch interface. |
The switch ports are physical interfaces. Other interfaces, like switch virtual interfaces (SVIs), are logical interfaces. You configure logical interfaces at the same time that you create them.
When typing commands, it is helpful to know the following:
- Use the up arrow to retrieve previous commands.
- Use the tab key for command completion. There are abbreviated versions of most commands.
- Use a
?
to get help on options that could be typed at this point. For example, to view help on the show command, entershow ?
. - Use the tab key to auto-complete. For example, typing
sh
+TAB+SPACE+run
+TAB fills the command line withshow running-config
.