This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

export hosts definitions list

Is there anyway to export the hosts definitions list?


This thread was automatically locked due to age.
  • What the motivation for this question?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Its in regards to the conflicting ip address issue. I want to print out the list find all the ones outside the ip range I specified in dhcp

    so I can check them off the list and confirm they are still active in the office
  • Hi, the 'Printable Configuration' page (under Support, iirc) may give you what you need.

    Barry
  • The DHCP server log will contain all of the IPs it has assigned.  The 'Management >> Licensing' 'IP Addresses' tab will tell you which IPs have been active in the last week.  The 'IPv4 Lease Table' tab in 'Network Services >> DHCP' will tell you which DHCP leases are active or were recently active.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I had the same question: "Is there anyway to export the hosts definitions list?", but in my case it was for backup porpuses (I know there is the options to backup configuration in UTM, but not for only hosts entries). If there are anyway to do so I would be happy to know Bob. 

  • Olá Antonio and welcome to the UTM Community!

    It's not clear to me what you're hoping to gain.  Do you only want a spreadsheet of host definitions and the related IP for each?  You can generate a list of names of the hosts and then the related IPs with the following two commands:

    cc get_objects network host |grep \'name\'
    cc get_objects network host |grep \'address\'

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Bob, those commands help me, but what I want to achieve is to backup all hosts definitions saved in UTM, including their IP addresses, Name, MAC adresses, Hostname, IPv4 DHCP and DNS and details for each host. I know those information is in the ABF BackUp file, but in UTM we know that there is no otion to BackUp only the host information (this question is largely discussed in this forum). So, I hope I was clear enough, if you could help I will be glad.

  • Bob, I should say that I want to backup and RESTORE.

  • What is the purpose of being able to backup and restore hosts, Antonio?

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA