Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring ATM Cell-Relay Pseudowire VPI/VCI Swapping

 

Starting in Junos OS Release 12.1, on MX Series routers with ATM MIC with SFP, you can configure the ATM MIC to swap the VPI value, the VCI value, or both. You can also disable swapping of the VPI or VCI values. You can opt to swap the VPI and VCI values in both directions (ingress and egress). You can also enable swapping only on the egress side. In VPC mode, only the VPI values are swapped.

You can configure the ATM MIC on the local PE router to swap only VPI values in both directions when the remote PE router does not perform any swapping. If the remote PE router performs egress swapping by default, you can configure the ATM MIC on the local PE router to swap only in the egress direction. If you want to disable swapping, you can configure both the local and remote PE router to disable swapping.

This topic includes the following tasks:

Configuring VPI Swapping on Egress and Ingress on ATM MICs

This procedure describes the steps to configure swapping on the local PE router where the ATM MIC swaps in both directions (egress and ingress). You can also explicitly disable swapping on the remote PE router.

Note

The configuration included here is specific to VPI or VCI swapping and does not include the entire ATM pseudowire configuration. For information on ATM pseudowire configuration, see Configuring ATM Cell-Relay Pseudowire

To configure the local PE router to perform swapping in both directions:

  1. To specify the VPI value as 1 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  2. To specify the PSN identifier as 11 on unit 1, include the psn-vpi psn-vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  3. To specify the VPI value as 2 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  4. To specify the PSN identifier as 11 on unit 2, include the psn-vpi psn-vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  5. To verify the configuration, you can issue the following operational mode command in configuration mode:

To disable swapping by the remote PE router:

  1. To specify the VPI value as 11 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  2. To disable swapping on the remote PE router on unit 1, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  3. To specify the VPI value as 11 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  4. To disable swapping on the remote PE router on unit 2, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  5. To verify the configuration, you can issue the following operational mode command in configuration mode:

Configuring Egress Swapping on ATM MICs

If the remote PE router only performs egress swapping, you must configure the local PE router to perform egress swapping as well. This procedure describes the steps to configure egress swapping on both the local and remote PE routers.

Note

The configuration included here is specific to VPI or VCI swapping and does not include the entire ATM pseudowire configuration. For information on ATM pseudowire configuration, see Configuring ATM Cell-Relay Pseudowire

To configure the local PE router to perform egress swapping:

  1. To specify the VPI value as 1 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  2. To specify the VPI value as 2 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  3. To verify the configuration, you can issue the following operational mode command in configuration mode:

To configure the remote PE router:

  1. To specify the VPI value as 11 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level:
  2. To specify the VPI value as 11 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level:
  3. To verify the configuration, you can issue the following operational mode command in configuration mode:

Disabling Swapping on Local and Remote Provider Edge Routers

To explicitly disable swapping, you must use the no-vpivci-swapping statement. When cell relay of many VPCs and VCCs happens over the same pseudowire, it is recommended that you explicitly disable swapping. This procedure describes the steps to explicitly disable swapping on both the local and remote provider edge (PE) routers.

Note

The configuration included here is specific to VPI or VCI swapping and does not include the entire ATM pseudowire configuration. For information on ATM pseudowire configuration, see Configuring ATM Cell-Relay Pseudowire

To disable swapping on the local PE router:

  1. To specify the VPI value as 1 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  2. To disable swapping, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  3. To specify the VPI value as 2 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  4. To disable swapping, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  5. To verify the configuration, you can issue the following operational mode command in configuration mode:

To disable swapping on the remote PE router:

  1. To specify the VPI value as 1 on unit 1, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  2. To disable swapping on unit 1, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  3. To specify the VPI value as 2 on unit 2, include the vpi vpi-identifier statement at the [edit interfaces interface-name] hierarchy level.
  4. To disable swapping on unit 2, include the no-vpivci-swapping statement at the [edit interfaces interface-name] hierarchy level.
  5. To verify the configuration, you can issue the following operational mode command in configuration mode: