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#  

Clear Counters

To clear the interface counters, use the following command:

Last updated