Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring Policing on an ATM IMA Pseudowire

 

This example shows the configuration of policing on an ATM IMA pseudowire. On ACX Series routers, the ATM policer is an input policer that is applied to the ATM IMA logical interface. The ATM IMA logical interface must have the circuit cross-connect (CCC) encapsulation family configured for the configuration to work.

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, the ATM IMA pseudowire logical interfaces (unit 0, unit 1 and unit 2) are configured with three input ATM policers—policer-1, policer-2, and policer-3. The ATM policers are configured with the following parameters:

  • logical-interface-policer—The logical interface policer is configured explicitly on each logical interface (unit).

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

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

  • sustained-rate—The sustained rate is the normal traffic rate averaged over time.

  • maximum-burst-size—The maximum burst size is the maximum number of cells that a burst of traffic can contain.

  • cdvt—The Cell Delay Variation Tolerance is a mandatory statement that must be included for the configuration to work correctly.

  • policing-action—The specified policing action used when the traffic exceeds the limits set for the policer.

Configuration

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 policing 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 an ATM Policer

Step-by-Step Procedure

To configure the ATM policer, which is applied to the logical ATM IMA pseudowire:

  1. Define the policer:
  2. Specify the parameters for policer-1:
  3. Specify the parameters for policer-2:
  4. Specify the parameters for policer-3:

    After you have configured the ATM policers, enter the commit command from configuration mode.

Applying the ATM Policer on the ATM IMA Logical Interface

Step-by-Step Procedure

To create the ATM IMA logical interface on which to apply the ATM policers:

  1. Define the ATM interface:
  2. Specify the ATM interface unit and apply the first input policer:
  3. Specify the encapsulation family type for unit 0:
  4. Specify the ATM interface unit and apply the second input policer:
  5. Specify the encapsulation family type for unit 1:
  6. Specify the ATM interface unit and apply the third input policer:
  7. Specify the encapsulation family type for unit 2:

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.