# Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell Mode

To associate a parameter instance with the QoS cell mode application:

1. Configure 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 shaping-mode application qos-cell-mode
   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. Create the parameter instance and configure the shaping mode.

   When you create the parameter instance and configure the shaping mode, the value of frame shaping mode is 0; the value for cell shaping mode is 1.

   host1(config)#interface gigabitEthernet 6/0/2 host1(config-if)#encapsulation vlan host1(config-if)#interface gigabitEthernet 6/0/2.1 host1(config-if)#vlan id 1 host1(config-if)#qos-parameter cell-mode 1 host1(config-if)#ip address 6.10.10.10 255.255.255.255 host1(config-if)#exit host1(config)#interface gigabitEthernet 6/0/2 host1(config-if)#svlan 1 qos-parameter cell-mode 1 host1(config-if)#exit host1(config)#interface gigabitEthernet 6/0/2 host1(config-if)#qos-parameter cell-mode 1

#### Related Documentation

- Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell Mode
- Example: QoS Parameter Configuration for QoS Cell Mode and Byte Adjustment for Cell Shaping
- For more information about configuring scheduler rates for QoS parameters, see Scheduler Profiles and Parameter Expressions for QoS Administrators
- For more information about the QoS downstream rate application, see QoS Downstream Rate Application Overview
- controlled-interface-type
- instance-interface-type
- interface gigabitEthernet
- ip address
- qos-parameter
- qos-parameter-define
- scheduler-profile
- svlan qos-parameter
- traffic-class
- vlan id