SWR2311P#show vlan
2.5.3 Input command completion and keyword candidate list display
If you press the "Tab" key while entering a command in the console, the command name is completed. If you press the "Tab"
key after entering a keyword, a list of keyword candidates that can be entered next is shown. The same operation can also be
performed by pressing the "Ctrl + I" key.
• Command name completion
SWR2311P#con "press the <Tab>key"
↓
SWR2311P#configure
• Keyword candidate list display
SWR2311P(config)#vlan "press the <Tab> key"
access-map database filter
SWR2311P(config)#vlan
2.5.4 Entering command abbreviations
When you enter commands or parameters in abbreviated form, and the characters you entered can be recognized
unambiguously as a command or parameter, that command is executed.
Example of entering a command abbreviation (show running-config)
SWR2311P# sh run
2.5.5 Command history
By using the command history function, you can easily re-execute a command that you previously input, or partially modify a
previously input command and re-execute it. Command history is shown as a history that is common to all modes.
Operation is shown below.
Keyboard operation
Description and notes
↑
Move backward through command history
Ctrl + P
↓
Move forward through command history
Ctrl + N
2.6 Commands that start with the word "show"
2.6.1 Modifiers
Modifiers send the information produced by the
show
command through a filter, restricting the content that is shown in the
screen and making it easier for you to see the desired information.
The SWR2311P provides the following three modifiers for the
show
command.
Modifiers
Description
include
Output only the lines that include the specified character
string
grep
exclude
Output only the lines that do not include the specified
character string
Modifiers can be used only one at a time. You cannot specify more than one modifier.
• (Example) Using
show running-config
to view information that includes VLAN #1 (vlan1).
SWR2311P#show running-config | grep vlan1
interface vlan1
http-server interface vlan1
telnet-server interface vlan1
• (Example) Using
show spanning-tree
to view information that includes Role.
SWR2311P# show spanning-tree | include Role
% po1: Port Number 505 - Ifindex 4601 - Port Id 0x81f9 - Role Disabled - State
Command Reference | How to use the commands |
21