<?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 phone port information using AXL in Management</title>
    <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644594#M3908</link>
    <description>&lt;P&gt;Note, this data is also available in XML format (avoiding the HTML screen scraping)&lt;/P&gt;
&lt;DIV id="tinyMceEditor_d6f0e1e8ea691edstaudt_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 21:04:50 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2022-07-05T21:04:50Z</dc:date>
    <item>
      <title>How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4642397#M3903</link>
      <description>&lt;P&gt;I am utilizing zeep and requests modules to pull and modify phones and lines in Call Manager.&amp;nbsp; I looked through the AXL schema, but couldn't quite find how to pull port information from a phone.&amp;nbsp; I am looking to gather LLDP/CDP information.&amp;nbsp; Any help would be appreciated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:47:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4642397#M3903</guid>
      <dc:creator>Ken S</dc:creator>
      <dc:date>2022-07-01T12:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4642420#M3904</link>
      <description>&lt;P&gt;getPhone should show that information in the &amp;lt;vendorConfig&amp;gt; section, but my tests don't return that information. So it's possible that you can't access it via AXL. AXL generally only fetches data from the database, but vendorConfig data isn't stored in the database. So while you can get &lt;EM&gt;some&lt;/EM&gt; vendorConfig information, you can't necessarily get it all.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll double-check with the engineers, and if it's not possible now, I can file an enhancement request.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:30:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4642420#M3904</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2022-07-01T13:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4643261#M3905</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I can recommend you the following.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You could read the information from the phone website.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Requirements:&amp;nbsp; &amp;nbsp; &amp;nbsp;A list of phones ip address,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phones must be accessible via ip and web access must be activated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is an example written in Python. The results are stored in a dictionary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "10.50.x.y": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor Device ID": "sw_core",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor IPv4 Address": "10.50.x.y",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor Port": "GigabitEthernet1/0/7",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Port Information": "Full, 1000"&lt;BR /&gt;},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "10.50.x.z": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor Device ID": "sw_core",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor IPv4 Address": "10.50.x.y",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "CDP Neighbor Port": "GigabitEthernet1/0/6",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Port Information": "Full, 1000"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 10:00:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4643261#M3905</guid>
      <dc:creator>BjoernMartin</dc:creator>
      <dc:date>2022-07-04T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644043#M3906</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/319201"&gt;@BjoernMartin&lt;/a&gt;.&amp;nbsp; I was thinking of this solution as well.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 12:32:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644043#M3906</guid>
      <dc:creator>Ken S</dc:creator>
      <dc:date>2022-07-05T12:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644045#M3907</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/438021"&gt;@npetrele&lt;/a&gt;.&amp;nbsp; I can take a look at the vendorConfig returnedTag.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 12:33:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644045#M3907</guid>
      <dc:creator>Ken S</dc:creator>
      <dc:date>2022-07-05T12:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644594#M3908</link>
      <description>&lt;P&gt;Note, this data is also available in XML format (avoiding the HTML screen scraping)&lt;/P&gt;
&lt;DIV id="tinyMceEditor_d6f0e1e8ea691edstaudt_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 21:04:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644594#M3908</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2022-07-05T21:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644798#M3909</link>
      <description>&lt;P&gt;Hi dstaudt!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the information.&lt;/P&gt;
