Configuring Rate Shaping on a LAG Port

This feature is supported on individual ports of a LAG group.
To configure the maximum rate at which outbound traffic is sent out on a LAG port, configure the following on each LAG port where outbound traffic is shaped.
  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enter LAG configuration sub-mode for an existing LAG. In this example, the LAG is static LAG lag1.
    device(config)# lag lag1 
    
  3. Configure the maximum rate at which outbound traffic is sent out on the LAG port.
    device(config-lag-lag1)# rate-limit output shaping ethe 1/1/5 651
    Outbound Rate Shaping on Port 1/1/5 Config: 651 Kbps, Actual: 656 Kbps
    device(config-lag-lag1)# exit
    
    Be sure to use the abbreviated form of Ethernet - ethe.
  4. Verify the configuration.
    device(config)# show rate-limit output-shaping
    Outbound Rate Shaping Limits in kbps:
        Port    PortMax    Prio0    Prio1    Prio2    Prio3    Prio4    Prio5    Prio6    Prio7
       1/1/5        656        -        -        -        -        -        -        -        -
    

Outbound Rate Shaping on a LAG Port Configuration Example

device# configure terminal
device(config)# lag lag1 
device(config-lag-lag1)# rate-limit output shaping ethe 1/1/5 651
device(config-lag-lag1)# exit
device(config)# show rate-limit output-shaping