Viewing Queue Parameters

Problem

You want to see how queuing is configured on an interface.

Solution

Cisco provides several useful commands for looking at an interface’s queuing configuration and performance. The first of these is the show queue command:

Router#show queue FastEthernet0/0
  Input queue: 0/75/105/0 (size/max/drops/flushes); Total output drops: 0
  Queuing strategy: weighted fair
  Output queue: 0/1000/96/0 (size/max total/threshold/drops) 
     Conversations  0/1/128 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     Available Bandwidth 75000 kilobits/sec


Router#

Use the show queuing command to look the router’s queuing configuration in general:

Router#show queuing
Current fair queue configuration:

  Interface           Discard    Dynamic  Reserved  Link    Priority
                      threshold  queues   queues    queues  queues
  FastEthernet0/0     96         128      258       8       1    
  Serial0/0           64         256      37        8       1    
  Serial0/1           96         128      256       8       1    

Current DLCI priority queue configuration:
Current priority queue configuration:

List   Queue  Args
1      high   protocol ip          tcp port 198
1      high   protocol pppoe-sessi
2      high   protocol ip          udp port 199
3      low    default
3      high   protocol ip          list 101
Current custom queue configuration:
Current random-detect configuration:
Router#

Discussion

The show queue and show queuing commands augment the show interface output, which also shows important queuing information:

Router#show interface FastEthernet0/0 FastEthernet0/0 is up, line protocol is up Hardware is AmdFE, address is 0001.9670.b780 (bia 0001.9670.b780) MTU 1500 ...

Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.