The Quick Way to get f5 Viprion Serials

f5 Viprion

Ever been asked to list the serial numbers on an f5 Viprion? No? Well stay with me anyway – this is a quick one, and you never know when it will be helpful!

Once upon a time, much of the networking equipment in the data center was blissfully unaware of its own serial number. Now, thank goodness, most systems allow you to query the serial numbers of the chassis and modules via the command line. The f5 Viprion is a bit of a pain though, as the command to show the system hardware (and thus the serial numbers) only shows the serial number of the blade to which you are currently connected. To get the serials for the others, there are two ways to approach the problem.

1. Viprion – Connect to Slots

The first way to get the other information is to connect to the blade in each slot one at a time and issue the same command. For example here is my first blade (slot 2 in this case):

(Prompts are shortened for clarity) To get the others, I run bash, then ssh into another slot and issue the same command using tmsh:

The “Host Board Serial” is the serial number of the blade in the current slot (now slot 1), and we’ve got two more slots to check in this chassis. This is a little tiresome to do, and this is where method 2 comes into play.

2. Using CLSH

In the bash shell, there’s a utility called clsh that rather helpfully will issue the command on every slot for you and show you the results. Just preface your shell command with clsh , tweak the grep command for clarity and life is good:

So now we know that this example Viprion chassis has a blade in slots 1 and 2 (serials listed above), and slots 3 and 4 are empty. Isn’t that easier?



30 Blogs in 30 Days

This post is part of my participation in Etherealmind’s 30 Blogs in 30 Days challenge.

1 Comment on The Quick Way to get f5 Viprion Serials

Leave a Reply

Your email address will not be published.



This site uses Akismet to reduce spam. Learn how your comment data is processed.