|
|
This chapter describes resource management (RM), which involves modeling and managing switch, interface, and connection resources. Such resources include equivalent bandwidth and buffering to support the provision of specified traffic classes.
This chapter includes the following sections:
The ATM switch router RM software provides the following functions:
The switch processor feature card available for the ATM switch router provides the required ATM Forum Traffic Management features as described in Table 8-1.
| Feature | |
|---|---|
Traffic classes: | |
Output queuing | Per-VC or per-VP |
Output scheduling | |
Intelligent early packet discard | Multiple dynamic thresholds |
Intelligent tail (partial) packet discard | Supported |
Selective cell marking and discard | Multiple, weighted, dynamic thresholds |
Shaping | Per-port pacing, per-CBR VC, per-CBR transit VP, per-shaped CBR VP tunnel (128 shaped VP tunnels total) |
Policing (UPC9) | Dual leaky bucket |
Frame mode VC-merge | Supported |
Point-to-multipoint VC (multicast) | Multiple leafs per output port, per point-to-multipoint |
Network clock switch over | Programmable clock selection criteria |
Nondisruptive snooping | Per-VC or per-VP |
Hierarchical VP tunnel | Maximum of 240 VP tunnels. |
| 1CBR = constant bit rate. 2RT-VBR = variable bit rate real-time. 3NRT-VBR = variable bit rate-non real-time. 4UBR = unspecified bit rate. 5ABR = available bit rate. 6EFCI = explicit forward congestion indication. 7RS = rate scheduling. 8WRR = weighted round robin. 9UPC = usage parameter control. |
Global RM configurations affect all interfaces on the switch. The following sections describe global RM tasks:
Since UNI 3 signalling does not provide information elements (IEs) to signal QoS values, RM provides a table of default objective values for QoS for guaranteed service categories. These values are used as the criteria for connection setup requirements. They are either metric values (accumulated over multiple hops of a call) or attributes (a gating criterion that is not accumulated, but is checked at each interface). Maximum cell transfer delay and peak-to-peak cell delay variation are metrics, while cell loss ratio is an attribute.
Table 8-2 lists the default values of the QoS objective table.
| Service Category | Max Cell Transfer Delay (clp01) | Peak-to-Peak Cell Delay Variation (clp01) | Cell Loss Ratio (clp0) | Cell Loss Ratio (clp0+1) |
|---|---|---|---|---|
cbr | Undefined | Undefined | Undefined | Undefined |
vbr-rt | Undefined | Undefined | Undefined | Undefined |
vbr-nrt | --- | --- | Undefined | Undefined |
Each objective can have a defined or undefined value. If undefined, the objective is not considered in connection setup.
This table should be configured with the same values for an entire network.
To configure the default QoS objective table, perform the following tasks in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | atm qos default {cbr | vbr-rt} max-cell-transfer-delay {microseconds | any} | Select the ATM QoS default CBR or VBR-RT maximum cell transfer delay. |
| 2 | atm qos default {cbr | vbr-rt} peak-to-peak- cell-delay variation {microseconds | any} | Select the ATM QoS default CBR or VBR-RT peak-to-peak cell delay variation. |
| 3 | Select the ATM QoS default CBR, VBR-RT, or VBR-NRT maximum cell loss ratio. |
The following example shows how to change the CBR maximum cell loss ratio objective for cell loss priority (CLP) = 0+1 to 10-12 cells per second:
Switch(config)# atm qos default cbr max-cell-loss-ratio clp1plus0 12
To display the default QoS objective table, use the following EXEC command :
| Command | Task |
|---|---|
Display the ATM QoS objective table configuration. |
The per-service category, maximum cell transfer delay, peak-to-peak cell delay variation, and maximum cell loss ratio objectives are displayed.
The ATM QoS objective table configuration is displayed in the following example:
Switch# show atm qos-defaults
Default QoS objective table:
Max cell transfer delay (in microseconds): any cbr, any vbr-rt
Peak-to-peak cell delay variation (in microseconds): any cbr, any vbr-rt
Max cell loss ratio for CLP0 cells: any cbr, any vbr-rt, any vbr-nrt
Max cell loss ratio for CLP0+1 cells: 10**(-12) cbr, any vbr-rt, any vbr-nrt
A row in the CTT must be created for each unique combination of traffic parameters. Virtual path links (VPLs) and virtual channel links (VCLs) then specify traffic by specifying a row in the table per flow (receive and transmit). Many VCL/VPLs can refer to the same row in the traffic table.
The rows corresponding to various service categories support the following features:
The CTT in a permanent virtual channel (PVC) setup requires storing PVC traffic values in a CTT data structure. Rows used for PVCs are called stable rows, and contain traffic parameters.
The CTT in a switched virtual circuit (SVC) setup provides a row identifier that Simple Network Management Protocol (SNMP) or the user interface can use to read or display SVC traffic parameters. A CTT row index is stored in the connection-leg data structure for each flow of the connection.
To make CTT management software more efficient, the CTT row-index space is split into rows allocated as a result of signalling and rows allocated from the CLI and SNMP. Table 8-3 describes the row-index range for both.
| Allocated by | Row-index range |
|---|---|
ATOMMIB Traffic Descriptor Table / CLI connection-traffic-table-row creation | 1 through 1,073,741,823 |
Signalling VxL creation | 1,073,741,824 through 2,147,483,647 |
Table 8-4 describes the well-known, predefined ATM CTT rows.
| CTT Row Index | Service Category | Peak-Cell-Rate (CLP01) | Sustained- Cell-Rate (clp01) | Tolerance | Use |
|---|---|---|---|---|---|
1 | UBR | 7113539 | --- | None | Default PVP/PVC row index |
2 | 424 kbps | --- | None | CBR tunnel well-known (WK) VCs | |
3 | VBR-RT | 424 kbps | 424 kbps | 50 | Physical interface/VBR-RT WK VCs |
4 | VBR-NRT | 424 kbps | 424 kbps | 50 | VBR-NRT tunnel WK VCs |
5 | ABR | 424 kbps | --- | None | --- |
6 | UBR | 424 kbps | --- | None | UBR tunnel WK VCs |
The atm connection-traffic-table-row command supports these service categories: CBR, VBR-RT, VBR-NRT, ABR, and UBR). To create or delete an ATM CTT row, perform the following tasks in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | atm connection-traffic-table-row [index row-index] {vbr-rt | vbr-nrt} pcr pcr_value {scr10 scr0} scr_value [mbs mbs_value] [cdvt cdvt_value] | Configure an ATM CTT VBR row. |
| 2 | atm connection-traffic-table-row [index row-index] cbr pcr pcr_value [cdvt cdvt_value] | Configure an ATM CTT CBR row. |
| 3 | atm connection-traffic-table-row [index row-index] abr pcr pcr_value [mcr mcr_value] [cdvt cdvt_value] | Configure an ATM CTT ABR row. |
| 4 | atm connection-traffic-table-row [index row-index] ubr pcr pcr_value [mcr mcr_value] [cdvt cdvt_value] | Configure an ATM CTT UBR row. |
If you do not specify an index row number, the system software determines if one is free and displays it in the allocated index field if the command is successful.
The following example shows how to configure an ATM CTT row with an ABR peak cell rate of 30,000 kilobits per second:
Switch(config)# atm connection-traffic-table-row abr pcr 30000 Allocated index = 63999
To display the CTT configuration, use the following EXEC command:
| Command | Task |
|---|---|
show atm connection-traffic-table [row row-index | from-row row-index] | Display the CTT configuration. |
The following example shows how to display the CTT configuration table:
Switch> show atm connection-traffic-table Row Service-category pcr scr/mcr mbs cdvt 1 ubr 7113539 none none 2 cbr 424 none 3 vbr-rt 424 424 50 none 4 vbr-nrt 424 424 50 none 5 abr 424 0 none 6 ubr 424 none none 64000 cbr 1741 none 2147483645* ubr 0 none none 2147483646* ubr 1 none none 2147483647* ubr 7113539 none none
The sustained cell rate margin factor determines the aggressiveness of weighting sustainable cell rate (SCR) compared to peak cell rate (PCR). It uses the connection admission control algorithm in admitting VBR connections.
To configure the SCR for your switch, use the following global configuration command:
| Command | Task |
|---|---|
Configure the sustained cell rate margin factor. |
The following example shows how to configure the SCR margin factor as 85 percent of maximum:
Switch(config)# atm sustained-cell-rate-margin-factor 85
To display the SCR margin factor configuration, use the following EXEC command:
| Command | Task |
|---|---|
Display the SCR margin factor configuration. |
The following example shows the SCR margin factor configuration:
Switch> show atm resource Resource configuration:![]()
Sustained-cell-rate-margin-factor 85% Abr-mode: EFCI Service Category to Threshold Group mapping: cbr 1 vbr-rt 2 vbr-nrt 3 abr 4 ubr 5 Threshold Groups: Module Group Max Max Q Min Q Q thresholds Cell Name ID cells limit limit Mark Discard count instal instal instal ------------------------------------------------------------ 1 1 131071 63 63 25 % 87 % 0 cbr-default-tg 2 131071 127 127 25 % 87 % 0 vbrrt-default-tg 3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg 4 131071 511 31 25 % 87 % 0 abr-default-tg 5 131071 511 31 25 % 87 % 0 ubr-default-tg 6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg =========================================================== 2 1 131071 63 63 25 % 87 % 0 cbr-default-tg 2 131071 127 127 25 % 87 % 0 vbrrt-default-tg 3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg 4 131071 511 31 25 % 50 % 0 abr-default-tg 5 131071 511 31 25 % 87 % 0 ubr-default-tg 6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg =========================================================== 7 1 131071 63 63 25 % 87 % 0 cbr-default-tg 2 131071 127 127 25 % 87 % 0 vbrrt-default-tg 3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg 4 131071 511 31 25 % 87 % 0 abr-default-tg 5 131071 511 31 25 % 87 % 0 ubr-default-tg 6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg =========================================================== 8 1 131071 63 63 25 % 87 % 0 cbr-default-tg 2 131071 127 127 25 % 87 % 0 vbrrt-default-tg 3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg 4 131071 511 31 25 % 87 % 0 abr-default-tg 5 131071 511 31 25 % 87 % 0 ubr-default-tg 6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg ===========================================================
Threshold groups combine VCs/VPs to determine per-connection thresholds, based on the use of memory by the group.
The initial default configuration of per-VC queueing on the switch has all connections of a service category assigned to one threshold group. However, the assignment of service categories to threshold groups is configurable. A service category cannot be mapped to more than one threshold group. If you configure a service category to a threshold group more than once, the last configuration will be in effect. The default assigns each service category to a different threshold group. However, you can assign more than one service category to a threshold group.
As a threshold group congests (the cumulative number of cells on the queues of VCs in the threshold group approaches the configured max-cells value), the maximum number of cells per-queue shrinks from the threshold group max-queue-limit to min-queue-limit.
In the congestion range of 0 cells (uncongested) to 1/8th full, the connection queues are limited to max-queue-size. In the congestion range of 7/8ths full to completely full, the connection queues are limited to min-queue-size.
The switch hardware cannot provide all possible max-cell values in the range. Instead, the max-cell value used is the closest number of cells greater than that specified. The possible values are {(64*i)-1, 1<=i<=1024}.
Also, the switch hardware is not capable of providing all possible max-queue-limit values in the range. Instead, the max-queue-limit value used is the closest number of cells greater than that specified. The possible values are {(16*i)-1, 2<=i<=1024}. The hardware can support all values of min-queue-size (1-1023).
The threshold group configuration parameters are as follows:
Each module has its own cell memory and threshold groups. There are 8 of these modules in a 20 gigabyte configuration. Each module has a 128 kbps cell memory, and the threshold groups can be configured per module. By default, all the threshold groups of all the modules are configured identically. Configuration parameter defaults are defined in Table 8-5.
| Group | Max Cells | Max Q Limit | Min Q Limit | Mark Threshold | Discard Threshold | Use |
|---|---|---|---|---|---|---|
1 | 131071 | 63 | 63 | 25% | 87% | |
2 | 131071 | 127 | 127 | 25% | 87% | VBR-RT |
3 | 131071 | 511 | 31 | 25% | 87% | VBR-NRT |
4 | 131071 | 511 | 31 | 25% | 87% | ABR |
5 | 131071 | 511 | 31 | 25% | 87% | UBR |
6 | 131071 | 1023 | 1023 | 25% | 87% | well-known VCs |
To configure the threshold groups, perform the following tasks in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | atm threshold-group service {cbr | vbr-rt | vbr-nrt| abr | ubr} tg-num 1-6 | Assign a service category to a threshold group. |
| 2 | atm threshold-group 1-6 max-cells 0-131071 | Configure the maximum number of cells queued for all connections that are members of the threshold group. |
| 3 | atm threshold-group 1-6 discard-threshold 0-100 | Configure the threshold of per-connection queue-full at which the queue is considered full for CLP discard and EPD. |
| 4 | atm threshold-group 1-6 max-queue-limit 31- min (16383, max-cells) | Configure the largest per-vc queue limit that is applied to connections in the threshold group. |
| 5 | atm threshold-group 1-6 min-queue-limit | Configure the smallest per-vc queue-limit that is applied to connections in the threshold group. |
| 6 | atm threshold-group 1-6 name tg-name | Configure the name associated with a threshold group. |
| 7 | atm threshold-group 1-6 marking-threshold 0-100 | Configure the threshold of per-connection queue-full at which the queue is considered full for EFCI marking. |
| 8 | atm threshold-group 1-6 [module-id 1-8 1-6 max-cells 0-131071] | Configure the maximum number of cells queued for specified threshold group for all module-ids. Optionally, configure for the specified threshold group for the specified module-id. |
The following example shows how to configure ATM threshold group 5 with a maximum number of cells before the cells are discarded:
Switch(config)# atm threshold-group 5 max-cells 50000
To display the threshold group configuration, use the following EXEC command:
| Command | Task |
|---|---|
Display the threshold group configuration. |
The following example displays the threshold group configuration:
Switch> show atm resource
Resource configuration:
Sustained-cell-rate-margin-factor 1%
Abr-mode: EFCI
Service Category to Threshold Group mapping:
cbr 1 vbr-rt 2 vbr-nrt 3 abr 4 ubr 5
Threshold Groups:
Module Group Max Max Q Min Q Q thresholds Cell Name
ID cells limit limit Mark Discard count
instal instal instal
------------------------------------------------------------
1 1 131071 63 63 25 % 87 % 0 cbr-default-tg
2 131071 127 127 25 % 87 % 0 vbrrt-default-tg
3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg
4 131071 511 31 25 % 87 % 0 abr-default-tg
5 131071 511 31 25 % 87 % 0 ubr-default-tg
6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg
===========================================================
2 1 131071 63 63 25 % 87 % 0 cbr-default-tg
2 131071 127 127 25 % 87 % 0 vbrrt-default-tg
3 131071 511 31 25 % 87 % 0 vbrnrt-default-tg
4 131071 511 31 25 % 50 % 0 abr-default-tg
5 131071 511 31 25 % 87 % 0 ubr-default-tg
6 131071 1023 1023 25 % 87 % 0 well-known-vc-tg
===========================================================
<information deleted>
Physical interface RM configurations affect only specific interfaces on the switch. The following sections describe physical interface configuration RM tasks:
Output pacing is used to artificially reduce the output speed of an interface in kbps. Output pacing can be changed at any time or enabled or disabled. When an output pacing change request is made, RM determines whether the change will not provide the guaranteed bandwidth at the outbound port for the existing virtual channels/virtual paths (VCs/VPs). Guaranteed bandwidth is reserved for CBR and VBR connections.
To enable or change an interface output pacing rate, perform the following tasks, beginning in global configuration mode:
| Command | Task |
|---|---|
interface atm card/subcard/port | Select the interface to be configured. |
atm pacing kbps [force] | Configure the interface output pacing. |
The force argument indicates that the change should be made even if it results in an output cell rate that does not provide sufficient bandwidth for guaranteed service on the interface transmit flow.
This command does not apply to the CPU interfaces (atm0 and ethernet0) or subinterfaces. For other restrictions, see the Catalyst 8540 MSR Command Reference publication.
The following example shows how to configure the interface output pacing to 10,000 kbps:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm pacing 10000
To display the output pacing configuration, use the following EXEC command:
| Command | Task |
|---|---|
show atm interface resource atm card/subcard/port | Display the output pacing configuration. |
The following example shows the interface output pacing configuration:
Switch# show atm interface resource atm 0/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Link Distance: 0 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX
Best effort connection limit: disabled 0 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX,
Tolerance RX: none cbr, none vbr, none abr, none ubr
Tolerance TX: none cbr, none vbr, none abr, none ubr
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 0 pvcs, 0 svcs
Resource management allows fine-tuning of the connection admission control functions on a per-interface and direction (receive and transmit) basis. The reservations are specified with the following three parameters:
The minimum and maximum parameter relationships are shown in Table 8-6.
| Service Category | Value | Service Category | Bandwidth |
|---|---|---|---|
Minimum CBR | + | Minimum VBR | <= 95 percent |
Minimum CBR | <= | Maximum CBR | <= 95 percent |
Minimum VBR | <= | Maximum VBR | <= 95 percent |
Minimum CBR | <= | Maximum Aggregate | <= 95 percent |
Minimum VBR | <= | Maximum Aggregate | <= 95 percent |
Maximum CBR | <= | Maximum Aggregate | <= 95 percent |
Maximum VBR | <= | Maximum Aggregate | <= 95 percent |
To configure controlled link sharing, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the interface to be configured. |
| 2 | atm cac link-sharing max-guaranteed-service-bandwidth {receive | transmit} percent | Configure controlled link sharing for the maximum guaranteed service bandwidth. |
| 3 | atm cac link-sharing max-bandwidth {abr | cbr | ubr | vbr} {receive | transmit} percent | Configure controlled link sharing for the maximum guaranteed service bandwidth by service category. |
| 4 | atm cac link-sharing min-bandwidth {cbr | vbr | abr | ubr} {receive | transmit} percent | Configure controlled link sharing for the minimum guaranteed service bandwidth by service category. |
For restrictions to these commands, see the Catalyst 8540 MSR Command Reference publication.
The following example shows how to configure the controlled link sharing, maximum guaranteed service bandwidth, and receive configuration to 87 percent:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac link-sharing max-guaranteed-service-bandwidth receive 87
To display the controlled link sharing configuration, perform the following task in user EXEC mode:
| Command | Task |
|---|---|
show atm interface resource atm card/subcard/port | Display the controlled link sharing configuration. |
The following example displays the controlled link sharing configuration:
Switch# show atm interface resource atm 0/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Link Distance: 0 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX
Best effort connection limit: disabled 0 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX,
Tolerance RX: none cbr, none vbr, none abr, none ubr
Tolerance TX: none cbr, none vbr, none abr, none ubr
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 0 pvcs, 0 svcs
A service class denotes one of the scheduling classes referred to as output virtual circuit (OVC) quality of Service (QoS) Classes. Up to eight service classes can be allocated to each physical interface (PIF) port. In scheduling the next cell to be transmitted from a port, the rate scheduler (RS) has first call on supplying an eligible cell. If RS does not have one, then SP/WRR scheduler chooses a service class with an OVC ready to transmit, and finally a VC within the service class is selected.
ATM service categories are mapped statically to service classes, as shown in Table 8-7, where service class 1 has the highest scheduling priority.
| Service Category | Service Class |
|---|---|
CBR | 1 |
VBR-RT | 2 |
VBR-NRT | 3 |
ABR | 4 |
UBR | 5 |
The first scheduling decision is made based on whether any rate-scheduled cell is ready (as decided by the timewheel rate scheduler for an interface). Whether a VC uses the rate scheduler is not user-configurable.
Table 8-8 lists the cell rates that are guaranteed by the rate scheduler for each service category.
| Service Category | Cell Rate Guaranteed |
|---|---|
CBR | PCR |
VBR-RT | SCR |
VBR-NRT | SCR |
ABR | MCR (if specified) |
UBR | MCR (if specified) |
If the timewheel RS does not have an OVC ready to transmit, the strict priority/weighted-round-robin (SP/WRR) scheduler becomes active to pick out an OVC to transmit a cell. The SP/WRR uses the interface bandwidth left over after guaranteed cell service to transmit cells. Thus, an OVC of a service category, other than a CBR OVC, can be serviced by both the rate scheduler and the SP/WRR scheduler. A CBR OVC cannot be serviced by the SP/WRR scheduler because its PCR is already guaranteed by the rate scheduler. (Any additional cell transmission by the SP/WRR out of that OVC is likely to arrive too soon at the next switch and might be policed.)
The following service categories can be serviced by the SP/WRR scheduler:
The combined result of the two schedulers is illustrated in Figure 8-1.

