OPBNOS R2.8
Release
  • Open Packet Broker
  • What's New?
  • Getting Started
    • Licensing
    • Limitations
    • Image Management
      • Installing OPBNOS from ONIE
      • Installing OPBNOS from USB Drive
      • Image Upgrade from OPBNOS
      • Selecting OPBNOS on next boot
      • Removing available images
      • Rebooting the Switch
    • Supported Platforms
    • Scalability
    • Downloads
  • CLI Configuration Guide
    • Configuring License
    • Configuring Hostname
    • Configuring Username
    • On-Box FlowVision
    • Configuring AAA
      • Configuring AAA
      • Configuring TACACS
      • Configuring RADIUS
    • Configure Packet Timestamping
    • Interface Management
      • Configuring Management Interface
      • Configuring Physical Interface
    • Link Layer Discovery Protocol (LLDP)
      • Enabling LLDP
      • Displaying LLDP Neighbors
    • Configuring Interface Description
    • Configuring Auto Negotiation
    • Configuring FEC
    • Configuring Maximum Transition Unit
    • Configuring Port Speed
    • Configuring Port Breakout
    • Configuring Interface Type
    • Configuring VLAN Modes
    • Configuring Loopback Mode
    • Configuring Packet Slicing
    • Configuring Ingress VLAN
    • Configuring Egress Tagging
    • Configuring Rx-only
    • Configuring Tx-only
    • Configuring An-clause
    • Configuring PortChannel
    • Configuring LAG Hash
    • Configuring Flows and Rules
      • Configuring Network Ports
      • Configuring Tool Ports
      • Configuring Flows
      • Configuring Flow Description
      • Configuring Flow Rules (NVIDIA)
      • Configuring Flow Rules (Broadcom)
      • Configuring Flow Match Expression Rules
      • Configuring Flow UDF Rules
      • Configuring Push/Pop VLAN
      • Configuring Flow Override Action(s)
      • Display Flow Information
      • Clear Flow Counters
    • Configuring GTP Flow
    • Configuring IPv6 Reachability Check
    • Configuring VXLAN Flow
    • Configuring VXLAN Stripping
    • Configuring SNMP
      • Configure SNMP community
      • Configuring SNMP Trap
      • Configuring SNMP Threshold
      • Configuring SNMP User
      • Configuring SNMP Location
      • Configuring SNMP Contact
    • Configuring SYSLOG
    • Ping
    • Traceroute
    • Configuring NTP
    • Configuring Timezone
    • Configuring sFlow
    • Display Interface Information
      • Front Panel Port Mapping
    • Display System Information
      • Interface Transceiver Information
      • System Uptime
      • Reboot Cause
      • Show Environment
      • Show System Memory
      • Show Docker Memory
      • Show Services
      • Show Platform Fan
      • Show platform pcieinfo
      • Show Platform PSU
      • Show Platform SSD
      • Show Platform Summary
      • Show Platform Syseeprom
      • Show Platform Temperature
    • Configuration Management
      • Copying Configuration from Switch
      • Copying Running and Startup Configuration
      • Saving Configuration
      • Display Configuration
      • Clearing Startup configuration
    • Zero Touch Provisioning
      • DHCP Discovery
      • ZTP Boot File
      • Enable ZTP
    • Troubleshooting
  • Aviz FlowVision Graphical User Interface Guide
    • FlowVision Controller Installation
      • FV ESXi Host Installation
      • FV VirtualBox Installation
    • System
      • Viewing the Dashboard
      • Accessing System and Device Information
      • Managing Topologies
      • Managing Devices
      • Viewing System Log
      • Managing Users
      • Performing Backup and Restore
      • Viewing Audit Logs
    • Configuration
      • Configuring Ports
      • Configuring Port Groups
      • Configuring Rule Templates
      • Configuring Vxlan Tunnel
      • Configuring Flows
      • Configuring VLAN
      • Configuring SNMP Trap
    • Statistics
      • Viewing Port Statistics
      • Viewing Flow Statistics
    • Help
  • REST API Guide
    • FLOW
    • Interface Management
    • Port Channel
    • LLDP
    • SNMP
    • System and Platform
    • Statistics
  • Use Cases
    • For Engineers
      • VxLAN Deployment (NVIDIA)
      • GTP Deployment
      • Truncation and Load Balancing
      • Ingress VLAN and Egress Tagging
      • Loopback-mode Port
      • VXLAN Stripping
      • VLAN Mode/Tag Actions
    • Command Reference
      • Converting Network-to-Tool port
      • Configuring 1G Electrical SFP
      • Enabling FlowVision On-box Support
  • Solution Integration
    • Network Visibility and Analysis with OPB, Arkime, Elasticsearch & Kibana
      • Installation Pre-Requisites
      • Solution Components
      • Configuring OPBNOS
      • Installing Arkime
      • Installing Kibana
      • Troubleshooting
  • Support
    • How to contact Aviz Networks Support?
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. CLI Configuration Guide

Display Interface Information

Port counters provide visibility into the traffic flowing on the device. OPBNOS provides commands to get counters by using the following commands

pbnoscli# show interface counters 
========================================================================================================================================================================================
Port                           InOctets       InUcastPackets       InMcastPackets       InBcastPackets            OutOctets      OutUcastPackets      OutMcastPackets      OutBcastPackets
========================================================================================================================================================================================
Ethernet1/1                       69386                    0                  259                    0                72046                  100                  283                    0
Ethernet2/1                       55424                    0                  202                    0                64313                  200                  220                    0
Ethernet3/1                           0                    0                    0                    0                    0                    0                    0                    0
<..>
Ethernet64/1                     978170                    0                 1615                 2466              1376464                    0                 5798                    0
pbnoscli# 
pbnoscli# show queue counters Ethernet64/1
        PORT    TxQ    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
