Forum Discussion
ask_me_anytime_
Nimbostratus
Nov 04, 2008b interface show -j
hi,
anybody knows what the below command does ?
b interface show -j
Please note the "-j" at the end.
I'm trying to get interfaces statistics with "b interface show ".
but I heard the command with option -j gives more details.
So I want to know the difference between
"b interface show" and "b interface show -j".
There's a -j at the end of the second command.
Thank you for your help.
Sako.
12 Replies
- hwidjaja_37598
Altostratus
"b interface show -j" will also display internal interfaces (0.0, 0.1, 4.0 and 4.1) between SCCP and Host subsystem. - ask_me_anytime_
Nimbostratus
hi,
yeah, I understand now.
thank you for your message.
I search for the "-j" parameter in the LTM CLI manuals but I didn't find any documentation about that "-j".
where did you get information about "-j" ?
thank you,
Sako. - hwidjaja_37598
Altostratus
I saw this command in qkview file. I compared when running "b interface show" with and without "-j".
When you "bigstart restart tmm", you'll see "sccp bcm56xxd: ........: Link: 4.1 is UP/DOWN" message in /var/log/ltm. so I come to a conclusion that this interfaces are related between SCCP and Host subsystem links. - ask_me_anytime_
Nimbostratus
oh,thank you !!! I understand now..
I hope one day F5 will have documentation on these options ( like "-j").
I found information, nowhere neither on AskF5 nor in the manuals.
Actually, I'm writing a script and now I'm trying to get the statistics about the interfaces at the CLI.
"b show interfaces -j" shows the data in a formatted way with [M]bits and [G]bits, I want to get the unformatted data (normalization of the counts).
This is possible with the GUI, you display the interfaces statistics by
selecting [unformatted] for [Data Format] .
Do you know how to get the unformatted data in CLI ? or do you know in which directory or files the statistics reside on the LTM ?
your help is appreciated. - hwidjaja_37598
Altostratus
Try the attached workaround. It's written in Perl and accessing the interface statistic using SNMP.Sample: [root@bigip] ./intStat [] 1.1 PktsIn = 3,723,888 BytesIn = 312,887,039 PktsOut = 1,432,006 BytesOut = 95,249,909 McastIn = 2,492,233 McastOut = 777 ErrorsIn = 0 ErrorsOut = 0 DropsIn = 2,500,715 DropsOut = 0 Collisions = 0 1.2 PktsIn = 0 BytesIn = 0 PktsOut = 0 BytesOut = 0 McastIn = 0 McastOut = 0 ErrorsIn = 0 ErrorsOut = 0 DropsIn = 0 DropsOut = 0 Collisions = 0
Dont forget to make it executable, eg. chmod a+rx ./intStat - ask_me_anytime_
Nimbostratus
hwidjaja,
oh,thank you !!!!!!!
the perl script works perfectly !!!!
I have another concern, if you don't mind.
do you know how to get MIB or OID for internal links(0.1,0,2 etc..) ?
I mean the links between sccp and the host-system...
I wasnot able to get MID/OID for internal interfaces that are displayed in "b interface show -j" .
is it possible to get OID for these internal links ?
if you know, your help will be appreciated..
if you don't ,,no problems..you have helped me a lot already.
thanks. - hwidjaja_37598
Altostratus
My pleasure .... Unfortunately, I also could not find the OIDs for internal interfaces.
You might need to open a case with F5 Support whether or not there are OIDs for Internal Interfaces. I'll let you know if I could find a way to get the statistics for Internal Interfaces. - ask_me_anytime_
Nimbostratus
yeah, I will open a case with F5 Support about the OID of internal interfaces.
oh,I notice something about the shell script.
It doesn't display statistics about the "mgmt" interface.(Management port).
maybe we should modify to the script.
I'm having a look at it too.
thanks, - hwidjaja_37598
Altostratus
Let me know if you have difficulty displaying 'mgmt' interface. I'll update the perl script. - ask_me_anytime_
Nimbostratus
yeah,I have some diffculty 'mgmt' interface.
I am trying to update it but I was not able to write the right regular expression to display the 'mgmt' interface.
would you please update the perl script if you can ?
thank you.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects