User’s Manual of IGSW-2840
338
5.2.1 Keywords and Arguments
A CLI command is a series of keywords and arguments. Keywords identify a command, and arguments specify configuration
parameters. For example, in the command “show interfaces status ethernet 1/5,” show interfaces and status are keywords,
ethernet is an argument that specifies the interface type, and 1/5 specifies the unit/port.
You can enter commands as follows:
To enter a simple command, enter the command keyword.
To enter multiple commands, enter each command in the required order. For example, to enable Privileged Exec
Command
Mode
, and display the startup configuration, enter:
Console>enable
Console# show startup-config
• To enter commands that require parameters, enter the required parameters after the command keyword. For example, to set a
password for the administrator, enter:
Console(config)# username admin password 0 smith
5.2.2 Minimum Abbreviation
The CLI will accept a minimum number of characters that uniquely identify a command. For example, the command “configure”
can be entered as con. If an entry is ambiguous, the system will prompt for further input.
5.2.3 Command Completion
If you terminate input with a Tab key, the CLI will print the remaining characters of a partial keyword up to the point of ambiguity.
In the “logging history” example, typing log followed by a tab will result in printing the command up to “logging.”
5.2.4 Getting Help on Commands
You can display a brief description of the help system by entering the help command. You can also display command syntax by
using the “?” character to list keywords or parameters.
5.2.5 Showing Commands
If you enter a “
?
” at the command prompt, the system will display the first level of keywords for the current command class
(Normal Exec or Privileged Exec) or configuration class (Global, ACL, Interface, Line or VLAN Database). You can also display
a list of valid keywords for a specific command. For example, the command “
show ?
” displays a list of possible show
commands:
Содержание IGSW-2840
Страница 23: ...User s Manual of IGSW 2840 23 A 2 10 100Mbps 10 100Base TX 665 APPENDEX B GLOSSARY 667 ...
Страница 110: ...User s Manual of IGSW 2840 110 Figure 4 3 14 SNMPv3 View Edit screenshot ...
Страница 119: ...User s Manual of IGSW 2840 119 Figure 4 4 7 Mirror Port Configuration screenshot ...
Страница 205: ...User s Manual of IGSW 2840 205 Multicast Service Multicast flooding ...
Страница 216: ...User s Manual of IGSW 2840 216 Figure 4 9 7 IGMP Member Port Table screenshot ...
Страница 280: ...User s Manual of IGSW 2840 280 Figure 4 11 19 SSH Host Key Settings screenshot ...
Страница 315: ...User s Manual of IGSW 2840 315 Figure 4 11 44 MAC ACL Settings screenshot ...
Страница 317: ...User s Manual of IGSW 2840 317 Figure 4 11 46 ACL Port Binding Settings screenshot ...
Страница 431: ...User s Manual of IGSW 2840 431 tacacs 1 Console ...