<?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 Spec file ODM in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/spec-file-odm/m-p/3898497#M1898</link>
    <description>&lt;P&gt;I'm trying to get some output in XML format in cisco IOS with odm file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the "show format" I saw that some are already defined. I successfully add "show arp" and "show version" to a custom.odm file but "show interfaces description" is empty. Can someone help me with that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;###
show interfaces description
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ODMSpec&amp;gt;
&amp;lt;Command&amp;gt;&amp;lt;Name&amp;gt;show interfaces description&amp;lt;/Name&amp;gt;&amp;lt;/Command&amp;gt;
&amp;lt;DataModel&amp;gt;
&amp;lt;Container name="ShowIntDesc"&amp;gt;
&amp;lt;Table name="INTDesc"&amp;gt;
&amp;lt;Header name="Interface" type="String" start="0" end="30"/&amp;gt;
&amp;lt;Header name="Status" type="String" start="31" end="46"/&amp;gt;
&amp;lt;Header name="Protocol" type="String" start="47" end="55"/&amp;gt;
&amp;lt;Header name="Description" type="String" start="56" end="-1"/&amp;gt;
&amp;lt;/Table&amp;gt;
&amp;lt;/Container&amp;gt;
&amp;lt;/DataModel&amp;gt;
&amp;lt;/ODMSpec&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;WS-C6506-E#show interfaces description | format disk1:custom.odm
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ShowIntDesc xmlns="ODM://disk1:custom.odm//show_interfaces_description"&amp;gt;
&amp;lt;/ShowIntDesc&amp;gt;
WS-C6506-E#&lt;/PRE&gt;&lt;PRE&gt;WS-C6506-E#show interfaces description
Interface                      Status         Protocol Description
Gi1/1                          down           down    
Gi1/2                          up             up
Gi1/3                          down           down     NXLAB02
Gi1/3.1378                     down           down
Gi1/3.1382                     down           down
Gi1/3.1726                     down           down
Gi1/4                          down           down     Libre
Gi1/4.1719                     down           down
Gi1/4.1725                     down           down
Gi1/5                          down           down     libre
Gi1/6                          down           down&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Jul 2019 19:01:43 GMT</pubDate>
    <dc:creator>roussy.josiane</dc:creator>
    <dc:date>2019-07-26T19:01:43Z</dc:date>
    <item>
      <title>Spec file ODM</title>
      <link>https://community.cisco.com/t5/controllers/spec-file-odm/m-p/3898497#M1898</link>
      <description>&lt;P&gt;I'm trying to get some output in XML format in cisco IOS with odm file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the "show format" I saw that some are already defined. I successfully add "show arp" and "show version" to a custom.odm file but "show interfaces description" is empty. Can someone help me with that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;###
show interfaces description
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ODMSpec&amp;gt;
&amp;lt;Command&amp;gt;&amp;lt;Name&amp;gt;show interfaces description&amp;lt;/Name&amp;gt;&amp;lt;/Command&amp;gt;
&amp;lt;DataModel&amp;gt;
&amp;lt;Container name="ShowIntDesc"&amp;gt;
&amp;lt;Table name="INTDesc"&amp;gt;
&amp;lt;Header name="Interface" type="String" start="0" end="30"/&amp;gt;
&amp;lt;Header name="Status" type="String" start="31" end="46"/&amp;gt;
&amp;lt;Header name="Protocol" type="String" start="47" end="55"/&amp;gt;
&amp;lt;Header name="Description" type="String" start="56" end="-1"/&amp;gt;
&amp;lt;/Table&amp;gt;
&amp;lt;/Container&amp;gt;
&amp;lt;/DataModel&amp;gt;
&amp;lt;/ODMSpec&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;WS-C6506-E#show interfaces description | format disk1:custom.odm
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;ShowIntDesc xmlns="ODM://disk1:custom.odm//show_interfaces_description"&amp;gt;
&amp;lt;/ShowIntDesc&amp;gt;
WS-C6506-E#&lt;/PRE&gt;&lt;PRE&gt;WS-C6506-E#show interfaces description
Interface                      Status         Protocol Description
Gi1/1                          down           down    
Gi1/2                          up             up
Gi1/3                          down           down     NXLAB02
Gi1/3.1378                     down           down
Gi1/3.1382                     down           down
Gi1/3.1726                     down           down
Gi1/4                          down           down     Libre
Gi1/4.1719                     down           down
Gi1/4.1725                     down           down
Gi1/5                          down           down     libre
Gi1/6                          down           down&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jul 2019 19:01:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/spec-file-odm/m-p/3898497#M1898</guid>
      <dc:creator>roussy.josiane</dc:creator>
      <dc:date>2019-07-26T19:01:43Z</dc:date>
    </item>
  </channel>
</rss>

