Skip to content
View in the app

A better way to browse. Learn more.

Gear Crushers

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to Audit your DMZ LTM for Public Address Space

Featured Replies

So we only have so many public IPv4 addresses and when you start running low you need to find out where they all went and are they still being used.

Our DMZ LTM (which is where the Public IPs are found on the Virtual Servers) you can run a script that will check for

Availability = anything but enabled

OR

State = offline

OR

Total Connections = 0

Note on the script below I'm looking at all Virtual Servers found on the Integration partition

tmsh -q show ltm virtual /Integration/* | grep '^Ltm\|Avail\|State\|Total C' | awk 'BEGIN {RS="Ltm\:\:"; format = "%-55s %-10s %-10s %s\n"; printf format, "VS", "Avail", "State", "Connections" } $9 !~/enabled/ || $6 ~/offline/ || $12 ~/^0/ {printf format, $3, $6, $9, $12}' 2>/dev/null

It seems to work pretty good.  I am still working on the script to include the Destination (which would be the public IP Address).  If I figure it out I'll include it here.  A bummer is I can't include the Description field of a Virtual Server when using show command, you have to use list to get the Description field.  Why is it a big deal? It's not, just a nice to have if you put information on who owns the Virtual Server in the description field so you would know who to go to for validation the VS is still required.

  • 3 weeks later...
  • Author

A better command to use that will search all partitions and not just Integration as shown above

tmsh -c "cd /;show ltm virtual recursive" | egrep 'Ltm::|State' | grep -B1 enabled

You'll have to play with it to get exactly what you want but the first part will search all partitions.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.