advertisement
Chapter 10 Setting Policy: Example 4
7 Exit AP Group Interface mode for lobby:
W310-1(super/AP-Group lobby)# exit
W310-1(super)#
Setting Policy: Example 4
This example demonstrates use of the Quality of Service (QoS) policy commands. QoS policies are configured to achieve the following:
• Give priority to a particular user group (for example, Management user group). You can give specific traffic a higher priority by setting or increasing the 802.1p priority and changing the DSCP value.
• Prioritize the traffic stream accessing a particular server, for example, set the 802.1p.
• Change the packet priority and DSCP value based on the current DSCP value.
Configuring a QoS Policy for Incoming Traffic:
Step 1: Create QoS policy 401 to apply to incoming traffic on an interface:
1 Create a QoS policy that has an index number of 401:
W310-1(super)# ip qos-list 401
W310-1(super/QoS 401)#
Step 2. Create composite operation 12 to set the CoS and DSCP values of packets:
1 Create a composite-operation that has an index number of 12:
W310-1(super/QoS 401)# composite-operation 12
2 Configure composite operation 12 to assign packets a CoS value of 7 and a DSCP value of 45.
W310-1(super/QoS 401/CompOp 12)# cos 7
W310-1(super/QoS 401/CompOp 12)# dscp 45
3 Exit Composite Operation mode:
W310-1(super/QoS 401/CompOp 12)#
exit
W310-1(super/QoS 401) #
Step 3. Add rule 105 to QoS policy 401. This rule will apply composite operation 14 to traffic from the user group mgmt:
1 Add a rule 105 to QoS policy 401:
W310-1(super/QoS 401)# ip-rule 105
Avaya W310 Command Reference Guide 241
Chapter 10 Policy Commands
2 Configure rule 105 to filter packets that are coming from the members of the mgmt user group:
W310-1(super/QoS 401/ip rule 105)# source-user-group
mgmt
3 Apply composite operation 12 to the rule
W310-1(super/QoS 401/ip rule 105)# composite-operation
Op12
4 Exit IP rule mode for rule 105:
W310-1(super/QoS 401/ip rule 105)# exit
W310-1(super/QoS 401)#
Step 4. Add rule 107 to QoS policy 401. This rule will assign a CoS priority of 7 to traffic going to the server at 192.168.0.15:
1 Add a rule 107 to QoS policy 401:
W310-1(super/QoS 401)# ip-rule 107
2 Configure rule 107 to filter packets that are destined to 192.168.0.15:
W310-1(super/QoS 401/ip rule 107)# destination-ip host
192.168.0.15
3 Configure rule 107 to apply a CoS priority to traffic destined to the server at
192.168.0.15. This operation sets the 802.1p priority to 7.
W310-1(super/QoS 401/ip rule 107)# composite-operation
CoS7
4 Exit IP rule mode for rule 107:
W310-1(super/QoS 401/ip rule 107)# exit
W310-1(super/QoS 401)#
Step 5: Create composite operation 13 to change the CoS priority and DSCP value of packets:
1 Create a composite-operation to change the CoS and DSCP values.
W310-1(super/QoS 401)# composite-operation 13
2 Configure composite operation 13 to set the 802.1p priority to 6.
W310-1(super/QoS 401/CompOp 13)# cos 6
3 Configure composite operation 13 to set the DSCP value to 60.
W310-1(super/QoS 401/CompOp 13)# dscp 60
Note: The show composite-operation 13 command shows the configured operation.
242 Avaya W310 Command Reference Guide
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 22 Command Abbreviations
- 22 Top and Up commands
- 22 Retstatus command
- 22 Tree command
- 23 Entering the Supervisor Level
- 24 Entering the CLI
- 24 Entering the Technician Level
- 195 Ingress and Egress Policy
- 196 Chapter Contents
- 197 clear-policy-statistics
- 198 composite-operation
- 201 cookie
- 202 cos
- 203 destination-ip
- 204 destination-user-group
- 205 dscp
- 206 dscp-table
- 206 ether-type
- 207 ether-type-rule
- 208 ether-type simulate
- 209 icmp
- 212 ip access-control-list
- 213 ip access-group
- 213 ip-fragments-in
- 214 ip-option-in
- 215 ip policy-list-copy
- 215 ip-protocol
- 217 ip qos-group
- 218 ip qos-list
- 219 ip-rule
- 220 ip simulate
- 222 name
- 223 owner
- 224 pre-classification
- 225 show dscp-table
- 226 show ether-type-rule
- 227 show ip access-control-list
- 228 show ip active-policy-lists
- 230 show ip qos-list
- 231 show ip-rule
- 232 show list
- 233 show-policy-statistics
- 235 source-ip
- 236 source-user-group
- 237 tcp destination-port
- 239 tcp-established
- 240 tcp source-port
- 242 traffic-type
- 243 udp destination-port
- 246 udp source-port
- 248 Network Setup:
- 249 How To Configure
- 251 Network Setup:
- 251 How To Configure:
- 254 Network Setup:
- 254 How To Configure:
- 257 Configuring a QoS Policy for Incoming Traffic:
- 259 Configuring a QoS Policy for Outgoing Traffic