Version 2.0
Command Line Interface (CLI) Management
158
Mellanox Technologies
Example:
entry Source Source-mask Dest Dest-mask Interface Service Routing Status Log
|------|------------|---------------|-----|----------|-
1 any any any any if0 any tunneling active 1
2 192.168.2.0 255.255..255.0 any any if1 any tunneling active 1
Note that in this example, the log number is 1 (n=1)
Expected result:
sRB-20210G-61f0(statistic)# log show
counter tx total pack tx total byte rx total pack rx total byte
|------|-------------|-------------|-------------|--------------
1 2733553 268066596 3698 362404
This shows the number of packets sent or received between InfiniBand and Ethernet
matching the two TFM rules with log counter #1.
tx total byte
The number of transmit bytes (from InfiniBand-to-Ethernet)
associated with a TFM rule and has a log counter n.
In the above example, this shows the number of bytes sent from
Infiniband to Ethernet (one way) or sent between InfiniBand and
Ethernet and matching the two TFM rules with log counter #1.
rx total pack
The number of receive packets (from Ethernet to InfiniBand)
associated with a TFM rule and has a log counter n.
rx total byte
The number of receive bytes (from Ethernet to InfiniBand)
associated with a TFM rule and has a log counter n.
Syntax:
log show
Example:
sRB-20210G-61f0(statistic)# log show
counter tx total pack tx total byte rx total pack rx total byte
|-------|--------------|--------------|--------------|-----------
---
1 437680 159161982 28 2744
2 579603 903286502 12 2349
3 0 0 0 0
4 0 0 0 0
rx-reset
Description:
Resets the rx counters of the specific log.
Syntax:
rx-reset [counter]
Example:
sRB-20210G-61f0(statistic)# log show
counter tx total pack tx total byte rx total pack rx total byte
|-------|--------------|--------------|--------------|-----------
---
1 437680 159161982 0 0
2 579603 903286502 0 0
3 0 0 0 0
4 0 0 0 0