Monitoring Forwarding and Drop Rates on the Egress Queue
Purpose
Display information about forwarding and drop rates on the egress queue. The show egress-queue rates command is useful even if no statistics profiles are configured. You can view information about all of the queues even if statistics gathering has not been enabled.
The minimum rate for the queue is the minimum rate at which a node or queue can transmit when all other nodes and queues compete for bandwidth. The system determines the minimum rates by the weight and assured rate configured in a scheduler profile, and are subject to shaping rate and shared-shaping rate configured.
The maximum rate is the maximum rate at which a node or queue can transmit when there are no other nodes or queues competing for bandwidth. The system calculates the maximum rate as the minimum of all shaping rates, shared-shaping rates, and the port rate from the node or queue down to the port.
For example, if a scheduler column configured over a Fast Ethernet port consists of a VLAN queue that has been shaped to 5 Mbps over a VLAN node that has been shaped to 8 Mbps, over an S-VLAN node which is not shaped, then:
- The VLAN queue that is shared-shaped to 5 Mbps has a maximum rate of 5 Mbps.
- The VLAN node that is shaped to 8 Mbps has a maximum rate of 8 Mbps.
- The S-VLAN node which is not shaped has a maximum rate of 100 Mbps.
- The Fast Ethernet port with a bandwidth of 100 Mbps has a maximum rate of 100 Mbps.
Action
To display rate statistics only for queues that have queue rate statistics enabled:
host1#show egress-queue rates brief interface fastEthernet 9/0.2traffic forwarded aggregate minimum maximuminterface class rate drop rate rate rate---------------------- ----------------------- --------- --------- ------- -------ip FastEthernet9/0.2 best-effort 0 0 25000 1000000videoTrafficClass 0 0 375000 1000000multicastTrafficClass 0 0 925000 1000000internetTrafficClass 0 0 50000 1000000Total: 0 0Queues reported: 4Queues filtered (under threshold): 0Queues disabled (no rate period): 0Queues disabled (no resources): 0Total queues: 4To display rate statistics by color rather than as an aggregate of all colors:
host1#show egress-queue rates color interface gigabitEthernet 1/0traffic forwarded committed conformed exceededinterface class rate drop rate drop rate drop rate---------------------- ------- ------------ ------------ ------------ ------------ip GigabitEthernet1/0 tc1 14645184 0 0 0tc2 11950400 2706400 0 0tc3 9960792 0 4707200 0tc4 7967200 0 0 6705600Queues reported: 4Queues filtered (under threshold): 0Queues disabled (no rate period): 1Queues disabled (no resources): 0Total queues: 5To display rate statistics all of the configured queues, along with the minimum and maximum rates for the queues, even when statistics gathering has not been enabled:
host1#show egress-queue rates full interface atm 11/0traffic forwarded aggregate minimum maximuminterface class rate drop rate rate rate--------------- ------------- --------- --------- -------- --------ip ATM11/0.1 best-effort * * 24979 30000000tc1 0 0 14987510 30000000tc2 0 0 9991673 30000000tc3 0 0 4995836 30000000ip ATM11/0.2 best-effort * * 19980 20000000tc1 0 0 11988011 20000000tc2 0 0 7992007 20000000Queues reported: 5Queues filtered (under threshold): 0* Queues disabled (no rate period): 2**Queues disabled (no resources): 0Total queues: 7To display rate statistics based on an S-VLAN:
host1#show egress-queue rates interface gigabitEthernet 11/0 svlan 0traffic forwarded aggregate minimuminterface class rate drop rate rate--------------------------------- ----------- --------- --------- ---------svlan GigabitEthernet 11/0 svlan 0 tc1 0 0 166666666vlan GigabitEthernet 11/0.1 tc1 0 0 166666666ip GigabitEthernet 11/0.1 best-effort 0 0 0vlan GigabitEthernet 11/0.2 tc2 0 0 0ip GigabitEthernet 11/0.2 best-effort 0 0 0maximuminterface rate--------------------------------- ----------svlan GigabitEthernet 11/0 svlan 0 1000000000vlan GigabitEthernet 11/0.1 1000000000ip GigabitEthernet 11/0.1 1000000000vlan GigabitEthernet 11/0.2 1000000000ip GigabitEthernet 11/0.2 1000000000Queues reported: 5Queues filtered (under threshold): 0* Queues disabled (no rate period): 0**Queues disabled (no resources): 0Total queues: 5To display rate statistics for the previous or current rate period:
host1#show egress-queue rates previous interface gigabitEthernet 11/0 svlan 0host1#show egress-queue rates current interface gigabitEthernet 11/0 svlan 0To display rate statistics for an L2TP session:
host1#show egress-queue rates l2tp session session1To display rate statistics for a tunnel interface, specify the interface at the root of the scheduler hierarchy located on the tunnel-service interface or at the same hierarchy for LNS GRE tunnel traffic:
host1#show egress-queue rates tunnel-server 6/0To display rate statistics for queues bound to the specified interface:
host1#show egress-queue rates interface gigabitEthernet 11/0 svlan 0 explicitTo display the sum of all rates of queues bound to interfaces that are stacked above the specified interface.
host1#show egress-queue rates interface gigabitEthernet 11/0 svlan 0 summaryTo display rate statistics for queues belonging to a specific traffic class:
host1#show egress-queue rates interface gigabitEthernet 11/0 svlan 0 traffic-class voiceTo filter output based on the number of queues with rates that exceed the specified value.
host1#show egress-queue rates gigabitEthernet 1/0 rate-exceeding committedhost1#show egress-queue rates gigabitEthernet 1/0 rate-exceeding conformedhost1#show egress-queue rates gigabitEthernet 1/0 rate-exceeding exceededhost1#show egress-queue rates gigabitEthernet 1/0 rate-exceeding forwardedMeaning
Table 44 lists the show egress-queue rates command output fields.
- Configuring Rate Statistics
- For more information about the assured rate, see Configuring an Assured Rate for a Scheduler Node or Queue
- show egress-queue rates command