Entering Commands
4-5
4
The command “
show interfaces ?
” will display the following information:
Partial Keyword Lookup
If you terminate a partial keyword with a question mark, alternatives that match the
initial letters are provided. (Remember not to leave a space between the command
and question mark.) For example “
s?
” shows all the keywords starting with “s.”
Negating the Effect of Commands
For many configuration commands you can enter the prefix keyword “
no
” to cancel
the effect of a command or reset the configuration to the default value. For example,
the
logging
command will log system messages to a host server. To disable
logging, specify the
no logging
command. This guide describes the negation effect
for all applicable commands.
Using Command History
The CLI maintains a history of commands that have been entered. You can scroll
back through the history of commands by pressing the up arrow key. Any command
displayed in the history list can be executed again, or first modified and then
executed.
Using the
show history
command displays a longer list of recently executed
commands.
Understanding Command Modes
The command set is divided into Exec and Configuration classes. Exec commands
generally display information on system status or clear statistical counters.
Configuration commands, on the other hand, modify interface parameters or enable
certain switching functions. These classes are further divided into different modes.
Available commands depend on the selected mode. You can always enter a
question mark “
?
” at the prompt to display a list of the commands available for the
current mode. The command classes and associated modes are displayed in the
following table:
Console#show interfaces ?
counters Interface counters information
protocol-vlan Protocol-VLAN information
status Interface status information
switchport Interface switchport information
Console#show interfaces
Console#show s?
snmp sntp spanning-tree ssh startup-config
system
Console#show s
Содержание TL-SG5426 -
Страница 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Страница 17: ...Contents xiv...
Страница 21: ...Tables xviii...
Страница 25: ...Figures xxii...
Страница 42: ...Initial Configuration 2 10 2...
Страница 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Страница 486: ...Software Specifications A 4 A...