![Brocade Communications Systems NetIron CER 2024C Скачать руководство пользователя страница 64](http://html1.mh-extra.com/html/brocade-communications-systems/netiron-cer-2024c/netiron-cer-2024c_hardware-manual_2817392064.webp)
52
Brocade NetIron CES and Brocade NetIron CER Hardware Guide
53-0000080-03
CLI Functionality
4
NOTE
The vertical bar (|) is part of the command.
Note that the regular expression specified as the search string is case sensitive. In the example
above, a search string of “Internet” would match the line containing the IP address, but a search
string of “internet” would not.
Displaying lines that do not contain a specified string
The following command filters the output of the show who command so it displays only lines that
do not contain the word “closed”. This command can be used to display open connections to a
Brocade device.
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 Brocade device.
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.
Brocade# show who | exclude closed
Console connections:
established
you are connecting to this session
2 seconds in idle
Telnet connections (inbound):
1 established, client ip address 192.168.9.37
27 seconds in idle
Telnet connection (outbound):
SSH connections:
Brocade# 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
Содержание NetIron CER 2024C
Страница 12: ...xii Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 In this chapter...
Страница 60: ...48 Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 PC or terminal attachment 3...
Страница 68: ...56 Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 CLI Functionality 4...
Страница 86: ...74 Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 Fiber optic connector cleaning 5...
Страница 90: ...78 Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 China A China...
Страница 100: ...88 Brocade NetIron CES and Brocade NetIron CER Hardware Guide 53 0000080 03 Danger B...