Forum Discussion

mplaksin0's avatar
mplaksin0
Icon for Cirrus rankCirrus
Sep 08, 2020

Tmsh command to see self-ip addresses

Hello, i need a command to see the self-ip ip address.

Any idea.

I tried show net self, show sys ip-address without success

Thanks

3 Replies

  • The command tmsh list net self will display all self IPs configured on the system, along with their IP addresses. You can add the address parameter to limit the display to only the self IP's IP address. For example:

    root@(bigip4)(cfg-sync Standalone)(Active)(/Common)(tmos)# list net self address
    net self 10.10.4.33 {
        address 10.10.4.33/16
    }
    net self 10.10.4.31 {
        address 10.10.4.31/16
    }
    net self 172.16.4.33 {
        address 172.16.4.33/16
    }
    net self 172.16.4.31 {
        address 172.16.4.31/16
  • Hello, its not working in version 14.1.2

     

    [mplaksin@f5--hor:/S2-green-P::Active:Standalone] ~ # tmsh list net self address

    [mplaksin@f5--hor:/S2-green-P::Active:Standalone] ~ #

     

    Just dont give any output.

  • Unless your BIG-IP system is not functioning properly, the only reason I can think of for the lack of output from the list net self command (or your show net self command, for that matter) is that you do not have any self IP addresses configured at the moment. You can double check by either of the following:

     

    • From the Linux bash prompt: cat /config/bigip_base.conf | grep "net self"
    • From the Configuration utility, navigate to Network > Self IPs