&lt;P&gt;In XML format, of course, it makes everything easier and the code shorter!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:47:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644798#M3909</guid>
      <dc:creator>BjoernMartin</dc:creator>
      <dc:date>2022-07-06T06:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644804#M3910</link>
      <description>&lt;P&gt;Hi Ken!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The update has been attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the second option (XML) is more practical&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result looks like this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{
    "10.50.200.146": {
        "PortInformation": {
            "RxtotalPkt": "211984621",       
            "RxcrcErr": "00000000",
            "RxalignErr": "00000000",        
            "Rxmulticast": "85096768",       
            "Rxbroadcast": "74958097",       
            "Rxunicast": "51929756",
            "RxshortErr": "00000000",        
            "RxshortGood": "00000000",       
            "RxlongGood": "00009917",        
            "RxlongErr": "00000000",
            "Rxsize64": "83457972",
            "Rxsize65to127": "98555885",     
            "Rxsize128to255": "08565025",    
            "Rxsize256to511": "03737534",    
            "Rxsize512to1023": "00875376",   
            "Rxsize1024to1518": "16792829",  
            "RxtokenDrop": "00000000",       
            "TxexcessDefer": "00000000",     
            "TxlateCollision": "00000000",   
            "TxtotalGoodPkt": "58532663",    
            "Txcollisions": "00000000",      
            "TxexcessLength": "00000000",    
            "Txbroadcast": "00006463",       
            "Txmulticast": "01311297",       
            "lldpFramesOutTotal": "00000000",
            "lldpAgeoutsTotal": "00000000",  
            "lldpFramesDiscardedTotal": "00000000",
            "lldpFramesInErrorsTotal": "00000000",
            "lldpFramesInTotal": "00000000",
            "lldpTLVDiscardedTotal": "00000000",
            "lldpTLVUnrecognizedTotal": "00000000",
            "CDPNeighborDeviceId": "sw_core",
            "CDPNeighborIPv4": "10.50.x.y",
            "CDPNeighborIPv6": null,
            "CDPNeighborPort": "GigabitEthernet1/0/7",
            "LLDPNeighborDeviceId": null,
            "LLDPNeighborIPv4": null,
            "LLDPNeighborIPv6": null,
            "LLDPNeighborPort": null,
            "PortSpeed": "Full, 1000"
        }
    },
    "10.50.200.147": {
        "PortInformation": {
            "RxtotalPkt": "23908310",
            "RxcrcErr": "00000000",
            "RxalignErr": "00000000",
            "Rxmulticast": "11417382",
            "Rxbroadcast": "11106885",
            "Rxunicast": "01384043",
            "RxshortErr": "00000000",
            "RxshortGood": "00000000",
            "RxlongGood": "00004336",
            "RxlongErr": "00000000",
            "Rxsize64": "11439010",
            "Rxsize65to127": "11772250",
            "Rxsize128to255": "00366174",
            "Rxsize256to511": "00295028",
            "Rxsize512to1023": "00034900",
            "Rxsize1024to1518": "00000948",
            "RxtokenDrop": "00000000",
            "TxexcessDefer": "00000000",
            "TxlateCollision": "00000000",
            "TxtotalGoodPkt": "01271863",
            "Txcollisions": "00000000",
            "TxexcessLength": "00000000",
            "Txbroadcast": "00000148",
            "Txmulticast": "00181527",
            "lldpFramesOutTotal": "00000000",
            "lldpAgeoutsTotal": "00000000",
            "lldpFramesDiscardedTotal": "00000000",
            "lldpFramesInErrorsTotal": "00000000",
            "lldpFramesInTotal": "00000000",
            "lldpTLVDiscardedTotal": "00000000",
            "lldpTLVUnrecognizedTotal": "00000000",
            "CDPNeighborDeviceId": "sw_core_04",
            "CDPNeighborIPv4": "10.50.x.z",
            "CDPNeighborIPv6": null,
            "CDPNeighborPort": "GigabitEthernet1/0/6",
            "LLDPNeighborDeviceId": null,
            "LLDPNeighborIPv4": null,
            "LLDPNeighborIPv6": null,
            "LLDPNeighborPort": null,
            "PortSpeed": "Full, 1000"
        }
    }
}&lt;/PRE&gt;
&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:55:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4644804#M3910</guid>
      <dc:creator>BjoernMartin</dc:creator>
      <dc:date>2022-07-06T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645063#M3911</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/319201"&gt;@BjoernMartin&lt;/a&gt;&amp;nbsp;for the example and example output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 14:23:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645063#M3911</guid>
      <dc:creator>Ken S</dc:creator>
      <dc:date>2022-07-06T14:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645121#M3912</link>
      <description>&lt;P&gt;I can't seem to find how to get the IP address of the phones.&amp;nbsp; I am using getPhone, but I cant' seem to find how to return the IP address.&amp;nbsp; I have tried the secure...Url and ...Url tags, but they didn't return what I was looking for in my script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 15:17:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645121#M3912</guid>
      <dc:creator>Ken S</dc:creator>
      <dc:date>2022-07-06T15:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645228#M3913</link>
      <description>&lt;P&gt;For that you will need to use the Risport70 API: &lt;A href="https://developer.cisco.com/docs/sxml/#!risport70-api-reference" target="_blank"&gt;https://developer.cisco.com/docs/sxml/#!risport70-api-reference&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Python samples: &lt;A href="https://github.com/CiscoDevNet/serviceability-python-zeep-samples/" target="_blank"&gt;https://github.com/CiscoDevNet/serviceability-python-zeep-samples/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 17:50:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645228#M3913</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2022-07-06T17:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get phone port information using AXL</title>
      <link>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645925#M3914</link>
      <description>&lt;P&gt;Just FYI, selectCMDevice(ext, too) only returns phones that have been registered at least once. If they haven't been registered yet, they won't show up.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 13:32:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/how-to-get-phone-port-information-using-axl/m-p/4645925#M3914</guid>
      <dc:creator>npetrele</dc:creator>
      <dc:date>2022-07-07T13:32:04Z</dc:date>
    </item>
  </channel>
</rss>

