Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Using Condition Groups in Policies
Configuring QoS
page 40-46
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
This command configures a condition called c6 with service group serv_group. All of the services speci-
fied in the service group will be included in the condition. (For more information about configuring condi-
tions, see 
Note. Service group configuration must be specifically applied to the configuration with the qos apply 
command.
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 will be deleted at the next qos apply. If serv_group is associated with a policy 
condition, an error message will display instead. For example:
ERROR: serv_group is being used by condition 'c6'
In this case, remove the service group from the condition first; then enter the no policy service group 
command. For example:
-> policy condition c6 no service group
-> no policy service group serv_group
The policy condition command removes the service group from the policy condition. (See 
 for more information about configuring policy conditions.) The service 
group will be deleted at the next qos apply.
Creating MAC Groups
MAC groups are made up of multiple MAC addresses that you want to attach to a condition. 
To create a MAC group, use the policy mac group command.
For example:
-> policy mac group macgrp2 08:00:20:00:00:00 mask ff:ff:ff:00:00:00 
00:20:DA:05:f6:23
This command creates MAC group macgrp2 with two MAC addresses. The first address includes a MAC 
address mask, so that any MAC address starting with 08:00:20 will be included in macgrp2
The MAC group may be then be associated with a condition through the policy condition command. Note 
that the policy condition specifies whether the group should be used for source or destination. For exam-
ple:
-> policy condition cond3 source mac group macgrp2
This command creates a condition called cond3 that may be used in a policy rule to classify traffic by 
source MAC addresses. The MAC addresses are specified in the MAC group. For more information about 
configuring conditions, see 
.