Chapter 2
| Using the Command Line Interface
Entering Commands
– 70 –
Showing Status
Information
There are various “show” commands which display configuration settings or
the status of specified processes. Many of these commands will not display
any information unless the switch is properly configured, and in some cases
the interface to which a command applies is up.
For example, if a static router port is configured, the corresponding show
command will not display any information unless IGMP snooping is enabled,
and the link for the static router port is up.
Console#configure
Console(config)#ip igmp snooping vlan 1 mrouter ethernet 1/11
Console(config)#end
Console#show ip igmp snooping mrouter
VLAN M'cast Router Ports Type
---- ------------------- -------
Console#configure
Console(config)#ip igmp snooping
Console(config)#end
Console#show ip igmp snooping mrouter
VLAN M'cast Router Ports Type
---- ------------------- -------
1 Eth 1/11 Static
Console#
Ctrl-K
Deletes all characters from the cursor to the end of the line.
Ctrl-L
Repeats current command line on a new line.
Ctrl-N
Enters the next command line in the history buffer.
Ctrl-P
Enters the last command.
Ctrl-R
Repeats current command line on a new line.
Ctrl-U
Deletes from the cursor to the beginning of the line.
Ctrl-W
Deletes the last word typed.
Esc-B
Moves the cursor back one word.
Esc-D
Deletes from the cursor to the end of the word.
Esc-F
Moves the cursor forward one word.
Delete key or
backspace key
Erases a mistake when entering a command.
Table 3: Keystroke Commands
(Continued)
Keystroke
Function