Examples
Following is example output from the show flow-offload
flow command. Offloaded flows are
identified by an index number, which is calculated by hashing the
source and destination IP addresses, ports, and the protocol. A
collision occurs when the system tries to offload a
flow that has the same index as a currently active offloaded flow.
In this case, the new flow is not offloaded, but the first flow
remains offloaded.
For GRE traffic, source IP, Source Port, Destination IP and Destination Port are shown in the output.
> show flow-offload flow
Total offloaded flow stats: 4 in use, 5 most used, 100% offloaded, 0 collisions
UDP intfc 103 src 10.1.1.2:41110 dest 20.1.1.2:5001, dynamic, timestamp 162810457, packets 84040, bytes 127404640
GRE intfc 102 src 20.20.20.20:0 dest 5.5.5.5:0, timestamp 4208449953972, packets 5, bytes 550
GRE intfc 101 src 5.5.5.5:0 dest 20.20.20.20:0, timestamp 4209570830802, packets 6, bytes 674
Following is example output from the show flow-offload flow count command.
For GRE traffic, source IP, Source Port, Destination IP and Destination Port are shown in the output.
> show flow-offload flow count
Total offloaded flow stats: 4 in use, 20 most used, 10% offloaded, 0 collisions
Following is example output from the show flow-offload flow detail command. rw(number) indicate the standard header fields like MAC or VLAN have been rewritten for that particular offloaded flow.
> show flow-offload flow detail
Total offloaded flow stats: 2 in use, 6 most used, 100% offloaded, 0 collisions
TCP vlan 711 intfc 101 src 172.16.1.3:21766 dest 9.9.1.3:80, dynamic, timestamp 217959066, packets 633139, bytes 43053452
node 0, ft index 58197, queue_id 727
rw(0): cmd ' replace', offset 0, bytes 12, data(x) 90E2 BA01 8E29 B0AA 7730 097B
rw(1): cmd 'increment', offset 46, bytes 4, data(x) 422AC658
GRE intfc 102 src 20.20.20.20:0 dest 5.5.5.5:0, timestamp 4208449953972, packets 5, bytes 550
GRE intfc 101 src 5.5.5.5:0 dest 20.20.20.20:0, timestamp 4209570830802, packets 6, bytes 674
Following is example output from the show flow-offload dynamic command.
> show flow-offload flow dynamic
Dynamically offloaded flow stats: 2 in use, 6 most used, 100% offloaded, 0 collisions
TCP vlan 711 intfc 101 src 172.16.1.3:21809 dest 9.9.1.3:80, dynamic, timestamp 218392513, packets 14741, bytes 1002388
TCP vlan 911 intfc 102 src 9.9.1.3:80 dest 172.16.1.3:21809, dynamic, timestamp 218392534, packets 16794, bytes 23972345
Following is example output from the show flow-offload dynamic count command.
> show flow-offload flow dynamic count
Dynamically offloaded flow stats: 2 in use, 6 most used, 100% offloaded, 0 collisions
Following is example output from the show flow-offload dynamic detail command.
> show flow-offload flow dynamic detail
Total offloaded flow stats: 4 in use, 20 most used, 10% offloaded, 0 collisions
TCP intfc 134 src 9.9.1.3:80 dest 192.168.0.3:5240, static, timestamp 142633202, packets 442870, bytes 630342730
TCP intfc 133 src 192.168.0.3:5240 dest 9.9.1.3:80, static, timestamp 142633204, packets 442971, bytes 28350144
TCP intfc 136 src 9.9.1.4:80 dest 192.168.0.4:7240, dynamic, timestamp 142633876, packets 82870, bytes 10342730
TCP intfc 135 src 192.168.0.4:7240 dest 9.9.1.4:80, dynamic, timestamp 142633877, packets 82971, bytes 350144
Following is example output from the show flow-offload info command. Current running state is the current state of flow offload and is reserved for future implementation (the value is not currently configurable).
User configured state is the state of flow offload if the managed device is rebooted. (Currently, these values will always be the same.) Dynamic flow offload is the current state of dynamic flow offload.
> show flow-offload flow info
Current running state : Enabled
User configured state : Enabled
Dynamic flow offload : Enabled
Following is example output from the show flow-offload info detail command.
> show flow-offload flow info detail
Current running state : Enabled
User configured state : Enabled
Dynamic flow offload : Enabled
Offload App : Running
Offload allocated cores : S0[ 1] S1[ 13]
Offload reserved Nic : 9 22
Max PKT burst : 32
Port-0 details :
RX queue number : 149
FQ queue number : 727
Keep alive counter : 142327
Port-1 details :
RX queue number : 147
FQ queue number : 725
Keep alive counter : 142328
Following is example output from the show flow-offload statistics command. VNIC refers to the hardware on which dynamic flows are offloaded.
> show flow-offload statistics
Packet stats of port : 0
Tx Packet count : 16483549549
Rx Packet count : 16483549549
Dropped Packet count : 0
VNIC transmitted packet : 16483549549
VNIC transmitted bytes : 12389816183297
VNIC Dropped packets : 0
VNIC erroneous received : 0
VNIC CRC errors : 0
VNIC transmit failed : 0
VNIC multicast received : 0
The following example of show flow-offload flow shows the statistics of the offloaded cluster-redirect connections. This output shows the percentage of the total number
of flows. So, if there are more than 400 flows and only two are offloaded, the percentage will show as zero (0.5% is rounded
off to zero).
> show flow-offload flow
2 in use, 3 most used, 0% offloaded, 0 collisions
TCP intfc 1001 src 14.14.14.243:9998 dest 11.11.11.243:39524, timestamp 9747249142136, packets 88019121, bytes 7569644406
TCP intfc 1001 src 14.14.14.243:9998 dest 11.11.11.243:39534, timestamp 9747809181462, packets 88526595, bytes 7613287198
The show flow-offload flow protocol esp command shows flows using the ESP protocol:
> show flow-offload flow protocol esp
ESP intfc 0 src 10.10.0.12:60729 dest 10.10.0.1:35232, timestamp 3542470428259, packets 277, bytes 300406