------------  -----  --------------  ---------------  -----------  ------------
Ethernet64/1    UC0          200004         14800904            0           N/A
Ethernet64/1    UC1               0                0            0           N/A
Ethernet64/1    UC2               0                0            0           N/A
Ethernet64/1    UC3               0                0            0           N/A
Ethernet64/1    UC4               0                0            0           N/A
Ethernet64/1    UC5               0                0            0           N/A
Ethernet64/1    UC6               0                0            0           N/A
Ethernet64/1    UC7            1373           352035            0           N/A
Ethernet64/1    MC8             N/A              N/A          N/A           N/A
Ethernet64/1    MC9             N/A              N/A          N/A           N/A
Ethernet64/1   MC10             N/A              N/A          N/A           N/A
Ethernet64/1   MC11             N/A              N/A          N/A           N/A
Ethernet64/1   MC12             N/A              N/A          N/A           N/A
Ethernet64/1   MC13             N/A              N/A          N/A           N/A
Ethernet64/1   MC14             N/A              N/A          N/A           N/A
Ethernet64/1   MC15             N/A              N/A          N/A           N/A
pbnoscli#  
pbnoscli# show interface counters detailed Ethernet1/1
Packets Received 64 Octets..................... 0
Packets Received 65-127 Octets................. 0
Packets Received 128-255 Octets................ 1,220
Packets Received 256-511 Octets................ 0
Packets Received 512-1023 Octets............... 0
Packets Received 1024-1518 Octets.............. 0
Packets Received 1519-2047 Octets.............. 0
Packets Received 2048-4095 Octets.............. 0
Packets Received 4096-9216 Octets.............. 0
Packets Received 9217-16383 Octets............. N/A
Total Packets Received Without Errors.......... 1,220
Unicast Packets Received....................... 0
Multicast Packets Received..................... 1,220
Broadcast Packets Received..................... 0
Jabbers Received............................... 0
Fragments Received............................. 0
Undersize Received............................. 0
Overruns Received.............................. N/A
Packets Transmitted 64 Octets.................. 1
Packets Transmitted 65-127 Octets.............. 77
Packets Transmitted 128-255 Octets............. 1,222
Packets Transmitted 256-511 Octets............. 3,777,694,387
Packets Transmitted 512-1023 Octets............ 0
Packets Transmitted 1024-1518 Octets........... 0
Packets Transmitted 1519-2047 Octets........... 0
Packets Transmitted 2048-4095 Octets........... 0
Packets Transmitted 4096-9216 Octets........... 0
Packets Transmitted 9217-16383 Octets.......... N/A
Total Packets Transmitted Successfully......... 3,777,695,687
Unicast Packets Transmitted.................... 3,777,694,387
Multicast Packets Transmitted.................. 1,300
Broadcast Packets Transmitted.................. 0
Time Since Counters Last Cleared............... None
pbnoscli#
pbnoscli# show interface counters rate 
      IFACE    STATE    RX_OK     RX_BPS    RX_UTIL    RX_ERR    RX_DRP    RX_OVR    TX_OK    TX_BPS    TX_UTIL    TX_ERR    TX_DRP    TX_OVR
-----------  -------  -------  ---------  ---------  --------  --------  --------  -------  --------  ---------  --------  --------  --------
Ethernet1/1        D       21   0.00 B/s      0.00%         0         0         0       27  0.00 B/s      0.00%         0         0         0
Ethernet2/1        D       21   0.00 B/s      0.00%         0         0         0       27  0.00 B/s      0.00%         0         0         0
Ethernet3/1        D       21   0.00 B/s      0.00%         0         0         0       28  0.00 B/s      0.00%         0         0         0
Ethernet4/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet5/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet6/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet7/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet8/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet9/1        D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet10/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet11/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet12/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet13/1       U      101  20.97 B/s      0.00%         0         0         0      107  0.15 B/s      0.00%         0         0         0
Ethernet14/1       U      101  25.57 B/s      0.00%         0         0         0      107  0.15 B/s      0.00%         0         0         0
Ethernet15/1       U      102  25.57 B/s      0.00%         0         0         0      108  0.15 B/s      0.00%         0         0         0
<...>
Ethernet62/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet63/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
Ethernet64/1       D        0   0.00 B/s      0.00%         0         0         0        0  0.00 B/s      0.00%         0         0         0
pbnoscli# 
pbnoscli# show interface counters discard-details
========================================================================================================================================================================================
Port                       InDiscards             InErrors     InDroppedPackets        InPauseFrames          OutDiscards            OutErrors    OutDroppedPackets       OutPauseFrames
========================================================================================================================================================================================
Ethernet1/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet2/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet3/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet4/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet5/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet6/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet7/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet8/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet9/1                         0                    0                    0                    0                    0                    0                    0                    0
Ethernet10/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet11/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet12/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet13/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet14/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet15/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet16/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet17/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet18/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet19/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet20/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet21/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet22/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet23/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet24/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet25/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet26/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet27/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet28/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet29/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet30/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet31/1                        0                    0                    0                    0                    0                    0                    0                    0
Ethernet32/1                        0                    0                    0                    0                    0                    0                    0                    0

Clear Counters

To clear the interface counters, use the following command:

pbnoscli# clear counters
PreviousConfiguring sFlowNextFront Panel Port Mapping

Was this helpful?