Aruba & ProVision-based
1754237 Members
3413 Online
108812 Solutions
New Discussion

Re: ProCurve 3500yl: filtering CLI output?

 
NullDevice
Occasional Contributor

ProCurve 3500yl: filtering CLI output?

Hello,

 

It might be a newbie question... :)

 

Is there any way to filter a commands CLI output of switches like ProCurve 3500yl?

What i mean is, on our bigger switches i just type anything like..

 

sh run | i  192.168.0.240

 

 

to filter any rows with that IP for example.

 

or

sh mac-address | i 3c4a

 to filter MAC addresses.

 

But on the smaller switches this isn't working.

Is there any similar way or workaround for that?

 

Also on some of the old switches the output in telnet/putty/whereever  is very small. It only shows a few rows, even the window is much bigger. -  That makes it complicated to work with somehow.


The bigger procurves like 5406zl seem also not to have that problem.  Or is that a setting?

 

Regards,

ND.

 

 

6 REPLIES 6
Arimo
Respected Contributor

Re: ProCurve 3500yl: filtering CLI output?

Hi

 

The "include" option is pure SW. I'm not sure from which version that's avaialble, but current K-softwares have it, regardless of the HW.

 

What are the older / smaller switches you're talking about, and what SW versions are they running?


HTH,

Arimo
HPE Networking Engineer
NullDevice
Occasional Contributor

Re: ProCurve 3500yl: filtering CLI output?

for example..

 

4108GL :  #G.07.109

3500yl:    #K.11.63

2510G:     #Y.11.08

 

Ok, they are all not new, but its not working on any of them.

On the HP-E5406zl -> no problem.

NullDevice
Occasional Contributor

Re: ProCurve 3500yl: filtering CLI output?

Nope...

 

ProCurve Switch 3500yl-24G# sh run | i  192.168.0.240
Invalid input: |
ProCurve Switch 3500yl-24G#

 Am i doing something wrong?

BGraham_1
Frequent Advisor

Re: ProCurve 3500yl: filtering CLI output?

I believe that the pipe ( | )was not introduced until the K14or K15 series on the 3500yl.

 

I am not sure if it is available on the 4108 or th e 2510.

 

HTH

Bob

NullDevice
Occasional Contributor

Re: ProCurve 3500yl: filtering CLI output?

is there any workaround? - Or how do you normally filter outputs then?   At the moment i copy it to notepad to "search" it. - not really elegant.

paulgear
Esteemed Contributor

Re: ProCurve 3500yl: filtering CLI output?

That's about as elegant as it gets on the low-end ProCurve switches. Low-end Comware switches have full filtering capabilities.

I use RANCID to gather my switch configurations, then search them on the RANCID system rather than the switch itself.
Regards,
Paul