[j-nsp] output queue: how to display #packets in queue like Cisco "show interfaces"

Dusan Avbreht d.avbreht at gmail.com
Wed Jul 4 08:56:56 EDT 2007


Hi,

show interface ge-0/0/0 extensive

xy at M320xx> show interfaces ge-0/0/0 extensive
Physical interface: ge-0/0/0, Enabled, Physical link is Up
  Interface index: 128, SNMP ifIndex: 32, Generation: 129
  Description: xxxxx
  Link-level type: Ethernet, MTU: 1518, Speed: 10Gbps, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  Wavelength     :    0.00 nm, Frequency:   0.00 THz
  CoS queues     : 8 supported, 8 maximum usable queues
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: 00:14:f6:a0:d0:00, Hardware address: 00:14:f6:a0:d0:00
  Last flapped   : Never
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :          37003375725                13664 bps
   Output bytes  :         121432016581                46400 bps
   Input  packets:            171706564                   15 pps
   Output packets:            329172022                   17 pps
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0,
L3 incompletes: 0, L2 channel errors: 0,
    L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 3, Errors: 0, Drops: 0, Collisions: 0, Aged
packets: 0, FIFO errors: 0, HS link CRC errors: 0,
    MTU errors: 0, Resource errors: 0
  Egress queues: 8 supported, 8 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped
packets
    0 best-effort            307535399
307535399                    0
    1 expedited-fo                   0
0                    0
    2 assured-forw                   0
0                    0
    3 network-cont            21639098
21639098                    0
  Active alarms  : None
  Active defects : None
  MAC statistics:                      Receive         Transmit
    Total octets                   40968033024     121605953337
    Total packets                    171706577        329172025
    Unicast packets                  165692924        321967149
    Broadcast packets                     1643             1706
    Multicast packets                  6012010          7203170
    CRC/Align errors                         0                0
    FIFO errors                              0                0
    MAC control frames                       0                0
    MAC pause frames                         0                0
    Oversized frames                         0
    Jabber frames                            0
    Fragment frames                          0
    VLAN tagged frames               171706577
    Code violations                          0
  Filter statistics:
    Input packet count               171706579
    Input packet rejects                     0
    Input DA rejects                         0
    Input SA rejects                         0
    Output packet count                               329172028
    Output packet pad count                            95092494
    Output packet error count                                 0
    CAM destination filters: 3, CAM source filters: 0
  Packet Forwarding Engine configuration:
    Destination slot: 0
    CoS transmit queue               Bandwidth               Buffer
Priority   Limit
                              %            bps     %           usec
    0 best-effort            95     9500000000    95              0
low    none
    3 network-control         5      500000000     5              0
low    none

  Logical interface ge-0/0/0.10 (Index 67) (SNMP ifIndex 96) (Generation
132)
    Flags: SNMP-Traps VLAN-Tag [ 0x8100.10 ]  Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :          36993715329
     Output bytes  :         121419737736
     Input  packets:            171664964
     Output packets:            329127303
    Local statistics:
     Input  bytes  :           1698949905
     Output bytes  :           2386165272
     Input  packets:             21639048
     Output packets:             22947916
    Transit statistics:
     Input  bytes  :          35294765424                 4624 bps
     Output bytes  :         119033572464                33728 bps
     Input  packets:            150025916                    9 pps
     Output packets:            306179387                   11 pps
    Protocol inet, MTU: 1500, Generation: 128, Route table: 0
      Flags: Is-Primary
      Addresses, Flags: Is-Preferred Is-Primary
        Destination: 89.143.9.0/30, Local: 89.143.9.1, Broadcast: 89.143.9.3,
Generation: 138

  Logical interface ge-0/0/0.32767 (Index 68) (SNMP ifIndex 45) (Generation
133)
    Flags: SNMP-Traps VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps



and if you want to see traffic

monitor interface traffic detail


regards

Dusan


On 7/4/07, ulisses <ulisses.alonso at rediris.es> wrote:
>
> Hi
>
> I want to know the delay of the output queues of the interfaces, I could
> not find any command that supplies this information.
>
> I found "show interfaces queue" command the most descriptive one but
> doesn't
> reflect the instant/actual packets in the queue at a given moment.
>
> Any comment will be greatly appreciated
>
> regards
>
>         Ulisses
> _______________________________
> __    ___________________________________
>                                    /_/
> Network Operation Center     __            __          Email:
> noc at rediris.es
> RedIRIS/Red.es              /_/  RedIRIS  /_/
> Edificio Bronce                   __                   Tel:    + 34
> 912127625
> Pza. Manuel Gómez Moreno, s/n    /_/             Urgencias:    + 34
> 629148201
> E-28020 Madrid                                         Fax:    + 34
> 915568864
>
> _________________ Spanish Academic & Research Network
> _______________________
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>



-- 
Regards
Dušan Avbreht
JNCIS-M/E


More information about the juniper-nsp mailing list