Reset Search
 

 

Article

Pipe option '|' in show command of EXOS switch

« Go Back

Information

 
TitlePipe option '|' in show command of EXOS switch
Question
What are the options available in show command with '|' pipe symbol combination in EXOS?
Environment
EXOS 
Answer
Below options are supported
  begin        -   Display all the lines starting with the first line that matches the regular expression
  exclude     -   Do not display the lines that match the regular expression
  include      -  Display the lines that match the regular expression

Example :
Switch # show configuration | ?
  begin           Display all the lines starting with the first line that matches the regular expression
  exclude         Do not display the lines that match the regular expression
  include         Display the lines that match the regular expression

* X450G2-48t-10G4.9 # show log | include Login
08/19/2016 06:25:18.40 <Info:AAA.authPass> : Login passed for user admin through serial
08/19/2016 06:24:40.19 <Info:nl.init> : Network Login framework has been initialized
08/17/2016 11:00:27.11 <Warn:AAA.authFail> : Login failed for user admin  through serial
06/17/2016 06:55:08.56 <Warn:AAA.authFail> : Login failed for user adm,in through serial

See all fdb entries without i flag, matching on "d m ".
SW-TAC-1.3 # sh fdb | include d\sm\s+
00:01:30:f8:1a:00  TAC_BBONE(0020) 0053  d m           15
00:04:96:52:5c:b9  TAC_BBONE(0020) 0003  d m           46
00:11:88:33:88:27  TAC_BBONE(0020) 0054  d m           46
00:50:56:80:46:c0  TAC_BBONE(0020) 0223  d m           46
a4:ba:db:09:84:42  TAC_BBONE(0020) 0054  d m           46
a4:ba:db:09:a6:07  TAC_BBONE(0020) 0041  d m           46
a4:ba:db:09:c9:30  TAC_BBONE(0020) 0009  d m           46
a4:ba:db:0e:5a:c9  TAC_BBONE(0020) 0033  d m           46
b8:ac:6f:15:78:d4  TAC_BBONE(0020) 0051  d m           46


SW-TAC-1.5 # show switch | include Image\sBooted
Image Booted:     secondary           


 
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255