Example shaping policy

The following example is based upon a hotel offering an internet service to guest bedrooms, conference rooms with separate subnets for video conferencing, and VoIP traffic, and public areas such as the lobby. A single external interface is configured to be shaped, with a total of 5 Mbit/s (megabits per second) incoming and outgoing bandwidth.

The Default shaping policy has been given a cap of 128 Kbit/s (kilobits per second) for both incoming and outgoing traffic. An additional shaping policy has been added, Premium Service. Like the Default shaping policy, this policy isn't for a specific service or application. It's capped at 2 Mbit/s for both incoming and outgoing traffic.

These classes are setup and are allocated the following bandwidth:

Classes Description Allocated Bandwidth
Conference Rooms The Video conference shaping policy is applied to those IP addresses specified in the Conference Rooms class. If there's excessive demand on bandwidth, applications listed in the Video conference policy are shaped. 2 Mbit/s guaranteed slice for incoming and outgoing traffic. Two conference room classes could be combined as their bandwidth allocations are the same.
Conference Rooms (voice) The Voice over IP shaping policy is applied to those IP addresses specified in the Conference Rooms (voice) class. If there's excessive demand on bandwidth, applications listed in the Voice over IP policy are shaped.
Guest Suites The Business shaping policy is applied to those IP addresses specified in the Guest Suites class. If there's excessive demand on bandwidth, applications listed in the Business policy are shaped. 2 Mbit/s, dynamic allocation.
Lobby and Reception This class uses the Default shaping policy. This has deliberately been set to a low level of bandwidth, to restrict users from using excess bandwidth in public areas and encourage users in public areas to upgrade to the premium service. 128 Kbit/s each, unless they upgrade to the Premium Service.
Lobby and Reception (Premium) This class uses the Premium shaping policy. This allows a greater share of the bandwidth, without restricting it to any service.  
Standard Guest Rooms The only traffic that's shaped from guest rooms is video streaming, using the Slow video streaming policy. This is to encourage users to use the hotel’s own film and video service. 1 Mbit/s, dynamic allocation.