Syntax:
<show-command>
| exclude
<regular-expression>
Displaying lines starting with a specified string
The following command filters the output of the
show who
command so it displays
output starting with the first line that contains the word “SSH”. This command can
be used to display information about SSH connections to the B48C and B50C
switches.
NetIron #
show who | begin SSH
SSH connections:
1
established, client ip address 192.168.9.210
7 seconds in idle
2
closed
3
closed
4
closed
5
closed
Syntax:
<show-command>
| begin
<regular-expression>
Searching and filtering output at the —More—prompt
The
—More—
prompt displays when output extends beyond a single page. From this
prompt, you can press the Space bar to display the next page, the Return or Enter
key to display the next line, or Ctrl-C to cancel the display. In addition, you can
search and filter output from this prompt. For example:
NetIron # ?
append
Append one file to another
attrib
Change file attribute
boot
Boot system from bootp/tftp server/flash image
cd
Change current working directory
chdir
Change current working directory
clear
Clear table/statistics/keys
clock
Set clock
configure
Enter configuration mode
copy
Copy between flash, tftp, config/code
cp
Copy file commands
debug
Enable debugging functions (see also 'undebug')
delete
Delete file on flash
dir
List files
dm
test commands
dot1x
802.1X
erase
Erase image/configuration files from flash
exit
Exit Privileged mode
fastboot
Select fast-reload option
force-sync-standby
Sync active flash (pri/sec/mon/startup config/lp images)to
standby
format
Format PCMCIA card
hd
Hex dump
ipc
IPC commands
--More--, next page: Space, next line: Return key, quit: Control-c
At the
—More—
prompt, you can press the forward slash key ( / ) and then enter a
search string. The device displays output starting from the first line that contains the
search string, similar to the
begin
option for
show
commands. For example:
--More--, next page: Space, next line: Return key, quit: Control-c
/telnet
The results of the search are displayed:
searching...
telnet
Telnet by name or IP address
terminal
Change terminal settings
traceroute
TraceRoute to IP node
32
IBM Ethernet Switch c-series Installation and User Guide
Summary of Contents for 4002-C4A
Page 2: ......
Page 8: ...vi IBM Ethernet Switch c series Installation and User Guide ...
Page 10: ...viii IBM Ethernet Switch c series Installation and User Guide ...
Page 12: ...x IBM Ethernet Switch c series Installation and User Guide ...
Page 26: ...2 IBM Ethernet Switch c series Installation and User Guide ...
Page 39: ...net48bc017 Figure 10 Front rack mount position Chapter 3 Installation 15 ...
Page 41: ...net48bc019 Figure 12 Mid rack mount position Chapter 3 Installation 17 ...
Page 60: ...36 IBM Ethernet Switch c series Installation and User Guide ...
Page 68: ...44 IBM Ethernet Switch c series Installation and User Guide ...
Page 82: ...58 IBM Ethernet Switch c series Installation and User Guide ...
Page 93: ......
Page 94: ... Part Number 45W3139 Printed in USA GC27 2238 00 1P P N 45W3139 80218 001 ...