To configure port-shaping:
- host1(config)#scheduler-profile 80mbps
- host1(config-scheduler-profile)#shaping-rate
80000000
- host1(config-scheduler-profile)#exit
- host1(config)#qos-profile 80mbps
- host1(config-qos-profile)#ethernet node scheduler-profile
80mbps
- host1(config-qos-profile)#exit
- host1(config)#interface fastethernet 2/0
- host1(config-if)#qos-profile 80mbps
The sample configuration shapes Fast Ethernet port 2/0 to a rate no higher than 80 Mbps.
Using the following configuration, you can shape the corresponding HDLC channel down to 20 Mbps:
- host1(config)#scheduler-profile 20mbps
- host1(config-scheduler-profile)#shaping-rate
20000000
- host1(config-scheduler-profile)#exit
- host1(config)#qos-profile 20mbps
- host1(config-qos-profile)#serial node scheduler-profile
20mbps
- host1(config-qos-profile)#exit
- host1(config)#interface serial 2/0:1/1
- host1(config-if)#qos-profile 20mbps