filtering show command output on extreme networks x460-24t switch

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
i followed http://documentation.extremenetworks.com/exos/EXOS_All/Getting_Started/r_filtering-the-output-of-sho...
 is the output
X460-24t.5 # show vlan vlan2001  dhcp-address-allocation | include 24
^%% Invalid input detected at '^' marker.


Without piping I get
X460-24t.2 # show vlan vlan2001  dhcp-address-allocation
==============================================================================
IP MAC State Lease Time Left
==============================================================================
10.0.0.3 00:24:88:00:0a:b1 Assigned 0001:04:40
10.0.0.4 00:24:88:00:1d:91 Expired 0000:00:00
10.0.0.5 00:24:88:00:1a:36 Assigned 0001:47:03
10.0.0.6 00:24:88:00:1a:31 Assigned 0001:47:29
10.0.0.7 00:24:88:00:1a:12 Assigned 0001:24:13
10.0.0.8 00:24:88:00:73:25 Offered 0000:00:00
10.0.0.9 00:24:88:00:1a:46 Assigned 0001:24:11
10.0.0.10 00:24:88:00:1a:15 Assigned 0001:47:22
10.0.0.11 00:24:88:00:72:5f Assigned 0001:24:06
10.0.0.12 00:24:88:00:1a:fa Expired 0000:00:00
10.0.0.13 00:24:88:00:1a:44 Assigned 0001:51:31
10.0.0.14 00:24:88:00:15:e3 Expired 0000:00:00
10.0.0.15 00:24:88:00:1a:58 Assigned 0001:46:44
10.0.0.16 00:24:88:00:1a:1d Assigned 0001:47:20
10.0.0.17 00:24:88:00:13:c8 Assigned 0001:48:28
10.0.0.18 00:24:88:00:00:2c Assigned 0001:23:57
10.0.0.19 00:24:88:00:1b:18 Expired 0000:00:00
10.0.0.20 00:24:88:00:1a:16 Assigned 0001:24:58
10.0.0.21 00:24:88:00:02:91 Assigned 0001:12:05
10.0.0.22 00:24:88:00:72:22 Expired 0000:00:00

Another thing , is there any way to put command output in scrollable block to avoid long looking messages.
(pre and blockquote tag did nothing about enclosing content in a frame) ?

EDIT: Fixed the formatting for you  -Drew C.
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
Must be a bug, worked for me.  What version of code? 
Photo of Sumit Tokle

Sumit Tokle, Alum

  • 5,738 Points 5k badge 2x thumb
May be you are running the older code which doesn't support filtering.
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
At the end where you put your pipe "|".  Right after that, if you do a ?, do you get any options or an error?
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
to Jeremy Gibbs

<pre>
X460-24t.2 #  show vlan vlan123 dhcp-address-allocation |?                                                        ^
%% Invalid input detected at '^' marker.
</pre>
caret is just below pipe

How to find version of code ?
(Edited)
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
show version
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
X460-24t.1 # show version
Switch      : 800321-00-09 1224G-80358 Rev 9.0 BootROM: 2.0.1.7    IMG: 12.5.4.5

PSU-1       : EDPS-300AB A-S7 800386-00-03 1224E-40092 Rev 0.0
PSU-2       :

Image   : ExtremeXOS version 12.5.4.5 v1254b5 by release-manager
          on Tue Jun 28 10:10:40 PDT 2011
BootROM : 2.0.1.7
Diagnostics : 2.10
X460-24t.2 #
(Edited)
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
I don't believe that version of code supports | include / find / grep etc... 
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
how can I update ?
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
Go here and create an account:

https://secure.extremenetworks.com/

Use serial number :1224G-80358 

Download the latest .xos and upgrade. Obviously, read all caveats and release notes. 
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
ok
Photo of OscarK

OscarK, ESE

  • 7,912 Points 5k badge 2x thumb
Photo of sumeet

sumeet

  • 798 Points 500 badge 2x thumb
actually , the switch is bought by another department of company .
Don't know email id provided while buying .
Without it , I can't create account on secure extreme networks . Hence , can't download  OS image for upgrading .