[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


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.
  2. host1(config)#traffic-class voice
    
    host1(config-traffic-class)#exit
    
    host1(config)#traffic-class best-effort
    
    host1(config-traffic-class)#exit
    
    
    
  3. Create a parameter definition.
  1. Configure the QoS parameter name and the application.
  2. host1(config)#qos-parameter-define byteadjust1 application 
    qos-byte-adjustment 
    
    
    
  3. Configure a controlled-interface type.
  4. host1(config-qos-parameter-define)#controlled-interface-type vlan
    
    host1(config-qos-parameter-define)#controlled-interface-type ip
    
    
    
  5. Configure an instance-interface type.
  6. host1(config-qos-parameter-define)#instance-interface-type vlan
    
    
    
  1. Do one of the following:

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.

  1. 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 1.1.1.1 255.255.255.0

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]