Configuring QoS Using Condition Groups in Policies
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 26-56
associate with a condition, configure a service group and attach it to a condition. Service groups are
described in “Creating Service Groups” on page 26-56.
To remove a policy service, enter the no form of the command.
-> no policy service ftp2
The ftp2 service is deleted from the configuration at the next qos apply if the service is not currently
associated with a policy condition or a service group.
Creating Service Groups
Service groups are made up of policy services. First configure the policy service, then create the service
group which includes the policy service(s).
Use the policy service group command. For example:
-> policy service group serv_group telnet1 ftp2
In this example, a policy service group called serv_group is created with two policy services (telnet1 and
ftp2). The policy services were created with the policy service command. (See “Creating Services” on
page 26-55 for information about configuring policy services.)
The service group can then be associated with a condition through the policy condition command. For
example:
-> policy condition c6 service group serv_group
This command configures a condition called c6 with service group serv_group. All of the services
specified in the service group are included in the condition. (For more information about configuring
conditions, see “Creating Policy Conditions” on page 26-44.)
To delete a service from the service group, use no with the relevant service name. For example:
-> policy service group serv_group no telnet1
In this example, the service telnet1 is removed from policy service group serv_group.
To delete a service group from the configuration, use the no form of the policy service group command.
The service group must not be associated with any condition. For example:
-> no policy service group serv_group
Service group serv_group is deleted at the next qos apply. If serv_group is associated with a policy
condition, an error message displays instead. For example:
ERROR: serv_group is being used by condition 'c6'
Note. Service configuration is not active until the qos apply command is entered.
Note. The policy service group can include only services with all source ports, all destination ports, or all
source and destination ports. For example, the group cannot include a service that specifies a source port
and another service that specifies a destination port.
Note. Service group configuration must be specifically applied to the configuration with the qos apply
command.