Port-Level Shaping and Minimum Bandwidth Guarantee
Last Updated: April 16, 2012
This document explains the Port-Level Shaping and Minimum Bandwidth Guarantee feature. The port-level shaping part of this feature allows you to configure a port-level shaper with policies on the following:
Service groups
Ethernet Virtual Connections (EVCs)
Subinterfaces
Intelligent Services Gateway (ISG) sessions
The minimum bandwidth guarantee part of this feature allows you to configure bandwidth guarantees in (Quality of Service) QoS policies on service groups.
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Port-Level Shaping and Minimum Bandwidth Guarantee
The Port-Level Shaping and Minimum Bandwidth Guarantee feature requires simultaneous policies on the main interface, service groups, EVCs, and subinterfaces.
Restrictions for Port-Level Shaping and Minimum Bandwidth Guarantee
Port-level policies are restricted to a "class-default with shaper only" policy if there are service group or EVC policies on the same port.
The minimum bandwidth guarantee configuration cannot be allowed at the same layer where service groups are configured using bandwidth remaining ratio (BRR).
The Port-Level Shaping and Minimum Bandwidth Guarantee feature indirectly sets the bandwidth for the default node; it works only in hierarchical queueing framework (HQF) two-parameter scheduling. It does not work with three-parameter scheduling.
Minimum bandwidth guarantee is not supported on the following:
Subinterfaces
Access subinterfaces
ISG sessions
Information About Port-Level Shaping and Minimum Bandwidth Guarantee
Hierarchical QoS (HQoS) redirects traffic from the service-group layer to another queue where shaping is applied. Port-level shaping occurs when traffic is directed to the default queue of the CLASS_LAYER. This CLASS_LAYER is built on top of the port.
When HQoS queueing policies are applied to service groups, an HQoS SG default queueing node is created at the service-group level for all traffic going through the HQoS service groups.
The port default node is used for:
All traffic from EVCs and subinterfaces that are not part of a service group
EVCs and subinterfaces that are part of service groups but do not have QoS
Port-Level Shaping
Port-level shaping shapes at the port level in the egress direction. You can limit per-port bandwidth in coexistence with four-level scheduling on the following:
Service groups
EVCs
Subinterfaces
ISG sessions
Port-level policy is attached to a port before service group or EVC policies are attached on that port.
Minimum Bandwidth Guarantee
You can configure the minimum bandwidth guarantee at the service-group level. This does the following:
Allows bandwidth guarantees during times of traffic congestion
Sets the remaining bandwidth for classes without a scheduler at the top level; this bandwidth is used as a parent scheduler reference for lower-level schedulers
Allows you to implicitly configure default service group node bandwidth
How to Configure Port-Level Shaping and Minimum Bandwidth Guarantee
This section shows you how to use the Port-Level Shaping and Minimum Bandwidth Guarantee feature.:
Configures an interface type and enters interface configuration mode.
Step 6
groupservice-group-identifier
Example:
Router(config-if)# group 1
Adds a member to a service group.
Step 7
end
Example:
Router(config)# end
Exits interface configuration mode and returns to privileged EXEC mode.
Verifying Port-Level Shaping and Minimum Bandwidth Guarantee
To ensure that you have properly configured port-level shaping and minimum bandwidth guarantee, do the following steps. You can enter the show commands in any order.
Example Configuring Port-Level Shaping for ISG Sessions
policy-map type service hqos_dynamic
service-policy output member-policy
service-policy input member-policy
policy-map type control hqos-dynamic-control
class type control always event session-start
1 service-policy type service name hqos-dynamic
interface gigabitethernet 1/1
service-policy output port-policy
interface gigabitethernet 1/1/2 access
service-policy type control hqos-dynamic-control
ip subscriber routed
initiator unclassified ip-address
Examples Configuring Minimum Bandwidth Guarantee
policy-map group-policy
class class-default
bandwidth 256000 kbps
service group 1
service-policy output group-policy
interface gigabitethernet 1/1/1
group 1
interface gigabitethernet 1/1
service instance 1 ethernet
group 1
or
Router# show policy-map parent
policy Map parent
class class-default
bandwidth 256000 (kbps)
service-policy child
Router# show policy-map child
Policy Map child
class prec1
band r r x
class class-default
bandwidth remaining ratio y
service group 1
service-policy output parent
interface gigabitethernet 1/1/1
group 1
interface gigabitethernet 1/1
service instance 1 ethernet
group 1
No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
Technical Assistance
Description
Link
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
Feature Information for Port-Level Shaping and Minimum Bandwidth Guarantee
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1
Feature Information for Port-Level Shaping and Minimum Bandwidth Guarantee
Feature Name
Releases
Feature Information
Port-Level Shaping and Minimum Bandwidth Guarantee
15.1(1)S
The port-level shaping part of this feature allows you to configure a port-level shaper with policies on the following:
Service groups
Ethernet Virtual Connections (EVCs)
Subinterfaces
Intelligent Services Gateway (ISG) sessions
The minimum bandwidth guarantee part of this feature allows you to configure bandwidth guarantees in QoS policies on service groups.
In Cisco IOS Release15.1(1)S, this feature was introduced on the Cisco 7600 Series Routers.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.