show interfaces queue
Syntax
show interfaces queue<both-ingress-egress><egress><forwarding-classforwarding-class><ingress><interface-nameinterface-name>Release Information
Command introduced before JUNOS Release 7.4.
both-ingress-egress,egress, andingressoptions introduced in JUNOS Release 7.6.Description
Display class-of-service (CoS) queue information for physical interfaces.
Options
none—Show detailed CoS queue statistics for all physical interfaces.
both-ingress-egress—(Optional) On Gigabit Ethernet Intelligent Queuing 2 (IQ2) PICs, display both ingress and egress queue statistics.
egress—(Optional) Display egress queue statistics.
forwarding-classforwarding-class—(Optional) Forwarding class name for this queue. Shows detailed CoS statistics for the queue associated with the specified forwarding class.
ingress—(Optional) On Gigabit Ethernet IQ2 PICs, display ingress queue statistics.
interface-nameinterface-name—(Optional) Show detailed CoS queue statistics for the specified interface.Additional Information
On the M-series routing platform (except for the M320 router), this command is valid only for a PIC installed on an enhanced Flexible PIC Concentrator (FPC).
Queue statistics for aggregated interfaces are supported on the M-series and T-series routing platforms only. Statistics for an aggregated interface are the summation of the queue statistics of the child links of that aggregated interface. You can view the statistics for a child interface by using the
show interface statisticscommand for that child interface.When you configure tricolor marking on a 10-port 1-Gigabit Ethernet PIC, for queues 6 and 7 only, the output does not display the number of queued bytes and packets, or the number of bytes and packets dropped because of RED. If you do not configure tricolor marking on the interface, these statistics are available for all queues.
For Gigabit Ethernet IQ2 PICs, the
show interfaces queuecommand output does not display the number of queued packets and bytes.When fragmentation occurs on the egress interface, the first set of packet counters shows the postfragmentation values. The second set of packet counters (under the
Packet Forwarding Engine Chassis Queuesfield) shows the prefragmentation values.For information about how to configure CoS, see the JUNOS Network Interfaces Configuration Guide. For related CoS operational mode commands, see the JUNOS System Basics and Services Command Reference.
Required Privilege Level
List of Sample Output
show interfaces queue (Aggregated Ethernet on a T320 Router)show interfaces queue (Fast Ethernet on a J4300 Router)show interfaces queue (Gigabit Ethernet on a T640 Router)show interfaces queue both-ingress-egress (Gigabit Ethernet IQ2)show interfaces queue ingress (Gigabit Ethernet IQ2)show interfaces queue egress (Gigabit Ethernet IQ2)Output Fields
Table 17 lists the output fields for the
show interfaces queuecommand. Output fields are listed in the approximate order in which they appear.
State of the interface. Possible values are described in Enabled Field.
Physical interface's index number, which reflects its initialization sequence.
Total number of forwarding classes supported on the specified interface.
Total number of forwarding classes in use on the specified interface.
On Gigabit Ethernet IQ2 PICs only, total number of ingress queues supported on the specified interface.
On Gigabit Ethernet IQ2 PICs only, total number of ingress queues in use on the specified interface.
Total number of egress queues supported on the specified interface.
Total number of egress queues in use on the specified interface.
(Logical interfaces on IQ PICs only) Maximum number of bytes up to which the logical interface can burst. The burst size is based on the shaping rate applied to the interface.
Number of bytes queued to this queue. The byte counts vary by PIC type. For more information, see Table 18.
Number of packets transmitted by this queue. When fragmentation occurs on the egress interface, the first set of packet counters shows the postfragmentation values. The second set of packet counters (displayed under the
Packet Forwarding Engine Chassis Queuesfield) shows the prefragmentation values.Number of bytes transmitted by this queue. The byte counts vary by PIC type. For more information, see Table 18.
Number of packets dropped because of random early detection (RED).
- (M-series and T-series routing platforms only) On M320 routers and the T-series routing platform, the total number of dropped packets is displayed. On all other M-series routers, the output classifies dropped packets into the following categories:
Low, non-TCP—Number of low-loss priority non-TCP packets dropped because of RED.Low, TCP—Number of low-loss priority TCP packets dropped because of RED.High, non-TCP—Number of high-loss priority non-TCP packets dropped because of RED.High, TCP—Number of high-loss priority TCP packets dropped because of RED.Number of bytes dropped because of RED. The byte counts vary by PIC type. For more information, see Table 18.
- (M-series and T-series routing platforms only) On M320 routers and the T-series routing platform, only the total number of dropped bytes is displayed. On all other M-series routers, the output classifies dropped bytes into the following categories:
Low, non-TCP—Number of low-loss priority non-TCP bytes dropped because of RED.Low, TCP—Number of low-loss priority TCP bytes dropped because of RED.High, non-TCP—Number of high-loss priority non-TCP bytes dropped because of RED.High, TCP—Number of high-loss priority TCP bytes dropped because of RED.
show interfaces queue (Aggregated Ethernet on a T320 Router)
The following example shows that the aggregated Ethernet interface,
ae1, has traffic on queuesaf1andaf12:user@host>show interfaces queue ae1Physical interface: ae1, Enabled, Physical link is UpInterface index: 158, SNMP ifIndex: 33 Forwarding classes: 8 supported, 8 in useOutput queues: 8 supported, 8 in useQueue: 0, Forwarding classes: beQueued:Packets : 5 0 ppsBytes : 242 0 bpsTransmitted:Packets : 5 0 ppsBytes : 242 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: af1Queued:Packets : 42603765 595484 ppsBytes : 5453281920 609776496 bpsTransmitted:Packets : 42603765 595484 ppsBytes : 5453281920 609776496 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: ef1Queued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: ncQueued:Packets : 45 0 ppsBytes : 3930 0 bpsTransmitted:Packets : 45 0 ppsBytes : 3930 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 4, Forwarding classes: af11Queued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 5, Forwarding classes: ef11Queued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 6, Forwarding classes: af12Queued:Packets : 31296413 437436 ppsBytes : 4005940864 447935200 bpsTransmitted:Packets : 31296413 437436 ppsBytes : 4005940864 447935200 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 7, Forwarding classes: nc2Queued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsshow interfaces queue (Fast Ethernet on a J4300 Router)
user@host>show interfaces queue fe-4/0/0.0Logical interface fe-4/0/0.0 (Index 71) (SNMP ifIndex 42)Forwarding classes: 8 supported, 8 in useOutput queues: 8 supported, 8 in useQueue: 0, Forwarding classes: beQueued:Packets : 5240762 3404 ppsBytes : 3020710354 15934544 bpsTransmitted:Packets : 5240762 3404 ppsBytes : 3020710354 15934544 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsLow : 0 0 ppsMedium-low : 0 0 ppsMedium-high : 0 0 ppsHigh : 0 0 ppsRED-dropped bytes : 0 0 bpsLow : 0 0 ppsMedium-low : 0 0 ppsMedium-high : 0 0 ppsHigh : 0 0 ppsQueue: 1, Forwarding classes: af1Queued:Packets : 2480391 1650 ppsBytes : 1304685666 6945704 bpsTransmitted:Packets : 2478740 1650 ppsBytes : 1303817240 6945704 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 1651 0 ppsLow : 0 0 ppsMedium-low : 0 0 ppsMedium-high : 0 0 ppsHigh : 1651 0 ppsRED-dropped bytes : 868426 0 bpsLow : 0 0 ppsMedium-low : 0 0 ppsMedium-high : 0 0 ppsHigh : 868426 0 ppsshow interfaces queue (Gigabit Ethernet on a T640 Router)
user@host>show interfaces queuePhysical interface: ge-7/0/1, Enabled, Physical link is UpInterface index: 150, SNMP ifIndex: 42Forwarding classes: 8 supported, 8 in useOutput queues: 8 supported, 8 in useQueue: 0, Forwarding classes: beQueued:Packets : 13 0 ppsBytes : 622 0 bpsTransmitted:Packets : 13 0 ppsBytes : 622 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: af1Queued:Packets : 1725947945 372178 ppsBytes : 220921336960 381110432 bpsTransmitted:Packets : 1725947945 372178 ppsBytes : 220921336960 381110432 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: ef1Queued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: ncQueued:Packets : 571 0 ppsBytes : 49318 336 bpsTransmitted:Packets : 571 0 ppsBytes : 49318 336 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsshow interfaces queue both-ingress-egress (Gigabit Ethernet IQ2)
user@host>show interfaces queue ge-6/2/0 both-ingress-egressPhysical interface: ge-6/2/0, Enabled, Physical link is UpInterface index: 175, SNMP ifIndex: 121Forwarding classes: 8 supported, 4 in useIngress queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 254 0 ppsBytes : 16274 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsForwarding classes: 8 supported, 4 in useEgress queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 3 0 ppsBytes : 126 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsPacket Forwarding Engine Chassis Queues:Queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 80564692 0 ppsBytes : 3383717100 0 bpsTransmitted:Packets : 80564692 0 ppsBytes : 3383717100 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 80564685 0 ppsBytes : 3383716770 0 bpsTransmitted:Packets : 80564685 0 ppsBytes : 3383716770 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 9397 0 ppsBytes : 3809052 232 bpsTransmitted:Packets : 9397 0 ppsBytes : 3809052 232 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsshow interfaces queue ingress (Gigabit Ethernet IQ2)
user@host>show interfaces queue ge-6/2/0 ingressPhysical interface: ge-6/2/0, Enabled, Physical link is UpInterface index: 175, SNMP ifIndex: 121Forwarding classes: 8 supported, 4 in useIngress queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 288 0 ppsBytes : 18450 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsshow interfaces queue egress (Gigabit Ethernet IQ2)
user@host>show interfaces queue ge-6/2/0 egressPhysical interface: ge-6/2/0, Enabled, Physical link is UpInterface index: 175, SNMP ifIndex: 121Forwarding classes: 8 supported, 4 in useEgress queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 3 0 ppsBytes : 126 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsPacket Forwarding Engine Chassis Queues:Queues: 4 supported, 4 in useQueue: 0, Forwarding classes: best-effortQueued:Packets : 80564692 0 ppsBytes : 3383717100 0 bpsTransmitted:Packets : 80564692 0 ppsBytes : 3383717100 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 1, Forwarding classes: expedited-forwardingQueued:Packets : 80564685 0 ppsBytes : 3383716770 0 bpsTransmitted:Packets : 80564685 0 ppsBytes : 3383716770 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 2, Forwarding classes: assured-forwardingQueued:Packets : 0 0 ppsBytes : 0 0 bpsTransmitted:Packets : 0 0 ppsBytes : 0 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueue: 3, Forwarding classes: network-controlQueued:Packets : 9538 0 ppsBytes : 3819840 0 bpsTransmitted:Packets : 9538 0 ppsBytes : 3819840 0 bpsTail-dropped packets : 0 0 ppsRED-dropped packets : 0 0 ppsRED-dropped bytes : 0 0 bpsQueued and Transmitted Byte Counts by PIC Type
For the
show interfaces queuecommand output, the byte counts vary by PIC type. Table 18 shows how the byte counts on the outbound interfaces vary depending on the PIC type. Table 18 is based on the assumption that outbound interfaces are sending IP traffic with 478 bytes per packet.