Configuring a Parameter Definition to Adjust Cell Shaping Rates for ADSL Traffic
You can adjust shaping rates to account for different layer 2 encapsulations as well as the ATM cell pad, header, and trailer on interfaces with cell shaping mode using the qos-byte-adjustment application.
NOTE: When you apply a parameter with the qos-byte-adjustment application to an interface with frame shaping mode, you adjust shaping rates to account for different layer 2 encapsulations only.
To associate a parameter instance with the byte adjustment application:
- Configure the traffic classes.
host1(config)#traffic-class voicehost1(config-traffic-class)#exithost1(config)#traffic-class best-efforthost1(config-traffic-class)#exit- Create a parameter definition.
- Configure the QoS parameter name and the application.
host1(config)#qos-parameter-define byteadjust1 application qos-byte-adjustment- Configure a controlled-interface type.
host1(config-qos-parameter-define)#controlled-interface-type vlanhost1(config-qos-parameter-define)#controlled-interface-type ip- Configure an instance-interface type.
host1(config-qos-parameter-define)#instance-interface-type vlanFrame shaping mode is the default for Ethernet interfaces on all E-series routers. You can only set the cell shaping mode for Gigabit Ethernet and 10-Gigabit Ethernet interfaces configured on the GE-2 line module, the GE-HDE line module, and the ES2 4G LM.
host1(config)#qos-parameter-define cell-mode application qos-cell-modeIn this example, parameter instances are created for both the byte adjustment and QoS cell mode applications.
host1(config)#interface gigabitEthernet 7/0host1(config-if)#encapsulation vlanhost1(config-if)#exithost1(config)#interface gigabitEthernet 7/0.1host1(config-if)#vlan id 1host1(config-if)#qos-parameter byteadjustment -16host1(config-if)#qos-parameter cell-mode 1host1(config-if)#ip address 1.1.1.1 255.255.255.0
- Byte Adjustment for ADSL and VDSL Traffic Overview
- Guidelines for Configuring Byte Adjustment of Cell and Frame Shaping Rates Using QoS Parameters
- Example: QoS Parameter Configuration for QoS Cell Mode and Byte Adjustment for Cell Shaping
- For information about managing packet fragmentation for traffic with frame shaping mode, see Configuring a Parameter Definition to Adjust Frame Shaping Rates for VDSL Traffic
- For more information about configuring shaping modes for Ethernet, see QoS Shaping Mode for Ethernet Interfaces Overview and Cell Shaping Mode Using QoS Parameters Overview
- controlled-interface-type command
- encapsulation vlan command
- instance-interface-type command
- ip address command
- node command
- qos-parameter command
- qos-parameter-define command
- qos-profile command
- queue command
- traffic-class command
- vlan id command