Junos
Highlighted
Junos

How to check the transmit rate (bps) of each queue on an interface on EX4500 and EX3300?

[ Edited ]
‎06-16-2015 02:15 AM

Hi there,

 

I'm currently doing a small project which requires me to get the transmit rate (bps) of each queue on an interface on EX4500 and EX3300. At this stage, I haven't configured any custom QoS policy yet. Just doing test with the default policy. My junos version is 12.3R4.6

 

I tried the command "show interfaces queue ge-0/0/0", which gives me the following output:

Physical interface: ge-0/0/0, Enabled, Physical link is Up
  Interface index: 130, SNMP ifIndex: 599
Forwarding classes: 16 supported, 4 in use
Egress queues: 8 supported, 4 in use
Queue: 0, Forwarding classes: best-effort
  Queued:
  Transmitted:
    Packets              :                535208
    Bytes                :             366057713
    Tail-dropped packets :                     0
Queue: 1, Forwarding classes: assured-forwarding
  Queued:
  Transmitted:
    Packets              :                     0
    Bytes                :                     0
    Tail-dropped packets :                     0
Queue: 5, Forwarding classes: expedited-forwarding
  Queued:
  Transmitted:
    Packets              :                     0
    Bytes                :                     0
    Tail-dropped packets :                     0
Queue: 7, Forwarding classes: network-control
  Queued:
  Transmitted:
    Packets              :               1228594
    Bytes                :             103719598
    Tail-dropped packets :                     0

 

I also tried "show interfaces detail ge-0/0/0", but no luck.

I assume these figures presented are the totoal amount of bytes being transmitted since the last reload. So is there a way to get the transmit rate bps information?

 

Thanks in advance.

 

4 REPLIES 4
Highlighted
Junos

Re: How to check the transmit rate (bps) of each queue on an interface on EX4500 and EX3300?

‎06-16-2015 02:19 AM

Hello ,

 

Try using :

 

> show interfaces queue


Thanks,
Sam

Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too .....
Highlighted
Junos

Re: How to check the transmit rate (bps) of each queue on an interface on EX4500 and EX3300?

[ Edited ]
‎06-16-2015 02:26 AM

@joses wrote:

Hello ,

 

Try using :

 

> show interfaces queue


Hi Sam,

 

Thanks for you reply.

Just tested on my switch. Unfortunately, the command does not show the bps either.

Can you get the bps information using this command? If so, which JUNOS version are you running?

Highlighted
Junos

Re: How to check the transmit rate (bps) of each queue on an interface on EX4500 and EX3300?

‎06-16-2015 03:32 AM

Hello ,

 

You are correct , we cannot get the BPS information from specific  queues , we just get overall information on traffic traversing perticular interface . Tested in latest release also . 


Thanks,
Sam

Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too .....
Highlighted
Junos

Re: How to check the transmit rate (bps) of each queue on an interface on EX4500 and EX3300?

‎06-25-2015 01:19 AM

This looks like a limitation on EX as I can see the output on SRX series, I would recommend you opening a JTAC Ticket to confirm the behavior or contact the sales team to open an enhancement request if its a limitation for now.

 

Output from SRX showing pps/bps

root# run show interfaces queue ge-0/0/0  
Physical interface: ge-0/0/0, Enabled, Physical link is Up
  Interface index: 134, SNMP ifIndex: 508
Forwarding classes: 8 supported, 4 in use
Egress queues: 8 supported, 4 in use
Queue: 0, Forwarding classes: best-effort
  Queued:
    Packets              :                  2003                     0 pps
    Bytes                :                 84938                     0 bps
  Transmitted:
    Packets              :                  2003                      0 pps
    Bytes                :                 84938                     0 bps
    Tail-dropped packets :                     0                     0 pps
    RED-dropped packets  :                     0                     0 pps
     Low                 :                     0                     0 pps
     Medium-low          :                     0                     0 pps
     Medium-high         :                     0                     0 pps
     High                :                     0                     0 pps
    RED-dropped bytes    :                     0                     0 bps

Thanks,
Suraj
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too
Feedback