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 do you see what external IPs are being used on DMZ LTM

Featured Replies

Need to figure out how many IP Addresses are being used on the Public Internet side of the company (so our DMZ LTM).  Anyone do this on a regular basis?

  • Author

This is what I'm doing

First I run a command to identify what partitions are on the LTM

tmsh -c "cd /;list sys folder"
sys folder / {
    device-group Common/device-group-failover-DMZ
    inherited-devicegroup false
    inherited-traffic-group false
    traffic-group Common/traffic-group-1
}
sys folder Citrix {
    device-group Common/device-group-failover-DMZ
    inherited-devicegroup true
    inherited-traffic-group true
    traffic-group Common/traffic-group-1
}
sys folder Common {
    device-group Common/device-group-failover-DMZ
    inherited-devicegroup true
    inherited-traffic-group true
    traffic-group Common/traffic-group-1
} 
sys folder Production {
    device-group Common/device-group-failover-DMZ
    inherited-devicegroup true
    inherited-traffic-group true
    traffic-group Common/traffic-group-1
} 

I then run the following command which looks at all virtual servers in the Production partition and show me only the virtual server name and the destination IP info

[root@usfnt1slbdz01:Active:In Sync] ~ # tmsh list ltm virtual /Production/* | egrep 'ltm|destination' | grep -B1 'destination'
ltm virtual /Production/vip.ce.api-prd.thezah.com.http {
    destination /Production/198.124.81.29:80

I copy the results and paste into Komodo so I can make the information more useful (like comma separated so an import into Excel will be nicer)

First I replace (turn regular expression on) with a single comma

 {\n

Next I find the below and replace with nothing

   destination \/Production\/

Finally I find and replace with nothing

ltm virtual \/Production\/

Save file as a .csv and open it in Excel and its all pretty

 

  • Author

Even a slightly better way would be to use the show command which will tell you if the virtual server is available, offline, unknown

Run the following command to get a list of the virtual servers and Availability and Destination IP Address

tmsh show ltm virtual /Integration/* | egrep 'Ltm|Destination|Availability' | grep -B2 'Destination'

Copy the results to Komodo (or your text editor) and its the same principal as above.

Find the following and replace with nothing

Ltm::Virtual Server: 

Next find the following and replace with Integration,

/Integration/

Next find the following and replace with a single comma

.http\n

Then find the following and replace with a single comma

.https\n

Then find the following and replace with a single comma

  Availability     : \n

 

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.