<?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 get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk in Unified Computing System (UCS)</title>
    <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048687#M15</link>
    <description>&lt;P&gt;have you looked at below document :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pynet.twb-tech.com/blog/automation/netmiko.html" target="_blank"&gt;https://pynet.twb-tech.com/blog/automation/netmiko.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2020 14:01:25 GMT</pubDate>
    <dc:creator>balaji.bandi</dc:creator>
    <dc:date>2020-03-19T14:01:25Z</dc:date>
    <item>
      <title>How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048631#M14</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have been using Python sdk of UCS, ucsmsdk for managing fi operations.&lt;/P&gt;&lt;P&gt;But i could not find the appropriate one for the 'show mac address-table' output which is shown below.&lt;/P&gt;&lt;P&gt;fi-B(nx-os)# show mac address-table&lt;BR /&gt;&lt;BR /&gt;VLAN MAC Address Type age Secure NTFY Ports&lt;BR /&gt;---------+-----------------+--------+-------&lt;BR /&gt;* 1 0092.f52f.9b2b static - F F Veth694&lt;BR /&gt;* 1 0092.f52f.9b2e static - F F Veth702&lt;BR /&gt;* 2 0092.f52f.9b2c static - F F Veth698&lt;BR /&gt;* 2 0092.f52f.9b2f static - F F Veth706&lt;BR /&gt;* 2 0092.f52f.9b32 static - F F Veth714&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looked at all mometa classes. But could not find it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if the same is available under any name.&lt;/P&gt;&lt;P&gt;Tried with EtherPIo, etc. But couldnt see anything related to mac address-table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 12:43:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048631#M14</guid>
      <dc:creator>Guru Prasad</dc:creator>
      <dc:date>2020-03-19T12:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048687#M15</link>
      <description>&lt;P&gt;have you looked at below document :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pynet.twb-tech.com/blog/automation/netmiko.html" target="_blank"&gt;https://pynet.twb-tech.com/blog/automation/netmiko.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 14:01:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048687#M15</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2020-03-19T14:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048710#M16</link>
      <description>Thank you Balaji.&lt;BR /&gt;But is there any option available in python ucsmsdk itself to handle this.?</description>
      <pubDate>Thu, 19 Mar 2020 14:39:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4048710#M16</guid>
      <dc:creator>Guru Prasad</dc:creator>
      <dc:date>2020-03-19T14:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4049678#M17</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cant find .. you can have a look yourself in the code repo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/CiscoUcs/ucsmsdk/search?q=mac+table&amp;amp;unscoped_q=mac+table" target="_blank"&gt;https://github.com/CiscoUcs/ucsmsdk/search?q=mac+table&amp;amp;unscoped_q=mac+table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 08:34:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4049678#M17</guid>
      <dc:creator>omz</dc:creator>
      <dc:date>2020-03-21T08:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4049849#M18</link>
      <description>&lt;P&gt;many can be find git hub...Google is your best friend.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CiscoUcs/ucsmsdk" target="_blank"&gt;https://github.com/CiscoUcs/ucsmsdk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 17:45:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4049849#M18</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2020-03-21T17:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get 'show mac address-table' output of Fabric Interconnect from Python ucsmsdk</title>
      <link>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4057696#M19</link>
      <description>&lt;P&gt;&lt;SPAN style="font-style: inherit !important; font-weight: inherit !important;"&gt;Hi Guru,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UCS does not maintain objects for these components, the output is only available via the Fabric Interconnect CLI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I wrote some python that can access these items using SSH libraries to connect to the FIs and issue CLI commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/movinalot/ucs-code/tree/master/ucs-python" target="_blank"&gt;https://github.com/movinalot/ucs-code/tree/master/ucs-python&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using get_show_cmd.py to connect to the FIs and issue the commands in the json or yml files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The nxos-show-mac-address-table.json runs the command “show mac address-table” on FI A and then on FI B&lt;/P&gt;
&lt;P&gt;The nxos-show-mac-address-table.yml runs the command “show mac address-table | xml” on FI A and then on FI B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;update the json/yml file with your connection information and run as follows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;python get_show_cmd.py nxos-show-mac-address-table.yml&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 14:40:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/unified-computing-system-ucs/how-to-get-show-mac-address-table-output-of-fabric-interconnect/m-p/4057696#M19</guid>
      <dc:creator>jomcdono</dc:creator>
      <dc:date>2020-04-02T14:40:57Z</dc:date>
    </item>
  </channel>
</rss>

