Guest

Preview Tool

Cisco Bug: CSCvv49875 - Nexus 3500 | "show openflow switch 1 flows" shows "Packets: 0, Bytes: 0" for a "Flow" entry

Last Modified

Oct 14, 2020

Products (1)

  • CiscoPro Workgroup EtherSwitch Software

Known Affected Releases

7.0(3)I7(7)

Description (partial)

Symptom:
[1] "show openflow switch 1 flows" shows "Packets: 0, Bytes: 0" for a  "Flow" entry 

N3500# sh openflow switch 1 flows brief
 
Logical Switch Id: 1
Total flows: 6
 
Flow: 1 Match: any Actions: drop
      Priority: 0, Table: 0, Cookie: 0x0, Duration: 1179992.877s, Packets: 354550435, Bytes: 696543050885
 
Flow: 2 Match: in_port=3 Actions: output:43,output:46
         Priority: 525, Table: 0, Cookie: 0x0, Duration: 1179992.692s, Packets: 0, Bytes: 0            <<<

[2] However, actual traffic is going out confirmed with interface counters/traffic rate & ASIC counters

ASIC counters:

N3500# slot 1 show system internal iftmc info interface ethernet 1/3 | i MTC	<<< in_port of "Flow: 2"
MTC :intf_id: 2271     lid_id: 4
 
module-1# sh hardware internal libsdk mtccr intf sw-intf-id valid-only
 
V                                                                    
A       T       S                                                    
L       Y       V                                                    
I  TBL  P NIV   I Q-TAG Q-TAG   BD  LIF  LIFIDX/NIVQQ/QQ             
D ADDR  E IDX   F   1     2    IDX  IDX      HASH RESULT             
- ---- -- --- --- ----- ----- ---- ---- ----------------             
1 2271  0  46   0 65535 65535    5 4100              464    <<<

module-1# sh hardware internal libsdk mtccr intf sw-intf-id valid-only
 
       L2LIF  STATISTICS
 
L2LIF      BYTES COUNT     FRAMES COUNT
-----  ---------------  ---------------
4098           914521             5678
4099          1340657             4828
4100           913752             5669            <<< 

[3] "TcamIdx" also shows "00000000000000000000 00000000000000000000" for "frames" & "bytes" fields

N3500# slot 1 show system internal iftmc info interface ethernet 1/3 | i MTC
MTC :intf_id: 2271     lid_id: 4
 
Hex of 2271 = 0x08df

N3500# slot 1 show system internal iftmc info fibacl entries
 
 
TcamIdx  Seqno l2lif ethtyp vlan     macsa          macda         ipsa             ipda          prot sport dport tos  Result                frames               bytes		<<<
===========================================================================================================================================================================
1998    0005 0x08f2 0x0000 0000 0000.0000.0000  0000.0000.0000  ----------      ----------      ---- ----  ----  ---- outport             00000000000033547495 00000000009202342414
1999    0001 0x08e1 0x0000 0000 0000.0000.0000  0000.0000.0000  ----------      ----------      ---- ----  ----  ---- outport             00000000000072818858 00000000015576037888
2000    0002 0x08df 0x0000 0000 0000.0000.0000  0000.0000.0000  ----------      ----------      ---- ----  ----  ---- outport             00000000000000000000 00000000000000000000           <<<
2001    0003 0x08e2 0x0000 0000 0000.0000.0000  0000.0000.0000  ----------      ----------      ---- ----  ----  ---- outport             00000000000039449112 00000000006313248255

[4] BYTES / FRAMES COUNT are cumulative counters

Conditions:
[1] Nexus Data Broker (NDB) Acting as OpenFlow Controller (hosted on the N3500 switch itself in the GuestShell)
[2] Downgrade NXOS 9.2(2) ---> 7.0(3)I7(7)
[3] Active Package(s) / SMUs on N3K:
    nxos.CSCvr01876-core-n9k_ALL-1.0.0-7.0.3.I7.7.lib32_n9000
    nxos.CSCvu04531-n9k_ALL-1.0.0-7.0.3.I7.7.lib32_n9000
    nxos.CSCvr01876-eth-n9k_ALL-1.0.0-7.0.3.I7.7.lib32_n9000

[4] Rare occurrence
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.