<?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: Incorrect port stats reported by openflow in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6959327#M2048</link>
    <description>&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;I ran more experiments and I think the problem occurs after a clear statistics command. The port statistics are cleared on the switch, however, OpenFlow still reports the old statistics. Can you try this scenario at your lab?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Enas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Apr 2017 12:59:19 GMT</pubDate>
    <dc:creator>EnasAhmad</dc:creator>
    <dc:date>2017-04-23T12:59:19Z</dc:date>
    <item>
      <title>Incorrect port stats reported by openflow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6956990#M1995</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Aruba&amp;nbsp;2930F. I am trying to collect port stats using Openflow. I have an instance (in3) with 3 ports (6,7 and 9). The following is the output of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; show openflow instance in3 port-statistics
Port 7: Up                                                                      
Status                                                                          
  Admin. Status   : Enabled          Flood       : NA                           
  Receive         : Enabled          Forward     : Enabled                      
  Packet_in       : Enabled                                                     
Statistics                                                                      
  Collisions      : 0                                                           
  Rx Packets      : 4294967388            Tx Packets  : 4294967393              
  Rx Bytes        : 339302431332          Tx Bytes    : 16927                   
  Rx Dropped      : 0                     Tx Dropped  : 0                       
  Rx Errors       : 0                     Tx Errors   : 0                       
  Frame Errors    : 0                                                           
  CRC Errors      : 0                                                           
  Overrun Errors  : 0                                                           
                                                                                
Port 8: Up                                                                      
Status                                                                          
  Admin. Status   : Enabled          Flood       : NA                           
  Receive         : Enabled          Forward     : Enabled                      
  Packet_in       : Enabled                                                     
Statistics                                                                      
  Collisions      : 0                                                           
  Rx Packets      : 4294967386            Tx Packets  : 4294967429              
  Rx Bytes        : 14790                 Tx Bytes    : 19792                   
  Rx Dropped      : 0                     Tx Dropped  : 0                       
  Rx Errors       : 0                     Tx Errors   : 0                       
  Frame Errors    : 0                                                           
  CRC Errors      : 0                                                           
  Overrun Errors  : 0                                                           
                                                                                
Port 9: Up                                                                      
Status                                                                          
  Admin. Status   : Enabled          Flood       : NA                           
  Receive         : Enabled          Forward     : Enabled                      
  Packet_in       : Enabled                                                     
Statistics                                                                      
  Collisions      : 0                                                           
  Rx Packets      : 4294967326            Tx Packets  : 4294967428              
  Rx Bytes        : 6540                  Tx Bytes    : 339302434828            
  Rx Dropped      : 0                     Tx Dropped  : 0                       
  Rx Errors       : 0                     Tx Errors   : 0                       
  Frame Errors    : 0                                                           
  CRC Errors      : 0                                                           
  Overrun Errors  : 0   
