<?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: Get L3Out unicast bytes agg via rest api in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5054031#M3286</link>
    <description>&lt;P&gt;Hi mfr-6,&lt;/P&gt;
&lt;P&gt;Awesome works like a charm, thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 03:35:08 GMT</pubDate>
    <dc:creator>renderman</dc:creator>
    <dc:date>2024-04-01T03:35:08Z</dc:date>
    <item>
      <title>Get L3Out unicast bytes agg via rest api</title>
      <link>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5049818#M3278</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;How to get L3Out ingress / egress stats via REST API, I'm unable find the reference in the API documentation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-25 125712.png" style="width: 652px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/213780i0A87008BE7E9F3F5/image-dimensions/652x258?v=v2" width="652" height="258" role="button" title="Screenshot 2024-03-25 125712.png" alt="Screenshot 2024-03-25 125712.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 06:05:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5049818#M3278</guid>
      <dc:creator>renderman</dc:creator>
      <dc:date>2024-03-25T06:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get L3Out unicast bytes agg via rest api</title>
      <link>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5049829#M3279</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1707113"&gt;@renderman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In GUI, right click on your L3Out object and click "Open in Object Store Browser". Click on a "show stats" button&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mfr6_0-1711350522682.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/213784iC084590A059B0CC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mfr6_0-1711350522682.png" alt="mfr6_0-1711350522682.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Visore will show you all statistics classes that are attached to this L3Out. Example:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mfr6_1-1711350607786.png" style="width: 639px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/213785iB7115BEE30C6825B/image-dimensions/639x262?v=v2" width="639" height="262" role="button" title="mfr6_1-1711350607786.png" alt="mfr6_1-1711350607786.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Now you know the class names - you can query them directly to get the statistics you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/node/mo/uni/tn-&amp;lt;tenant name&amp;gt;/out-&amp;lt;l3out name&amp;gt;/CDl2IngrPktsAg15min.json?query-target=self&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "totalCount": "1",
    "imdata": [
        {
            "l2IngrPktsAg15min": {
                "attributes": {
                    "childAction": "",
                    "cnt": "1",
                    "dn": "uni/tn-xxx/out-xxx/CDl2IngrPktsAg15min",
                    "dropCum": "200006186",
                    "dropPer": "13628",
                    "dropRate": "45.330717",
                    "dropSpct": "0",
                    "dropThr": "",
                    "dropTr": "0",
                    "dropTrBase": "40767",
                    "floodCum": "0",
                    "floodPer": "0",
                    "floodRate": "0.000000",
                    "floodSpct": "0",
                    "floodThr": "",
                    "floodTr": "0",
                    "floodTrBase": "0",
                    "lastCollOffset": "300",
                    "multicastCum": "0",
                    "multicastPer": "0",
                    "multicastRate": "0.000000",
                    "multicastSpct": "0",
                    "multicastThr": "",
                    "multicastTr": "0",
                    "multicastTrBase": "0",
                    "repIntvEnd": "2024-03-25T08:04:58.638+01:00",
                    "repIntvStart": "2024-03-25T07:59:58.003+01:00",
                    "status": "",
                    "unicastCum": "6170512066289",
                    "unicastPer": "298627290",
                    "unicastRate": "993321.768922",
                    "unicastSpct": "0",
                    "unicastThr": "",
                    "unicastTr": "0",
                    "unicastTrBase": "806665933"
                }
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I believe you are looking for:&amp;nbsp;l2EgrBytes and&amp;nbsp;l2IngrBytes&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 07:20:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5049829#M3279</guid>
      <dc:creator>mfr-6</dc:creator>
      <dc:date>2024-03-25T07:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get L3Out unicast bytes agg via rest api</title>
      <link>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5054031#M3286</link>
      <description>&lt;P&gt;Hi mfr-6,&lt;/P&gt;
&lt;P&gt;Awesome works like a charm, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 03:35:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/get-l3out-unicast-bytes-agg-via-rest-api/m-p/5054031#M3286</guid>
      <dc:creator>renderman</dc:creator>
      <dc:date>2024-04-01T03:35:08Z</dc:date>
    </item>
  </channel>
</rss>

