Port statistics - open-switch/opx-docs GitHub Wiki
You can use opx-show-stats to perform a dump of port and VLAN interface statistics.
Retrieve statistics for all or specified port interfaces
opx-show-stats if_stat [iface_name] [filter_list]
-
iface_name— physical port (such asopx-show-stats if_stat e101-001-0) -
filter_list— filters to use to retrieve desired statistics (no filters are applied by default)
Retrieve statistics for all or specified VLAN interfaces
opx-show-stats vlan_stat [vlan_ifindex] [filter_list]
-
vlan_ifindex— VLAN using the interface index -
filter_list— filters to use to retrieve desired statistics (no filters are applied by default)
Delete statistics for all or specified port or VLAN interfaces
opx-show-stats clear [iface_name | vlan_ifindex]