Configuring a Parameter Definition to Shape Ethernet Traffic Using Cell Mode
To associate a parameter instance with the QoS cell mode application:
- Configure traffic classes.
- host1(config)#traffic-class voice
- host1(config-traffic-class)#exit
- host1(config)#traffic-class best-effort
- host1(config-traffic-class)#exit
- Create a parameter definition.
- Configure the QoS parameter name and the application.
- host1(config)#qos-parameter-define shaping-mode application qos-cell-mode
- Configure a controlled-interface type.
- host1(config-qos-parameter-define)#controlled-interface-type vlan
- host1(config-qos-parameter-define)#controlled-interface-type ip
- Configure an instance-interface type.
- host1(config-qos-parameter-define)#instance-interface-type vlan
- Configure the QoS parameter name and the application.
- 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