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:

  1. Configure the traffic classes.
    host1(config)#traffic-class voice host1(config-traffic-class)#exit host1(config)#traffic-class best-effort host1(config-traffic-class)#exit
  2. Create a parameter definition.
    1. Configure the QoS parameter name and the application.
      host1(config)#qos-parameter-define byteadjust1 application qos-byte-adjustment
    2. Configure a controlled-interface type.
      host1(config-qos-parameter-define)#controlled-interface-type vlan host1(config-qos-parameter-define)#controlled-interface-type ip
    3. Configure an instance-interface type.
      host1(config-qos-parameter-define)#instance-interface-type vlan
  3. Do one of the following:
    • Configure the shaping mode by issuing the qos-shaping-mode command.

      Frame 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.

    • Configure the shaping mode by specifying the QoS cell mode application with a parameter definition.
      host1(config)#qos-parameter-define cell-mode application qos-cell-mode
  4. Attach the parameter definition to a logical Ethernet interface.

    In this example, parameter instances are created for both the byte adjustment and QoS cell mode applications.

    host1(config)#interface gigabitEthernet 7/0 host1(config-if)#encapsulation vlan host1(config-if)#exit host1(config)#interface gigabitEthernet 7/0.1 host1(config-if)#vlan id 1 host1(config-if)#qos-parameter byteadjustment -16 host1(config-if)#qos-parameter cell-mode 1 host1(config-if)#ip address

Related Documentation