S1(config)# sh interface 9                                                     
                                                                                
 Status and Counters - Port Counters for port 9                                 
                                                                                
  Name  :                                                                       
  MAC Address      : e0071b-c4c7f7                                              
  Link Status      : Up                                                         
  Port Enabled     : Yes                                                        
  Totals (Since boot or last clear) :                                           
   Bytes Rx        : 6,982                Bytes Tx        : 20,329              
   Unicast Rx      : 0                    Unicast Tx      : 0                   
   Bcast/Mcast Rx  : 32                   Bcast/Mcast Tx  : 148                 
  Errors (Since boot or last clear) :                                           
   FCS Rx          : 0                    Drops Tx        : 0                   
   Alignment Rx    : 0                    Collisions Tx   : 0                   
   Runts Rx        : 0                    Late Colln Tx   : 0                   
   Giants Rx       : 0                    Excessive Colln : 0                   
   Total Rx Errors : 0                    Deferred Tx     : 0                   
  Others (Since boot or last clear) :                                           
   Discard Rx      : 0                    Out Queue Len   : 0                   
   Unknown Protos  : 0                                                          
  Rates (5 minute weighted average) :                                           
   Total Rx (bps) : 0                     Total Tx (bps) : 0                    
   Unicast Rx (Pkts/sec) : 0              Unicast Tx (Pkts/sec) : 0             
   B/Mcast Rx (Pkts/sec) : 0              B/Mcast Tx (Pkts/sec) : 0             
   Utilization Rx  :     0 %              Utilization Tx  :     0 %    &lt;/PRE&gt;&lt;P&gt;However, the stats I get when I send a&amp;nbsp;port_stat_req msg does not match these values.&lt;/P&gt;&lt;P&gt;I am trying to attach the port_stat_reply msg, however, the portal is not accepting any file extension (I tried .png, .jpg, .jpeg ... etc,&amp;nbsp;and nothing works I although I used to be able to upload such files).&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 12:44:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6956990#M1995</guid>
      <dc:creator>EnasAhmad</dc:creator>
      <dc:date>2017-04-16T12:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect port stats reported by openflow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6957045#M1997</link>
      <description>&lt;P&gt;Hello Enas,&lt;/P&gt;&lt;P&gt;Do the statistics returned in the port statistics response diverge a lot from what is returned in the CLI.&lt;/P&gt;&lt;P&gt;Can you please paste the dissected OpenFlow port stats reponse for a couple of ports using the 'insert-code' tag to workaround the issue with attaching files?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 10:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6957045#M1997</guid>
      <dc:creator>Abhay_B</dc:creator>
      <dc:date>2017-04-17T10:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect port stats reported by openflow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6957047#M1998</link>
      <description>&lt;P&gt;Thanks Abhay for your reply. Yes, here you go:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;OpenFlow (LOXI)
    version: 4
    type: OFPT_STATS_REPLY (19)
    length: 464
    xid: 261
    stats_type: OFPST_PORT (4)
    flags: Unknown (0x00000000)
    of_port_stats_entry list
        of_port_stats_entry
            port_no: 9
            rx_packets: 19259849
            tx_packets: 397641674
            rx_bytes: 1833430896
            tx_bytes: 341390900444
            rx_dropped: 0
            tx_dropped: 7681396
            rx_errors: 0
            tx_errors: 0
            rx_frame_err: 0
            rx_over_err: 0
            rx_crc_err: 0
            collisions: 0
            duration_sec: 721943029
            duration_nsec: 212403479
        of_port_stats_entry
            port_no: 8
            rx_packets: 2344640
            tx_packets: 42320
            rx_bytes: 3488273582
            tx_bytes: 5059128
            rx_dropped: 0
            tx_dropped: 0
            rx_errors: 0
            tx_errors: 0
            rx_frame_err: 0
            rx_over_err: 0
            rx_crc_err: 0
            collisions: 0
            duration_sec: 721943029
            duration_nsec: 1064044055
        of_port_stats_entry
            port_no: 4294967294
            rx_packets: 0
            tx_packets: 0
            rx_bytes: 0
            tx_bytes: 0
            rx_dropped: 0
            tx_dropped: 0
            rx_errors: 0
            tx_errors: 0
            rx_frame_err: 0
            rx_over_err: 0
            rx_crc_err: 0
            collisions: 0
            duration_sec: 721943029
            duration_nsec: 1065092631
        of_port_stats_entry
            port_no: 7
            rx_packets: 403029407
            tx_packets: 19285451
            rx_bytes: 339817282090
            tx_bytes: 1837097733
            rx_dropped: 0
            tx_dropped: 0
            rx_errors: 0
            tx_errors: 0
            rx_frame_err: 0
            rx_over_err: 0
            rx_crc_err: 0
            collisions: 0
            duration_sec: 721943029
            duration_nsec: 1916733207&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Notice for example the txDropped and rxBytes in port 9.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Enas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 10:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6957047#M1998</guid>
      <dc:creator>EnasAhmad</dc:creator>
      <dc:date>2017-04-17T10:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect port stats reported by openflow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6959319#M2047</link>
      <description>&lt;P&gt;Hello Enas,&lt;/P&gt;&lt;P&gt;We haven't been able to recreate the issue in our lab.&lt;/P&gt;&lt;P&gt;Can you please share some more details on your setup? The output of the running-configuration would be of help to us to mimic the same configuration.&lt;/P&gt;&lt;P&gt;From the details you have shared, what you are trying to convey is that both the "show openflow instance &amp;lt;x&amp;gt; port-statistics" and the OpenFlow port statistics reponse have incorrect data. Is that right?&lt;/P&gt;&lt;P&gt;How much of traffic has passed through these interfaces and is the output of the "show interface &amp;lt;x&amp;gt;" correct in your setup?&lt;/P&gt;&lt;P&gt;Is the port also carrying traffic for other VLANs that are not members of OpenFlow?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Abhay&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 10:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6959319#M2047</guid>
      <dc:creator>Abhay_B</dc:creator>
      <dc:date>2017-04-23T10:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect port stats reported by openflow</title>
      <link>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6959327#M2048</link>
      <description>&lt;P&gt;Hi Abhay,&lt;/P&gt;&lt;P&gt;I ran more experiments and I think the problem occurs after a clear statistics command. The port statistics are cleared on the switch, however, OpenFlow still reports the old statistics. Can you try this scenario at your lab?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Enas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 12:59:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/incorrect-port-stats-reported-by-openflow/m-p/6959327#M2048</guid>
      <dc:creator>EnasAhmad</dc:creator>
      <dc:date>2017-04-23T12:59:19Z</dc:date>
    </item>
  </channel>
</rss>

