Configuring Rate Statistics
To gather rate statistics:
- Create the statistics profile.
host1(config)#statistics-profile statpro-5
- Set the length of time during which statistics are counted.
host1(config-statistics-profile)#rate-period
45
Rate period range is 1–43200 seconds.
- 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
- 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
- (Optional) Display the rate statistics.
host1#show egress-queue rates interface gigabitEthernet
1/0
Published: 2010-12-20