Operating instructions
212 Cisco Systems Intelligent Gigabit Ethernet Switch Module
The following list provides some tips for using the CLI:
Left/right arrow keys Move left or right one character on command line
Up/down arrow keys Scroll through command history
Tab key Complete a command
Backspace key Delete previous character
Spacebar Scroll a page at a time
Enter key Scroll a line at a time
? Help
Ctrl+B Move one character back
Ctrl+F Move one character forward
Ctrl+A Move to the beginning
Ctrl+E Move to the end
Esc+B Move one word back
Esc+F Move one word forward
Ctrl+P Recall previous CLI
Ctrl+N Recall next CLI
Ctrl+D Delete one character
Ctrl+W Delete one word
Ctrl+l Re-paint a CLI
Ctrl+R Re-paint a CLI
<show command> | [ begin | include | exclude ] <REGEXP>
Example: show lines containing the word
monitor: sh run | inc monitor
Example: show all lines in config beginning with interface g0/17: sh run | beg 0/17
more command (with string searches): more
filename | [begin | include | exclude] REGEXP
8.6 Useful IOS CLI troubleshooting commands
In this section we focus on IOS commands useful for troubleshooting the IGESM.
8.6.1 Gathering data
show running
One of the most basic yet important commands, this shows the currently running
configuration. It is used to verify that the configuration is as expected.
Use the Spacebar to scroll through the entire config.
switch#sh run
Building configuration...
Current configuration : 5907 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
...
Look for expected configurations. For example, review the listing to ensure that the desired
VLANs exist (if in vtp transparent mode) and that they are carried on the correct ports. Also
review this listing for other important information, such as expected Etherchannels, correct IP
addressing, and expected management VLAN.