- Finding Feature Information
- Restrictions for Service Groups
- Information About Service Groups
- How to Configure Service Groups
- Configuration Examples for Service Groups
- Example Creating a Service Group
- Example Adding Service Instance Members to a Service Group
- Example Adding Subinterfaces to a Service Group
- Example Deleting Service Instance Members from a Service Group
- Example Deleting Subinterfaces from a Service Group
- Example Deleting a Service Group
- Example Verifying the Service Group Configuration
- Additional References
- Feature Information for Service Groups
Service Groups
This module explains the Service Group feature and tell you how to use it.The Service Group feature allows network administrators to create service groups, add members (such as service instances) to those service groups, and apply service policies (also known an policy maps) to those newly created groups. The service policies (policy maps) contain the aggregate features (such as traffic policing and queueing) to be applied to the groups in compliance with the Service-Level Agreement (SLA) negotiated between the service provider and the subscribers.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and 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 module.
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.
Restrictions for Service Groups
For Cisco IOS Release12.2(33)SRE, the following restrictions apply:
- This feature is supported only on the Cisco IOS 7600 series router.
- Layer 3 subinterfaces are not supported.
Note |
For additional restrictions for the Cisco 7600 series routers and the line cards used on the router, see both the Cisco 7600-ES20 Ethernet Line Card Configuration Guide and the Cisco 7600 Series Ethernet Services + Line Card Configuration Guide. |
- From Cisco IOS Release 15.1(1)S onwards, subinterfaces and access subinterfaces are supported on Ethernet service + line cards. A service group can have service instance members, subinterface members, or a mix of the two under the same main interface on these line cards.
Information About Service Groups
- Service Instance Definition
- Benefits of Service Groups
- Service Groups QoS Policy Maps and Automatic load balancing
Service Instance Definition
A service instance is a configuration object (container) that holds all management and control plane attributes and parameters that apply to that service instance on a per-port basis. Different service instances that correspond to the same Ethernet Virtual Connection (EVC) must share the same name. Service instances are associated with a global EVC object through their shared name.
Benefits of Service Groups
Th Service Groups feature allows you to create service groups and apply aggregate features to those service groups. For Cisco IOS Release 12.2(33)SRE on a Cisco 7600 series router, a Quality of Service (QoS) policy map is the only feature that can be applied to service groups.
Service Groups QoS Policy Maps and Automatic load balancing
For Cisco IOS Release 12.2(33)SRE on Cisco 7600 series router, only QoS service policies (policy maps) on service groups or group members are supported. A QoS policy map may be configured on service groups (or on individual service group members) on an interface or a port channel. On a port channel, the service group feature enables you to implement load balancing by distributing the multiple service instances among the different member links.
When a member link goes down, automatic load balancing is triggered on the port channel. Load balancing redistributes the EVCs to the remaining member links on the port channel, while maintaining the original QoS policy maps. For example, consider that two QoS policy maps, QoS1 and QoS2, implemented on two service groups, SG1 and SG2, respectively:
- Service group SG1 is connected to the network through link M1.
- Service group SG2 is connected to the network through link M2.
If the M2 link goes down, automatic load balancing is initiated and all the EVCs of service group SG2 are redistributed to the M1 link. Even though the service group SG2 is now moved under the link M1, service group SG2 maintains its original QoS policy map, QoS2; when service groups are redistributed, the QoS policy maps are not affected.
Note |
You can manually load balance service groups and service instances across member links of a port channel using a feature called "User-Network Interface (UNI) Link Aggregation Group (LAG) Advanced load balancing". For more information, see the "Configuring Layer 2 Features" chapter in the Cisco 7600 Series Ethernet Services + Line Card Configuration Guide |
How to Configure Service Groups
- Creating a Service Group
- Adding or Deleting Service Instance Members
- Deleting a Service Group
- Verifying the Service Instance Group Configuration
- Adding or Deleting a Subinterface from a Service Group
- Verifying the Subinterface Configuration
Creating a Service Group
In this procedure, you need to specify the name of a QoS policy to be attached to the service group. The QoS policy must already exist.
DETAILED STEPS
Adding or Deleting Service Instance Members
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode. |
|
Example: Router# configure terminal |
Enters global configuration mode. |
|
Example: Router(config)# interface GigabitEthernet 1/0.56 Example: Router(config)# interface port-channel 50 |
Configures an interface and enters interface configuration mode. (Optional) Configures a port channel and enters interface configuration mode. |
|
Example: Router(config-if)# service instance 200 ethernet |
Specifies the service-instance to be added or deleted from a service group and enters service configuration mode. |
|
Example: Router(config-if-srv)# group 20 |
Number of the service group to which the member specified in Adding or Deleting Service Instance Members will be added. |
|
Example: Router(config-if-srv)# no group 30 |
(Optional) Number of the service group from which the member specified in Adding or Deleting Service Instance Members will be deleted. |
|
Example: Router(config-if-srv)# exit |
(Optional) Returns to interface configuration mode. |
|
Example: Router(config-if-srv)# end |
(Optional) Returns to privileged EXEC mode. |
Deleting a Service Group
DETAILED STEPS
Verifying the Service Instance Group Configuration
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode.
|
||
|
Example: Router# show running-config service-group |
(Optional) Displays the running service-group configuration. |
||
|
Example: Router# show service-group all |
(Optional) Displays service-group configuration information for one or all service groups. |
||
|
Example: Router# show service-group interface gigabitethernet 3/1 |
(Optional) Displays service-group membership information by interface.
|
||
|
Example: Router# show service-group stats |
(Optional) Displays service-group statistical information. |
||
|
Example: Router# show service-group state |
(Optional) Displays state information about service groups. |
||
|
Example: Router# show service-group traffic-stats |
(Optional) Displays traffic statistics for all the members of a service group.
|
||
|
Example: Router# show policy-map interface gigabitEthernet 9/5 service group |
(Optional) Displays policy-map information for service groups.
|
||
|
Example: Router# show policy-map target service-group 1 |
(Optional) Displays policy-map information for service groups that have members attached to the specified interface.
|
||
|
Example: Router# show ethernet service instance detail |
(Optional) Displays information about the service instances.
|
||
|
Example: Router# clear service-group traffic-stats |
(Optional) Clears the traffic statistics for the service group.
|
||
|
Example: Router# debug service-group qos |
(Optional) Debugs service-group events and errors. |
Adding or Deleting a Subinterface from a Service Group
Note |
If a subinterface is already a member of a group, you cannot add it to another group. To move a subinterface, first delete it from the current group, then add it to the new group. > |
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode.
|
|
Example: Router# configure terminal |
Enters global configuration mode. |
|
Example: interface range type number Example: - interface - number , . . .type number Example: | macro word Example: interface port-channel port-channel-number Example:
Example: Router(config)# interface GigabitEthernet 1/0.30 Example: Router(config)# interface range GigabitEthernet 1/0.30 - GigabitEthernet 1/0.36 Example: Router(config)# interface port-channel 5.48 |
Configures a subinterface and enters subinterface configuration mode.
or Configures a range of subinterfaces and enters subinterface configuration mode.
or Configures a port channel.
|
|
Example: Router(config-subif)# group 20 |
Number of the service group to which the subinterfaces will be added.
|
|
Example: Router(config-subif)# no group 30 |
(Optional) Number of the service group from which the subinterfaces will be deleted.
|
|
Example: Router(config-subif)# exit |
(Optional) Returns to interface configuration mode. |
|
Example: Router(config-subif)# end |
(Optional) Returns to privileged EXEC mode. |
Verifying the Subinterface Configuration
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
|
Example: Router> enable |
Enables privileged EXEC mode.
|
||
|
Example: Router# show running-config service-group |
(Optional) Displays the running service-group configuration. |
||
|
Example: Router# show service-group all |
(Optional) Displays service-group configuration information for one or all service groups.
|
||
|
Example: Router# show service-group interface gigabitethernet 3/1 |
(Optional) Displays service-group membership information by interface.
|
||
|
Example: Router# show policy-map target service-group 1 |
(Optional) Displays the policy-map information for all service groups or the specified service group.
|
||
|
Example: Router# show service-group stats |
(Optional) Displays service-group statistical information. |
||
|
Example: Router# show service-group state |
(Optional) Displays state information about service groups. |
||
|
Example: Router# show service-group traffic-stats |
(Optional) Displays the traffic statistics for all the members of a service group.
|
||
|
Example: Router# clear service-group traffic-stats |
(Optional) Clears the traffic statistics for the service group.
|
||
|
Example: Router# debug service-group qos |
(Optional) Debugs service-group events and errors. |
Configuration Examples for Service Groups
- Example Creating a Service Group
- Example Adding Service Instance Members to a Service Group
- Example Adding Subinterfaces to a Service Group
- Example Deleting Service Instance Members from a Service Group
- Example Deleting Subinterfaces from a Service Group
- Example Deleting a Service Group
- Example Verifying the Service Group Configuration
Example Creating a Service Group
In the following example, service group 20 has been created:
Router> enable
Router# configure terminal
Router(config)# service-group 20
Router(config-service-group)# description account number 105AB1
Router(config-service-group)# service-policy input policy1
Router(config-service-group)# end
Example Adding Service Instance Members to a Service Group
In the following example, service instance 200 will be added to service group 20:
Router> enable
Router# configure terminal
Router(config)# interface GigabitEthernet 1/0
Router(config-if)# service instance 200 ethernet
Router(config-if-srv)# group 20
Router(config-if-srv)# end
Example Adding Subinterfaces to a Service Group
In the following example, subinterface g3/7.12 will be added to service group 10:
Router> enable
Router# configure terminal
Router(config)# interface GigabitEthernet 3/7.12
Router(config-subif)# group 10
Router(config-subif)# end
Example Deleting Service Instance Members from a Service Group
In the following example, service instance 300 will be deleted from service group 30 on a port channel:
Router> enable
Router# configure terminal
Router(config)# interface port-channel 50
Router(config-if)# service instance 300 ethernet
Router(config-if-srv)# no group 30
Router(config-if-srv)# end
Example Deleting Subinterfaces from a Service Group
In the following example, subinterface g3/7.12 will be deleted from service group 10:
Router> enable
Router# configure terminal
router(config)# interface g3/7.12
router(config-subif)# no group 10
router(config-subif)# end
Example Deleting a Service Group
In the following example, service group 20 will be deleted:
Router> enable
Router# configure terminal
Router(config)# no service-group 20
Router(config)# end
Example Verifying the Service Group Configuration
This section contains sample output from the show policy-map target service-groupcommand. The show policy-map target service-groupcommand displays policy-map information for service groups.
Note |
This command is one of several that you can use to verify the service-group configuration. For additional commands that can be used, see the Verifying the Service Instance Group Configuration. |
In the following example, service group 1 is specified. Service group 1 contains two policy maps (service policies), policy1 and policy2. Traffic policing is enabled in the evc policy map. Traffic queueing is enabled in the isg policy map.
Router# show policy-map target service-group 1
GigabitEthernet9/5: Service Group 1
Service-policy input: policy1
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
police:
cir 200000 bps, bc 6250 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceed 0000 bps
Service-policy output: policy2
Counters last updated 00:00:34 ago
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 131072 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth remaining ratio 2
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
QoS commands: complete command syntax, command modes, command history, defaults, usage guidelines, and examples. |
Cisco IOS Quality of Service Solutions Command Reference |
Debug commands: complete command syntax, command modes, command history, defaults, usage guidelines, and examples. |
Cisco IOS Debug Command Reference |
MQC, policy maps |
"Applying QoS Features Using the MQC" module |
Cisco IOS 7600 series routers |
|
Service instance configuration information and concepts |
Cisco IOS Carrier Ethernet Configuration Guide
|
Service instance commands |
Cisco IOS Carrier Ethernet Command Reference |
Manually load balancing service groups and service instances across member links of a port channel |
"Configuring Layer 2 Features" chapter of the Cisco 7600 Series Ethernet Services + Line Card Configuration Guide |
Standards
Standard |
Title |
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
-- |
MIBs
MIB |
MIBs Link |
---|---|
No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
RFC |
Title |
---|---|
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 Service Groups
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 Service Groups |
Feature Name |
Releases |
Feature Information |
---|---|---|
Service Groups |
12.2(33)SRE |
The Service Groups feature allows network administrators to create service groups, add members (such as service instances) to those service groups, and apply service policies (also known as policy maps) to those newly created groups. In Release 12.2(33)SRE, this feature was introduced on the Cisco 7600 series router. The following commands were introduced or modified: clear service-group traffic-stats, debug service-group, description, group, service-group, service instance ethernet, service-policy, show policy-map interface service group, show running-config service-group, show service-group, show service-group interface, show service-group state, show service-group stats, show service-group traffic-stats. |
Service Groups |
15.1(1)S |
In Cisco IOS Release 15.1(1)S, this feature was modified to support subinterfaces and access subinterfaces on Ethernet Service + line cards. A service group can have service instance members, subinterfaces, access subinterfaces, or a mix of the two under the same main interface on these linecards. The following command was introduced or modified: show policy-map target service-group. |
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.