Nortel Networks 5530 Manual Do Utilizador

Página de 72
Filters and QoS Configuration for ERS 5500 
Technical Configuration Guide   
   
  
v2.0 
              
 
 
 NN48500-559   
 
 
___________________________________________________________________________________________________________________________ 
Nortel Confidential Information   Copyright © 2008 Nortel Networks. All Rights Reserved. 
 
 
 
 
 
 
External Distribution
 
 
 
 
                              23
 
 
For the 10 GigE module only, available for the Ethernet Routing Switch 5530, it supports 
bucket sizes of 4K, 8K, 16K, 32K, 64K, 128K, 256K, 512K, 1024K, 2048K, 4096K, and 
8192K. 
 
If you do not specify maximum burst duration when setting up a shaper, the maximum 
bucket size will be automatically set. For all 10/100 Mbps and 1 GigE ports, the maximum 
bucket size is 512K. Also, it does not matter what value you enter for the maximum burst 
rate as long as it is larger than the committed rate.  
Example 
Let’s assume you wish to set the committed rate to 40M and set the bucket size to 4K for port 8. 
To accomplish this, please use the following commands: 
1.  Calculate the duration, expressed in milliseconds.  
Using the actual bucket size from table 7 and a maximum burst rate of 50M 
 
Duration = ((bucketSize*8) / (max-burst-rate – committed-rate)) 
 
Duration = ((4,096 * 8) / (50,000,000 – 40,000,000)) 
 
Duration = 3.2768 ms 
 
Rounded down, the duration value is 3 ms 
2.  Next, enter the following commands on the Ethernet Switch 5500. Enter an in profile action id 
of 3 for an in profile action of Bronze. Enter an out of profile action of 1 for an out of profile 
action of drop traffic.  
 5530-24TFD(config)#interface fastEthernet all 
 5530-24TFD(config-if)#
 
qos if-shaper port 8 shape-rate 40000 max-burst-rate 50000 
max-burst-duration 3 
3.  Use the following command to view the shaper just configured.  
 5530-24TFD(config)# 
show qos if-shaper port 8 
Unit Port IfIndex       Name         Rate    Burst 
                                             Size 
                                    (Kbps)  (Bytes) 
____ ____ _______ ________________ ________ ________ 
1    8    8                        40000    4096