Example 2: SPQ with Shaping

We send two Streams (Stream0, Stream1) from port1 to port-2. Both streams each have 100 Mbps. Stream0 includes VLAN Priority0, Stream1 includes VLAN Priority7. Stream3 and Stream4 only for learning which make sure the traffic are not flooding.

Expected Result

We expect PORT-2 only can receive 20Mbps of Stream1, and 80Mbps of Stream0. This case will help you to understand how SPQ works on the ISW.

Click to expand in new window
VDSL port VLAN Priority & Queue Mapping
Click to expand in new window

Stream0:

Stream1:

Stream3: (for Learning)

Stream4: (for Learning)

Web Management

  1. Navigate to ConfigurationQoS Port Shaping and create a QoS profile on Port 2.
    Click to expand in new window
  2. Select schedule mode Strict Priority and set shaping rate for queue 0 and queue 7 as below.
Click to expand in new window

CLI Configuration

interface GigabitEthernet 1/2
switchport trunk native vlan 100
switchport trunk allowed vlan 1,100
switchport trunk vlan tag native
switchport mode trunk
qos queue-shaper queue 0 80000
qos queue-shaper queue 7 20000