24-4
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter24 Configuring Rate Limiting and Traffic Shaping
Displaying the Configurations
Example
The following is an example of how to configure rate limiting on your switch router:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z
Router(config)# interface f0/0/0
Router(config-if)# traffic-shape rate 1000000 20000
Router(config-if)# exit
Displaying the Configurations
To display the rate limiting and traffic shaping configurations, enter the following commands in
Privileged EXEC mode:
Example
The following is an example of how to display the port configuration on y our switch router:
Router# show epc port-qos
Interface Type Input/ Target-Rate Burst-Size
Output (bits/sec) (bytes)
---------------------------------------------------------------------
FastEthernet0/0/0 Rate-Limit Input 1000000 20000
Rate-Limit Output 100000 30000
Example
The following is an example of how to display the QoS configuration on you r switch router:
Router# show epc port-qos
Interface Type Input/ Target-Rate Burst-Size
Output (bits/sec) (bytes)
---------------------------------------------------------------------
FastEthernet9/0/3 Rate-Limit Input 10000000 64000
Rate-Limit Output 10000000 64000
Example
The following is an example of how to display the port QoS input parameters for an interface:
Router# show epc port-qos interface f9/0/3 in
Input Port QoS Parameters:
Current number of tokens (tokens): 65352
Configured burst size (burstsize): 65352
Token update interval (ticks) (time1): 7789
Tokens added per interval (tokens_in_time1): 1556
Time to fill bucket (ticks) (time_to_fill_burst): 327138
Command Purpose
show epc port-qos Displays the port configurations.
show epc port qos interface Displays the QoS configuration.
show epc port-qos interface
card/subcard/port out
Displays the output for port QoS parameters for a particular
interface.