Supported by the GlobalNOC at Indiana University

Viewing FlowStats

Viewing FlowStats is useful for debugging what is happening in OESS and on the devices.  On the Junipers the openflow statistics are not included in the show openflow flows command.  Instead you must run show openflow statistics flows

show openflow statistics flows

aragusa@mx960-1-re0> show openflow statistics flows
Switch Name: al2s
Table ID: 1     Flow ID: 65536
Duration(in sec): 67834          Duration(in nsec): 89247000
Priority: 32768   Idle timeout(in sec):0        Hard timeout(in sec): 0
Number of packets: 0
Number of bytes:   0
Match: DL_VLAN, DL_TYPE,
Action: OUTPUT,

Switch Name: al2s
Table ID: 1     Flow ID: 16842752
Duration(in sec): 67834          Duration(in nsec): 4201524296
Priority: 1       Idle timeout(in sec):0        Hard timeout(in sec): 0
Number of packets: 0
Number of bytes:   0
Action: Drop,

If you are interested in a specific flows flowstats you can get the FlowID from the show openflow flows command and then pass it to the show openflow statistics command like

aragusa@mx960-1-re0> show openflow statistics flows 16842752
Switch Name: al2s
Table ID: 1     Flow ID: 16842752
Duration(in sec): 75860          Duration(in nsec): 3821360296
Priority: 1       Idle timeout(in sec):0        Hard timeout(in sec): 0
Number of packets: 0
Number of bytes:   0
Action: Drop,

Your request has been completed.