Quality of Service (QoS) and the Resource Reservation Protocol (RSVP) are advanced features that provide policy-based services. Policy-based services establish various grades of network services to accommodate the needs of different types of traffic (for example, multimedia, video, and file backups). QoS software relies on RSVP to provide admission control.
This chapter provides guidelines and other key information about how to configure QoS and RSVP in your system.
QoS and RSVP features include classifiers, controls, and RSVP parameters. Configure these features in the following order:
The system provides predefined classifiers and controls that are suitable for many configurations, or you can define your own classifiers, apply controls to the classifiers, and then decide whether to use RSVP. For more information about QoS and RSVP, see the Implementation Guide for your system.
For the CoreBuilder 9000: The commands in this chapter apply only to Layer 3 switching modules.
The commands that you can use depend on the system that you have, your level of access, and the types of modules and other hardware options that are configured for your system. The following diagram shows the complete list of commands for all systems. See the checklist at the beginning of each command description in this chapter for whether your system supports the command.
qos classifier summary
Displays summary information about the QoS classifiers on your system.
q cl s
qos classifier detail
Displays detailed information about one or more QoS classifiers.
q cl det
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Classifier number |
Number of the classifier for which you want detail information |
- |
qos classifier define
Defines a flow or nonflow classifier.
q cl def
Press Return or Enter to accept the default or current values that appear in brackets [ ].
1 . Enter a classifier number in the range of from 1 to 399.
2 . Enter the classifier name (a unique name of up to 32 characters long).
3 . Select a cast type.
4 . Select the IP protocol type of TCP, UDP, or all.
5 . Enter the source IP address. The default value is 0.0.0.0.
6 . Enter the source IP address mask. The default value is 0.0.0.0.
7 . Enter the destination IP address.
8 . Enter the destination IP address mask.
9 . Enter the start of the TCP or UDP port range, in the range of from 0 through 65535. The default is 0.
10 . Enter the end of the TCP or UDP port range using a value of up to 65535.
To avoid severely affecting applications using the network, select a port range that is as small as possible (for example, a single port).
11 . At the prompt, specify whether you want any other filters (address and port patterns) with this classifier (yes or no). The default is no.
Select menu option (qos/classifier): define
Enter classifier number (1-498): 26
Enter classifier name {?}: IPFilter1
Select cast type (unicast,multicast|all|?): all
Select IP protocol type (TCP,UDP|all|?): all
Enter source IP address [0.0.0.0]:168.20.30.0
Enter source IP address mask [255.255.0.0]:255.255.255.0
Enter destination IP address [0.0.0.0]:192.1.0.0
Enter IP address mask [255.255.255.0]:255.255.0.0
Enter start of UDP port range (0-65535) [0]:0
Enter end of UDP port range (2049-65535) [65535]:65535
Enter another filter (yes,no) [no]: n
Press Return or Enter to accept the default or existing values that appear in brackets [ ].
1 . Enter a classifier number in the range of from 400 through 498.
2 . Enter the classifier name (a unique name of up to 32 characters long).
3 . Select a cast type.
4 . Select one or any protocols.
Before a classifier that is associated with a protocol can work, you must define a VLAN for that protocol. (See Chapter 13.)
5 . Select one or all IEEE 802.1p tags. Specify any combination of values in the range of from 0 through 7, or all.
Select menu option (qos/classifier): define
Enter classifier number (1-498): 481
Enter classifier name {?}: AppleBcast
Select cast type (unicast,multicast,broadcast|all|?): broadcast
Select protocols {TCP/IP,IP,IPX,Appletalk,any|?}: Appletalk
Select IEEE 802.1p tag(s) (0-7|all|?): all
qos classifier modify
Modifies a previously defined classifier.
q cl m
1 . Enter the classifier number. The current numbers are shown in braces { }.
2 . Enter the classifier name.
3 . To modify the cast type, select a new cast type.
4 . To modify the IP protocol type, select another IP protocol type (TCP, UDP, or all).
5 . To modify the current source IP address, enter a new source IP address.
6 . To modify the current source IP address mask, enter a new source IP address mask.
7 . To modify the current destination IP address, enter a new destination IP address.
8 . To modify the current destination IP address mask, enter a new destination IP address mask.
9 . To modify the TCP or UDP port range, enter the new start of the TCP or UDP port range (in the range of from 0 through 65535).
10 . Enter the new end of the TCP or UDP port range (in the range of from 0 through 65535).
11 . At the prompt, specify whether you want any other address and port patterns (filters) with this classifier: yes or no; the default is no.
If you have several existing address and port patterns, you must specify all of them again during the modification process. Any address and port patterns that you do not reenter are deleted.
1 . To modify the cast type, select a new cast type.
2 . To modify the associated protocols, select another protocol.
3 . To modify the handling of IEEE 802.1p tags, select the appropriate tags using a value in the range of 0 through 7, or specify all.
Select menu option (qos/classifier): modify
Enter classifier number
{20,23,26,401-407,420,430,440, 450, 460, 470,480,490|?}:26
Enter classifier name {?} [IPFilter1]:
Select cast type (unicast,multicast|all|?) [unicast,multicast]:
Select IP protocol type (TCP,UDP|all|?) [TCP,UDP]:
Enter source IP address [168.20.30.0]:
Enter source IP address mask [255.255.255.0]:
Enter destination IP address [192.1.0.0]:192.1.1.0
Enter IP address mask [255.255.255.0]:
Enter start of UDP port range (0-65535) [0]:
Enter end of UDP port range (2049-65535) [65535]:
Enter another filter (yes,no) [no]: n
qos classifier remove
Removes a previously defined classifier.
q cl r
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Classifier number |
Number for the classifier that you want to remove |
- |
Select menu option: qos classifier remove
Enter classifier number {20,23,26,401-407,420,430,440,450,460,470,480,490|?}:26
qos control summary
Displays summary information about QoS controls.
q co s
T
qos control detail
Displays detailed information about the QoS controls you specify.
q co det
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Control number |
Number of the control for which you want detail information |
- |
qos control define
Defines a control for one or more existing classifiers.
q co def
T
1 . Enter a control number.
2 . Enter a control name.
3 . Enter the rate limit type: none, receivePort, or aggregate.
Aggregate rate limits can be applied only to flow classifiers.
4 . For receivePort or aggregate, enter the service level for conforming packets as high, best, or low.
If you enter drop, the system drops all traffic on all ports for the classifier that is associated with the control. Ping packets are ICMP, not UDP/TCP, so they are not dropped.
Default
5 . Specify (yes or no) whether the conforming packets are loss eligible. The default is no.
6 . If you have selected receivePort or aggregate for the rate limit type, you are prompted for the following information:
If you specify that you want a percentage for the rate limit, specify the percentage in the range of from 0 through 100 percent. These numbers are rounded to the nearest 16 KBytes. A value of 0 makes all packets excess packets.
If you apply the rate to only one or a subset of the bridge ports, you are prompted to specify whether you want to define another rate limit for another set of bridge ports. If you specify yes, you are prompted to enter another rate limit and burst size for another set of ports. This sequence of prompting continues until you specify n, meaning that you do not want to define another rate limit for another set of ports.
If the receive port is the anchor port for a trunk, the rate limit applies to each port that is associated with the trunk. For example, a rate limit of 1000 KBytes on a three-port trunk means that each port in the trunk has the 1000-KByte limit.
7 . Select an IEEE 802.1p tag value in the range of from 0 to 7 or none (the default) to apply to forwarded frames.
8 . Enter the classifiers that are subject to this control.
This example shows a control for a flow classifier. Because the control has a rate limit of none, the system does not prompt for information associated with the other rate limit types.
CB9000@slot2.1 [12-E/FEN-TX-L3] (qos/classifier): define
Enter control number {6-50|?} [6]: 6
Enter control name {?}: IPFilter1
Enter rate limit type (none,receivePort,aggregate) [none]:
Enter service for conforming packets (high,best,low,drop) [best]: drop
Select classifiers which are subject to this control.
Enter classifiers (20,23,26,401-407,420,430,440,450,460,470,480,490|all|?)26
qos control modify
Modifies the characteristics of a previously defined control (including the controls 1 through 4, which the system provides by default).
q co m
1 . Enter the control number. The existing controls are displayed in braces { }.
2 . Enter the control name.
3 . Enter the rate limit type (for example, none, receivePort, or aggregate.
4 . For receivePort or aggregate, enter the service level for conforming packets as high, best, or low.
5 . Specify whether the conforming packets are loss eligible (yes or no).
6 . If you have selected receivePort or aggregate for the rate limit type, you are prompted for the following information:
If you enter no, the system maintains the existing values for all associated rate limits. If you enter yes, specify how the first rate limit should be expressed (percentage of port bandwidth or KBytes/sec). KBytes/sec is the default. If the control has multiple per-port rate limits, you can change one rate limit without affecting the others.
If you specified percentage for the rate limit, specify the percentage in the range of from 0 through 100 percent.
If you modify the rate limit and apply it to only one or a subset of the bridge ports, you are prompted to specify whether you want to modify or define another rate limit for another set of bridge ports. If you specify yes, you are prompted to enter another rate limit and burst size. This sequence of prompting continues until you specify n, meaning that you do not want to modify or define another rate limit for another set of ports. The rate limit applies only to those ports that you explicitly specified; any ports that you did not specify are not associated with your rate limit.
7 . Select an IEEE 802.1p tag value in the range of from 0 through 7 or the value none to apply to forwarded frames.
8 . Enter the classifiers that are subject to this control. The system displays the associated classifiers in brackets. (If you select aggregate as the rate limit type, the system displays only flow classifiers.)
This example shows modifications to a predefined control (4) for a predefined classifier (405).
qos control remove
Removes a previously defined control.
q co r
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Control number |
Number for the control that you want to remove |
- |
CB9000@slot2.1 [12-E/FEN-TX-L3] (qos/control): remove
Enter control number {2-5|?}: 4
qos rsvp summary
Displays summary Resource Reservation Protocol (RSVP) information when RSVP is enabled.
q r s
qos rsvp detail
Displays detailed RSVP information when RSVP is enabled.
q r de
qos rsvp enable
Enables RSVP on the system and specify values for the RSVP settings.
q r e
1 . Enter the maximum total reservable bandwidth, using a percentage of the output link (a value of from 0 through 200, with 50 as the default).
2 . Enter the maximum per-reservation bandwidth, using a percentage of the output link (a value of from 0 through 100, with 50 as the default).
3 . Enter the policing option (edge, always, or never, with edge as the default). See the previous table for definitions of the policing options.
4 . Enter the service level for excess/policed traffic (best or low, with low as the default).
5 . Specify whether excess packets are loss eligible (yes or no, with no as the default).
qos rsvp disable
Disables RSVP on the system.
q r di
qos bandwidth display
Displays the link bandwidth as the ratio of bandwidth allocated to high priority traffic versus best effort traffic. Link bandwidth is the total link bandwidth less the bandwidth used by RSVP and network control traffic.
q b d
qos bandwidth modify
Specifies the weighting of the high priority and best effort transmit queues. Bandwidth for the control queue is set with RSVP. Low priority packets do not have bandwidth explicitly allocated.
q b m
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Percentage of bandwidth |
Percentage of bandwidth that you want to be used for high-priority traffic on the output link |
0 - 100 |
75 |
qos excessTagging display
Displays status information about whether excess packets are tagged with a special IEEE 802.1p tag value.
q e disp
qos excessTagging enable
Tags or retags excess packets with a special 802.1p tag value. This special value refers to any packets marked as excess that you want to tag.
q e e
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
IEEE 802.1p tag value |
Tag value used to tag or retag excess packets |
0 - 7 |
0 |
qos excessTagging disable
Disables the tagging of excess packets with a special 802.1p tag value.
q e disa
qos statistics interval
Sets a sampling interval for gathering QoS statistics.
q s i
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
Interval |
Interval, in seconds, at which you want to gather QoS statistics |
0 - 60 |
5 (factory default), or current value |
qos statistics receive
Displays QoS receive statistics.
q s r
qos statistics transmit
Displays QoS transmit statistics.
q s t