Configuring Rate Statistics

To gather rate statistics:

  1. Create the statistics profile.
    host1(config)#statistics-profile statpro-5
  2. Set the length of time during which statistics are counted.
    host1(config-statistics-profile)#rate-period 45
    Rate period range is 1–43200 seconds.
  3. Reference the statistics profile by a QoS profile.
    host1(config)#qos-profile qospro-3 host1(config-qos-profile)#ip queue traffic-class tc1 scheduler-profile sp1 statistics-profile statpro-5
  4. Attach the QoS profile to the appropriate interface.
    host1(config)#interface gigabitEthernet 1/0 host1(config-subif)#qos-profile qospro-3 host1(config-subif)#exit
  5. (Optional) Display the rate statistics.
    host1#show egress-queue rates interface gigabitEthernet 1/0

Related Documentation