Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring Shaping on an ATM IMA Pseudowire

 

The following example shows the configuration of shaping on an ATM IMA pseudowire. On ACX Series routers, the ATM shaper is applied on the egress logical (unit) interface.

Note

This example is not applicable on ACX5048 and ACX5096 routers.

Requirements

This example uses the following hardware and software components:

Overview

In this example, an ATM IMA pseudowire logical interfaces (unit 0) is configured with two egress ATM shapers—profile-1 and profile-2. The ATM shaping profiles are configured with the following parameters:

  • atm-service—ATM service category used to define the bit rate at which traffic is policed.

  • peak-rate—Top rate at which traffic can burst. This is a mandatory statement that must be included for the configuration to work correctly.

  • sustained-rate—Normal traffic rate averaged over time.

  • maximum-burst-size—Maximum number of cells that a burst of traffic can contain.

In addition to the configuration of shaping, this example includes the configuration of tracing operations for the class-of-service (CoS) configuration.

Configuration

To configure shaping on an ATM IMA pseudowire, perform these tasks:

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them in a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level:

Configuring Shaping on an ATM IMA Pseudowire

Step-by-Step Procedure

The following steps require you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure shaping on an ATM IMA pseudowire:

  1. In configuration mode, go to the [edit class-of-service] hierarchy level:
  2. Specify the first traffic control profile:
  3. Specify the ATM real-time variable bit rate rtvbr service traffic category:
  4. Define the largest number of cells per second that the shaper processes before it drops packets:
  5. Define the normal traffic rate averaged over time, from 61 cps through 38,641 cps:
  6. Define the maximum number of cells that a burst of traffic can contain, from 1 through 4000 cells:
  7. Specify the second traffic control profile:
  8. Specify the ATM constant bit rate cbr service traffic category:
  9. Define the largest number of cells per second that the shaper processes before it drops packets:
  10. Define the largest number of cells per second that the shaper processes before it drops packets:
  11. Apply the first shaping traffic profile to the ATM IMA pseudowire logical interface:
  12. Configure the per-unit scheduler:

Configuring Tracing Operations

Step-by-Step Procedure

To define tracing operations for the class-of-service (CoS) configuration:

  1. Configure class-of-service (CoS) tracing options:
  2. Create the file to receive the tracing operation output:
  3. Define the maximum size of the file:
  4. Specify the tracing operation to perform:

Results

From configuration mode, confirm your configuration by entering the show command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

After you have completed the configuration, enter the commit command from configuration mode.