Service classes scheduled by the SP/WRR can be further subdivided into two subsets, one of which is scheduled by strict priority (SP) between classes, the other WRR between classes. The SP subset can be any number of contiguous classes, starting with class 2.
The WRR subset can be any number of contiguous classes, starting with the class one level lower in priority than the lowest priority class serviced by the SP. Each service class (other than service class 1) must be a member of a subset, and each subset can be null. For example, SP:{2}, WRR:{3,4,5}. The default configuration is SP:{}, WRR:{2,3,4,5}. This assignment of a service class to a subset is configurable.
Figure 8-2 shows the possible subset configurations.
Each service class is assigned a weight for use if it is in the WRR subset. These weights are configurable, in the range of 1 to 15. The default weighting is {8,1,1,1} for classes {2,3,4,5}, respectively. The weighting will not be modified dynamically.
Within service classes, individual OVCs are also weighted, again in the range of 1 to 15. A standard weight (2) is assigned to all PVCs in a service class. Optionally, PVCs can be configured with a specific weight per half-leg (applying to the transmit OVC weight). SVCs take the value 2.
To configure the interface service class and WRR value, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the interface to be configured. |
| 2 | atm service-class wrr-start {2 | 3 | 4 | 5 | | Configure the weighted round robin starting service class. |
| 3 | atm service-class {2 | 3 | 4 | 5} wrr-weight 1 -15 | Configure the weight given to each service class. |
The following example shows how to configure ATM interface 0/1/0 with a WRR start value of 3:
Switch(config)# interface atm 0/1/0 Switch(config-if)# atm service-class wrr-start 3
The following example shows how to configure service class 3 on interface ATM 0/1/0 with a WRR weight of 5:
Switch(config)# interface atm 0/1/0 Switch(config-if)# atm service-class 3 wrr-weight 5
To display the configuration of an interface in a service class, use the following EXEC command:
| Command | Task |
|---|---|
show atm int resource {atm | atm-p} {card/subcard/port } | Display the configured membership of the interface in a service class. |
The following example shows the configuration of the interface in a service class:
Switch# show atm interface resource atm 0/0/0 Resource Management configuration:![]()
Service Classes: Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5 WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5 Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed Link Distance: 0 kilometers Controlled Link sharing: Max aggregate guaranteed services: none RX, none TX Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX Best effort connection limit: disabled 0 max connections Max traffic parameters by service (rate in Kbps, tolerance in cell-times): Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr Sustained-cell-rate: none vbr RX, none vbr TX, Tolerance RX: none cbr, none vbr, none abr, none ubr Tolerance TX: none cbr, none vbr, none abr, none ubr Resource Management state: Available bit rates (in Kbps): 147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX, 147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX Allocated bit rates: 0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX, 0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX Best effort connections: 0 pvcs, 0 svcs
The following sections describe interface configuration RM tasks for both physical and logical interface types:
Specifying the physical link distance for the next ATM hop in the outbound direction allows you to increase the propagation delay. Propagation delay is used in determining the connection admission control (CAC) maximum CTD provided on the output by a switch interface, which can affect the SVC connection requests accepted.
To configure the ATM link distance, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the subinterface to be configured. |
| 2 | atm link-distance kilometers | Configure the subinterface link distance. |
The following example shows how to configure the interface link distance configuration to
150 kilometers:
Switch(config-if)# atm link-distance 150
To display the interface link distance configuration, use the following EXEC command:
| Command | Task |
|---|---|
show atm interface resource atm card/subcard/port [.vpt #] | Display the interface link distance configuration. |
The following example shows the configuration of the interface link distance with switch processor feature card installed:
Switch# show atm interface resource atm 0/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Service Categories supported: cbr,vbr-rt,vbr-nrt,abr,ubr
Link Distance: 150 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Best effort connection limit: disabled 0 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX
Minimum-cell-rate RX: none abr, none ubr
Minimum-cell-rate TX: none abr, none ubr
CDVT RX: none cbr, none vbr, none abr, none ubr
CDVT TX: none cbr, none vbr, none abr, none ubr
MBS: none vbr RX, none vbr TX
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 0 pvcs, 0 svcs
Each interface can be configured to allow a specific number of best-effort ABR and UBR connections.
To configure the number of best-effort connections, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the interface to be configured. |
| 2 | atm cac best-effort-limit conn-value | Configure the connection best-effort limit. |
The following example shows how to configure the connection best-effort limit configuration to 2000:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac best-effort-limit 2000
To display the interface best-effort configuration, use the following EXEC command:
| Command | Task |
|---|---|
show atm interface resource atm card/subcard/port [.vpt #] | Display the subinterface best-effort configuration. |
The following example shows the interface best-effort configuration with the switch processor feature card installed:
Switch# show atm interface resource atm 3/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Service Categories supported: cbr,vbr-rt,vbr-nrt,abr,ubr
Link Distance: 0 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Best effort connection limit: enabled 2000 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX
Minimum-cell-rate RX: none abr, none ubr
Minimum-cell-rate TX: none abr, none ubr
CDVT RX: none cbr, none vbr, none abr, none ubr
CDVT TX: none cbr, none vbr, none abr, none ubr
MBS: none vbr RX, none vbr TX
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 0 pvcs, 0 svcs
When a VCC is set up, you can specify per-flow (receive and transmit traffic) parameters. Traffic parameter limits may be configured independently by service category and traffic direction for the following:
To configure the traffic parameters, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the interface to be configured. |
| 2 | atm cac max-peak-cell-rate {cbr | vbr | abr | ubr} {receive | transmit} rate | Configure the connection maximum PCR. |
| 3 | atm cac max-sustained-cell-rate {receive | transmit} rate | Configure the connection SCR. |
| 4 | atm cac max-cdvt {abr | cbr | ubr | vbr} {receive | transmit} cell-count | Configure the connection maximum CDVT. |
| 5 | atm cac max-mbs {receive | transmit} cell-count | Configure the connection maximum MBS. |
| 6 | atm cac max-min-cell-rate {abr | ubr} {receive | transmit} rate | Configure the connection maximum MCR per service category flow. |
The following example shows how to configure the maximum PCR for for CBR connections on interface 3/0/0, specified in receive mode, to 100,000 kbps:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac max-peak-cell-rate cbr receive 100000
The following example shows how to configure the maximum SCR for connections on interface 3/0/0, specified in receive mode, to 60,000kbps:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac max-sustained-cell-rate receive 60000
The following example shows how to configure the maximum tolerance for CBR connections on interface 3/0/0, specified in receive mode, 75,000kbps:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac max-cdvt cbr receive 75000
To display the interface maximum individual traffic parameter configuration, use the following EXEC command:
| Command | Task |
|---|---|
Display the controlled link sharing configuration. |
The following example shows the interface maximum individual traffic configuration with switch processor feature card installed:
Switch# show atm interface resource atm 3/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Service Categories supported: cbr,vbr-rt,vbr-nrt,abr,ubr
Link Distance: 0 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Best effort connection limit: enabled 2000 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX
Minimum-cell-rate RX: none abr, none ubr
Minimum-cell-rate TX: none abr, none ubr
CDVT RX: none cbr, none vbr, none abr, none ubr
CDVT TX: none cbr, none vbr, none abr, none ubr
MBS: none vbr RX, none vbr TX
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
147743 abr RX, 147743 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 0 pvcs, 0 svcs
You can change the default cell delay variation tolerance (CDVT) and maximum burst size (MBS) to request for UPC of cells received on the interface for connections that do not individually request a CDVT or MBS value. Use the atm cdvt-default or atm mbs-default interface configuration commands. To reset the default CDVT for a particular service category to the default value, use the no form of this command.
You can specify CDVT or MBS for PVCs through a connection traffic table row. If no CDVT or MBS is specified in the row, then a per-interface, per-service category default is applied for purposes of UPC on the connection.
To configure the default CDVT and MBS parameters, perform the following task, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port | Specify an ATM interface and enter interface configuration mode. |
| 2 | atm cdvt-default {cbr | vbr-rt | vbr-nrt | abr | ubr} num | Configure the ATM CDVT default. |
| 3 | atm mbs-default {vbr-rt | vbr-nrt} num | Configure the ATM MBS default. |
The following example shows how to change the default tolerance for received cells on VBR-RT connections:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cdvt-default vbr-rt 4000
To display the ATM CDVT and MBS configuration, use the following EXEC commands:
| Command | Task |
|---|---|
Display the ATM VC CDVT configuration. | |
Display the ATM VP CDVT configuration. |
The following example shows the ATM CDVT and MBS configuration of an ATM VC:
Switch# show atm vc interface atm 0/0/3 0 100 Interface: ATM0/0/3, Type: oc3suni VPI = 0 VCI = 100 Status: UP Time-since-last-status-change: 00:00:08 Connection-type: PVC Cast-type: point-to-point Packet-discard-option: disabled Usage-Parameter-Control (UPC): pass Wrr weight: 32 Number of OAM-configured connections: 0 OAM-configuration: disabled OAM-states: Not-applicable Cross-connect-interface: ATM0/0/2, Type: oc3suni Cross-connect-VPI = 0 Cross-connect-VCI = 100 Cross-connect-UPC: pass Cross-connect OAM-configuration: disabled Cross-connect OAM-state: Not-applicable Threshold Group: 2, Cells queued: 0 Rx cells: 0, Tx cells: 0 Tx Clp0:0, Tx Clp1: 0 Rx Clp0:0, Rx Clp1: 0 Rx Upc Violations:0, Rx cell drops:0 Rx Clp0 q full drops:0, Rx Clp1 qthresh drops:0 Rx connection-traffic-table-index: 9999 Rx service-category: VBR-RT (Realtime Variable Bit Rate) Rx pcr-clp01: 40000 Rx scr-clp0 : 30000 Rx mcr-clp01: none![]()
Rx cdvt: 1024 (from default for interface)![]()
Rx mbs: 1024 (from default for interface) Tx connection-traffic-table-index: 9999 Tx service-category: VBR-RT (Realtime Variable Bit Rate) Tx pcr-clp01: 40000 Tx scr-clp0 : 30000 Tx mcr-clp01: none![]()
Tx cdvt: none![]()
Tx mbs: none
The following example shows the ATM CDVT and MBS configuration of an ATM VP:
Switch# show atm vp interface atm0/0/3 4 Interface: ATM0/0/3, Type: oc3suni VPI = 4 Status: UP Time-since-last-status-change: 00:00:10 Connection-type: PVP Cast-type: point-to-point Usage-Parameter-Control (UPC): pass Wrr weight: 32 Number of OAM-configured connections: 0 OAM-configuration: disabled OAM-states: Not-applicable Cross-connect-interface: ATM0/0/2, Type: oc3suni Cross-connect-VPI = 4 Cross-connect-UPC: pass Cross-connect OAM-configuration: disabled Cross-connect OAM-state: Not-applicable Threshold Group: 5, Cells queued: 0 Rx cells: 0, Tx cells: 0 Tx Clp0:0, Tx Clp1: 0 Rx Clp0:0, Rx Clp1: 0 Rx Upc Violations:0, Rx cell drops:0 Rx Clp0 q full drops:0, Rx Clp1 qthresh drops:0 Rx connection-traffic-table-index: 1 Rx service-category: UBR (Unspecified Bit Rate) Rx pcr-clp01: 7113539 Rx scr-clp01: none Rx mcr-clp01: none![]()
Rx cdvt: 1024 (from default for interface)![]()
Rx mbs: none Tx connection-traffic-table-index: 1 Tx service-category: UBR (Unspecified Bit Rate) Tx pcr-clp01: 7113539 Tx scr-clp01: none Tx mcr-clp01: none![]()
Tx cdvt: none![]()
Tx mbs: none
With interface service category support, you can configure which service categories call admission control will allow on an interface. You can configure interface service category support only on physical interfaces and shaped and hierarchical logical VP tunnel interfaces. The underlying VP for shaped and hierarchical VP tunnel logical interfaces must use the CBR service category. For shaped VP tunnels, only CBR VCs (by default) can migrate across the interface. However, the atm cac service-category command can be used to configure a service category other than CBR for VCs within a shaped VP tunnel. This configuration ensures that your switch shapes traffic according to the aggregate VP traffic contract prior to entry to a service provider network.
For physical interfaces and hierarchical VP tunnels, all service category VCs (by default) can migrate across the interface. However, the atm cac service-category command can be used to explicitly allow or prevent VCs of specified service categories to migrate across the interface.
Table 8-9 shows the service category of the shaped VP (always CBR), the service categories you can configure for transported VCs, and a suggested transit VP service category for the tunnel.
| Shaped VP Tunnel Service Category | VC Service Category | Suggested Transit VP Service Category |
|---|---|---|
CBR | CBR | CBR |
CBR | VBR | CBR or VBR |
CBR | ABR1 | CBR or VBR |
CBR | UBR | Any service category |
| 1We recommend ABR only if the transit VP is set up so that congestion occurs at the shaped tunnel, not in the transit VP. |
The following restrictions apply to interface service category support:
To configure a service category on an interface, perform the following tasks, beginning in global configuration mode:
| Step | Command | Task |
|---|---|---|
| 1 | interface atm card/subcard/port [.vpt #] | Select the interface to be configured. |
| 2 | atm cac service-category {cbr | vbr-rt | vbr-nrt | abr | ubr} {permit | deny} | Configure the service category on the interface. |
The following example shows how to configure the ABR service category on ATM interface 3/0/0:
Switch(config)# interface atm 3/0/0 Switch(config-if)# atm cac service-category cbr deny Switch(config-if)# atm cac service-category abr permit
To display the service category configured on an interface, use the following EXEC command:
| Command | Task |
|---|---|
show atm interface resource atm card/subcard/port[.vpt #] | Display the controlled link sharing configuration. |
The following example shows the service category configuration:
Switch> show atm interface resource atm 3/0/0
Resource Management configuration:
Service Classes:
Service Category map: c1 cbr, c2 vbr-rt, c3 vbr-nrt, c4 abr, c5 ubr
Scheduling: RS c1 WRR c2, WRR c3, WRR c4, WRR c5
WRR Weight: 8 c2, 1 c3, 1 c4, 1 c5
Pacing: disabled 0 Kbps rate configured, 0 Kbps rate installed
Service Categories supported: cbr,vbr-rt,vbr-nrt,ubr
Link Distance: 0 kilometers
Controlled Link sharing:
Max aggregate guaranteed services: none RX, none TX
Max bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Min bandwidth: none cbr RX, none cbr TX, none vbr RX, none vbr TX,
none abr RX, none abr TX, none ubr RX, none ubr TX
Best effort connection limit: disabled 0 max connections
Max traffic parameters by service (rate in Kbps, tolerance in cell-times):
Peak-cell-rate RX: none cbr, none vbr, none abr, none ubr
Peak-cell-rate TX: none cbr, none vbr, none abr, none ubr
Sustained-cell-rate: none vbr RX, none vbr TX
Minimum-cell-rate RX: none abr, none ubr
Minimum-cell-rate TX: none abr, none ubr
CDVT RX: none cbr, none vbr, none abr, none ubr
CDVT TX: none cbr, none vbr, none abr, none ubr
MBS: none vbr RX, none vbr TX
Resource Management state:
Available bit rates (in Kbps):
147743 cbr RX, 147743 cbr TX, 147743 vbr RX, 147743 vbr TX,
0 abr RX, 0 abr TX, 147743 ubr RX, 147743 ubr TX
Allocated bit rates:
0 cbr RX, 0 cbr TX, 0 vbr RX, 0 vbr TX,
0 abr RX, 0 abr TX, 0 ubr RX, 0 ubr TX
Best effort connections: 1 pvcs, 0 svcs
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 2 10:23:44 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.