Forum Discussion

17 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    what about if you just run "tmsh show gtm wideip"? Do you get the details then?
  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    try "tmsh list gtm wideip" - this will give you a breakdown of the configuration. Is this more what you are after?
  • I am looking for pool IP ..."tmsh list gtm wideip" will provide only pool-name
  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus
    apologies i understand. Yes the show command is really for statistics, rather than configuration, so it will show the pool name not IP. the only way is to dig down in the Servers configuration "tmsh list gtm server all-properties"
  • A wideip can be associated with more than one gtm pool. Each pool contains one or more virtuals servers from gtm server objects.

    If you use the 'detail' keyword when displaying a wideip, tmsh will recurse down that path of objects and display the wideip, pools, and pool members (including IP addresses)

    For example. from v12.0.0 (in versions prior to 12, the command is 'show gtm wideip xxx', without the ' a ')

    (tmos) show gtm wideip a www.example.com detail
    
    ------------------------------
    Gtm::WideIp::A www.example.com
    ------------------------------
    Status
      Availability : available
      State        : enabled
      Reason       : Available
    
    Requests
      Total                0
      Persisted            0
      Resolved             0
      Dropped              0
    
    Load Balancing
      Preferred            0
      Alternate            0
      Fallback             0
      CNAME Resolutions    0
      Returned from DNS    0
      Returned to DNS      0
      Failures with RCODE  0
    
    
      ------------------------
      | Gtm::Pool::A gtm-pool
      ------------------------
      | Status
      |   Availability : available
      |   State        : enabled
      |   Reason       : Available
      | 
      | Load Balancing
      |   Preferred          0
      |   Alternate          0
      |   Fallback           0
      |   Returned from DNS  0
      |   Returned to DNS    0
      |   Dropped            0
    
         ---------------------------------------
         | Gtm::Pool Member: gtm-pool:A test1:me
         ---------------------------------------
         | Status
         |   Availability : available
         |   State        : enabled
         |   Reason       : Available
         | 
         | Load Balancing
         |   Preferred     0
         |   Alternate     0
         |   Fallback      0
     
            ----------------------------------
            | Gtm::Virtual Server: test1
            ----------------------------------
            | Status
            |   Availability : available
            |   State        : enabled
            |   Reason       :  Monitor /Common/bigip from 10.0.0.1 : UP
            |   Destination  : 1.1.1.100:80
            | 
            | Link Name               ---
            | 
            | Global
            |   Picks                   0
            |   Connections             0
            |   Virtual Server Score    0
            | 
            | Throughput               In  Out
            |   Bits/sec                0    0
            |   Packets/sec             0    0
     
         ---------------------------------------
         | Gtm::Pool Member: gtm-pool:A test2:me
         ---------------------------------------
         | Status
         |   Availability : available
         |   State        : enabled
         |   Reason       : Available
         | 
         | Load Balancing
         |   Preferred     0
         |   Alternate     0
         |   Fallback      0
     
            ----------------------------------
            | Gtm::Virtual Server: test2
            ----------------------------------
            | Status
            |   Availability : available
            |   State        : enabled
            |   Reason       :  Monitor /Common/bigip from 10.0.0.1 : UP
            |   Destination  : 1.1.1.101:80
            | 
            | Link Name               ---
            | 
            | Global
            |   Picks                   0
            |   Connections             0
            |   Virtual Server Score    0
            | 
            | Throughput               In  Out
            |   Bits/sec                0    0
            |   Packets/sec             0    0
    
  • No pool's IP detail;

    (tmos) show gtm wideip detail

    Gtm::WideIp:

    Status

    Availability : available State : enabled Reason : Available

    Requests

    Total 6 A 3 AAAA 3 Persisted 0 Resolved 3 Dropped 0

    Load Balancing

    Preferred 3 Alternate 0 Fallback 0 CNAME Resolutions 0 Returned from DNS 0 Returned to DNS 0

    | Gtm::Pool:

    | Status

    | Availability : available | State : enabled | Reason : Available |

    | Load Balancing

    | Preferred 0 | Alternate 0 | Fallback 0 | CNAME Resolutions 0 | Returned from DNS 0 | Returned to DNS 0 | Dropped 0
     -----------------------------------------------------------------------------------------------------
     | Gtm::Pool Member: 
     -----------------------------------------------------------------------------------------------------
     | Status        
     |   Availability : available
     |   State        : enabled
     |   Reason       :  
    

    |

    | Load Balancing | Preferred 0 | Alternate 0 | Fallback 0

    | Gtm::Pool:

    | Status

    | Availability : available | State : enabled | Reason : Available |

    | Load Balancing

    | Preferred 3 | Alternate 0 | Fallback 0 | CNAME Resolutions 0 | Returned from DNS 0 | Returned to DNS 0 | Dropped 0
     ---------------------------------------------------------------------------------------------------
     | Gtm::Pool Member: 
     ---------------------------------------------------------------------------------------------------
     | Status        
     |   Availability : available
     |   State        : enabled
     |   Reason       :  
    

    |

    | Load Balancing | Preferred 3 | Alternate 0 | Fallback 0

    (tmos)

  • adb_11155's avatar
    adb_11155
    Historic F5 Account

    Pool member IP addresses do not appear in the BIG-IP GTM 11.x output for this command. They were shown in v10.x and do appear once again in 12.x. SOL12373 has been updated (not published yet as of May 2016) with this information.

    (1) To view the pool member IP addresses in v11.x you can display a server object's (shown in the wideip output) summary using the following syntax:

    tmsh show gtm server  detail

    or...

    (2) Use this one-liner which shows the wideip and then pulls the server names from the output to use them as arguments for the show server command:

    tmsh show gtm wideip  detail;tmsh show gtm wideip  detail | grep Member | awk '{print $5}' | cut -d':' -f2 | xargs tmsh show gtm server detail
    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      I try the following command (show gtm wideip A all detail | grep 'WideIp|Destination')

       

    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      sorry the command (show gtm wideip A all detail | grep 'WideIp|Destination')

       

    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      sorry Back Slash not appear from comments and Back Slash between WideIp and Destination as the following: WideIp(Back Slash)|Destination

       

  • Pool member IP addresses do not appear in the BIG-IP GTM 11.x output for this command. They were shown in v10.x and do appear once again in 12.x. SOL12373 has been updated (not published yet as of May 2016) with this information.

    (1) To view the pool member IP addresses in v11.x you can display a server object's (shown in the wideip output) summary using the following syntax:

    tmsh show gtm server  detail

    or...

    (2) Use this one-liner which shows the wideip and then pulls the server names from the output to use them as arguments for the show server command:

    tmsh show gtm wideip  detail;tmsh show gtm wideip  detail | grep Member | awk '{print $5}' | cut -d':' -f2 | xargs tmsh show gtm server detail
    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      I try the following command (show gtm wideip A all detail | grep 'WideIp|Destination')

       

    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      sorry the command (show gtm wideip A all detail | grep 'WideIp|Destination')

       

    • Ahmed_Mostafa_2's avatar
      Ahmed_Mostafa_2
      Icon for Nimbostratus rankNimbostratus

      sorry Back Slash not appear from comments and Back Slash between WideIp and Destination as the following: WideIp(Back Slash)|Destination