show log chronological
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-03-2015 01:41 PM
Hi,
is it possible to set
show log
to always display entries in chronological order?
I mean without appending each time 'chronological' to the command.
thank you
--
antonio
is it possible to set
show log
to always display entries in chronological order?
I mean without appending each time 'chronological' to the command.
thank you
--
antonio
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-06-2015 12:58 PM
For anyone coming across this thread in the future, I've created a GTAC Knowledge article discussing this as well:
https://gtacknowledge.extremenetworks.com/articles/Q_A/Is-there-a-way-to-show-logs-in-chronological-...
https://gtacknowledge.extremenetworks.com/articles/Q_A/Is-there-a-way-to-show-logs-in-chronological-...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-03-2015 11:19 PM
Use Scripting EXOS CLI Modules
http://www.extremenetworks.com/wp-content/uploads/2015/02/Python_Getting_Started_Guide.pdf
You can get anything you want.
http://www.extremenetworks.com/wp-content/uploads/2015/02/Python_Getting_Started_Guide.pdf
You can get anything you want.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-03-2015 11:19 PM
I am not sure what would be simpler than "sh lo ch" versus "sh lo". In EXOS, there is no customization of default behavior of cli output, other than scripting. That having been said, there is a simpler method if you are automating your output.
You can write whatever commands you choose in any way you choose in an .xsf file and then just run it. This function only outputs to console by default.
The python method is really quite simple as well. Simply do:
vi shloch.py
i
print exsh.clicmd('show log chronological', True)
:wq
run script shloch.py
and enjoy!
You can write whatever commands you choose in any way you choose in an .xsf file and then just run it. This function only outputs to console by default.
The python method is really quite simple as well. Simply do:
vi shloch.py
i
print exsh.clicmd('show log chronological', True)
:wq
run script shloch.py
and enjoy!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-03-2015 11:19 PM
Thank you for your reply.
Scripting should not be a solution for basic tasks.
Everywhere logs are exposed in chronological order with no need of switching words, simply because it's the logical way to go.
--
antonio
Scripting should not be a solution for basic tasks.
Everywhere logs are exposed in chronological order with no need of switching words, simply because it's the logical way to go.
--
antonio
