Forum Discussion
show sys hardware in F5 without using the space bar
Hi ,
How to check the "show sys hardware" in F5 without using the space bar function, since i am going to use script for automation.
Thanks, Senthil Manicam
you can disable cli preference pager.
e.g.
root@(ve13a)(cfg-sync In Sync)(Active)(/Common)(tmos) modify cli preference pager disabled
- jaikumar_f5
Noctilucent
Sorry, what do you mean by space bar function. Running the below command should give you the desired output.
ltm:Active:Standalone] ~ tmsh show sys hardware
If you are looking for some specific capture, use the grep command,
ltm::Active:Standalone] ~ tmsh show sys hardware | grep -A4 Platform
when you talk about script, which language is it on.
- Jad_Tabbara__J1
Cirrostratus
Hello Senthil,
What scripting language are you using ? Normally you can call it as it is, for example for shell script you can call the command like that :
!/bin/sh tmsh show sys hardware
You don't have to care about the white space between the command.
Regards
- Senthil_M_34551
Nimbostratus
Thanks for the reply.
If we run the command, " tmsh show sys hardware " it gives the desired output. But i need to use space bar button to complete till the end of the command line.
For example: (/Common)(tmos) sho sys hardware Sys::Hardware Chassis Information Chassis Name Chassis Type . . . . . Hardware Version Information Name host_platform Type chassis Model F5 Parameters -- -- Host memory size 32768 Host platform name A113 Host software version 12.1.2.1.0.271
Hardware Version Information Name hsb_vlbb Type net ---(less 66%)--- ..................> Need to use the space bar button to complete. . . . . ---(less 86%)--- ..................> Need to use the space bar button to complete. . . Switchboard Part Revision Host Board Serial bld417755s Host Board Part Revision (/Common)(tmos)
Without using space bar button, any specfic command is available to show the sys hardware.
Regards, Senthil Manickam
- nitass_89166
Noctilucent
you can disable cli preference pager.
e.g.
root@(ve13a)(cfg-sync In Sync)(Active)(/Common)(tmos) modify cli preference pager disabled
- Senthil_M_34551
Nimbostratus
Thanks all.
- nitass
Employee
you can disable cli preference pager.
e.g.
root@(ve13a)(cfg-sync In Sync)(Active)(/Common)(tmos) modify cli preference pager disabled
- Senthil_M_34551
Nimbostratus
Thanks all.
- jaikumar_f5
Noctilucent
Okay for this you need to disable a setting which specifies whether or not long displays will be sent to less.
run this command
tmsh modify cli preference pager disabled
post which you will be able to see the entire output in your screen. BTW if you have access to the bash, you can just run
tmsh show sys hardware
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com