<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to find list of Devices from FMC CLI in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/5265183#M1119806</link>
    <description>&lt;DIV&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326046"&gt;@Marvin Rhoads&lt;/a&gt; Thanks for sharing! You’ve jogged my memory. I just need to check my notes and find a similar workaround command. Hopefully, it will be helpful to others as well.&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;To work this I have to go to SFR Module find the UUID/IP but this does not work either. I have to go to FMC command line 

"root@fmc2:~# OmniQuery.pl -db mdb -e "select * from EM_peers;" against the IP/UUID. 

admin@fmc2:~$ sudo remove_peer.pl ~d2e989e8-f4bc-11eb-9fc8-9e4279a48f45&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 17:57:08 GMT</pubDate>
    <dc:creator>Sheraz.Salim</dc:creator>
    <dc:date>2025-02-26T17:57:08Z</dc:date>
    <item>
      <title>How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453643#M1083094</link>
      <description>&lt;P&gt;How to find list of Devices from FMC CLI. My FMC version is 6.7.0&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 15:52:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453643#M1083094</guid>
      <dc:creator>MSJ1</dc:creator>
      <dc:date>2021-08-23T15:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453781#M1083098</link>
      <description>&lt;P&gt;You cannot. Managed devices are stored as database objects in FMC, not lines in a config file.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 20:05:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453781#M1083098</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2021-08-23T20:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453784#M1083099</link>
      <description>&lt;P&gt;I should add that you can get a list of the registered devices' IP addresses.&lt;/P&gt;
&lt;P&gt;In the FMC cli, switch to expert mode. Then look at the sftunnel.conf file in et/sf. It will (among other things) list the peer IP addresses (but not necessarily their names).&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 20:19:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4453784#M1083099</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2021-08-23T20:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4708211#M1094444</link>
      <description>&lt;P&gt;right , but while in FTD we can remove single entries on the DB by using Omniquery.pl ------------- is that possible to do the same on FMC?&lt;/P&gt;&lt;P&gt;eg.: mdb.sfsnort&amp;gt; delete from EM_peers where name = '172.16.1.240';&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:38:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4708211#M1094444</guid>
      <dc:creator>eugeniodesideri</dc:creator>
      <dc:date>2022-10-24T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4709429#M1094458</link>
      <description>&lt;P&gt;Theoretically you can delete just about anything by directly manipulating the database. You can also completely destroy your system and require a rebuild from scratch if you do something wrong. I would only recommend doing such manipulation with direct involvement of Cisco TAC.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 13:24:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/4709429#M1094458</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2022-10-25T13:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/5265172#M1119801</link>
      <description>&lt;P&gt;I would add (thanks Wei!) that you can query the FMC database in expert mode as root user with:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OmniQuery.pl -db mdb -e "select name, ip, uuid, role from EM_peers;"&lt;/LI-CODE&gt;
&lt;P&gt;Removals can be done as well; but I would advise contacting TAC for confirmation if you believe that is necessary in your situation.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 17:13:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/5265172#M1119801</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2025-02-26T17:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find list of Devices from FMC CLI</title>
      <link>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/5265183#M1119806</link>
      <description>&lt;DIV&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/326046"&gt;@Marvin Rhoads&lt;/a&gt; Thanks for sharing! You’ve jogged my memory. I just need to check my notes and find a similar workaround command. Hopefully, it will be helpful to others as well.&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;To work this I have to go to SFR Module find the UUID/IP but this does not work either. I have to go to FMC command line 

"root@fmc2:~# OmniQuery.pl -db mdb -e "select * from EM_peers;" against the IP/UUID. 

admin@fmc2:~$ sudo remove_peer.pl ~d2e989e8-f4bc-11eb-9fc8-9e4279a48f45&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 17:57:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-find-list-of-devices-from-fmc-cli/m-p/5265183#M1119806</guid>
      <dc:creator>Sheraz.Salim</dc:creator>
      <dc:date>2025-02-26T17:57:08Z</dc:date>
    </item>
  </channel>
</rss>

