SAR

P

N-to-1 Apipe configuration with N > 1 & ATM Virtual Trunking

Last Updated: 2012-03-12

Issue Version 1.0








Introduction

An Apipe service is an ATM pseudo-wire (PW) that provides a bi-directional point-to-point layer 2 connection of ATM service between two users/sites through an IP/MPLS network. ATM cells received on the ATM SAP are encapsulated into PW packets to be transported over IP/MPLS tunnels.

 

In release 1.0, the 7705 SAR only supported the Apipe service with N:1 cell mode where N=1, which implies that only one VCC or VPC is mapped to an Apipe. As of release 5.0.R1, the 7705 SAR supports the N:1 cell mode where N ≥ 1, that means that more than one ATM VCC (SAP) can be mapped to an Apipe.

 

ATM cell mode with virtual trunking (VT) is also supported as of release 5.0.R1. ATM virtual trunking provides a wire emulation service between two ATM ports, thus allowing the migration of existing ATM networks to a next-generation IP/MPLs infrastructure with ease.

 

Setup

 

Figure 1 - Network setup

 

Note: The 7470 is used to cross-connect the ATM traffic generated from the Adtech tester to the PE-1 ASAP ports 1/2/ [1, 2, 3].

Apipe creation

Configuration

 

All ASAP ports, which will be used as ATM SAPs, must be configured with the following:

configure

    port <port-id>

        tdm

            ds1

                channel-group 1

                    encap-type atm

                    atm

                    exit

                    no shutdown

                exit

                no shutdown

            exit

        exit

        no shutdown

 

The ASAP ports can either be all DS1s or E1s.

 

PE-1, PE-2, and PE-3 have been pre-configured with the required CLI commands to enable full IP/MPLS reach-ability between them. Please refer to R1.0 configuration notes for those configuration commands.

 

 

 

 

 

ATM N >1 configuration between two 7705 SARs (PE-1 & PE-2) – multiple SAPs to multiple SAPs:

 

PE-1 and PE-2 have been configured with Apipe service 101, where multiple ATM SAPs in PE-1 and PE-2 are bond to the same sap-aggregation-group. The optional vcid-translation has been used to ensure unique VPI/VCI within the ATM PW.

 

PE-1 (10.10.10.125) configuration:

A:SAR8-125# configure service apipe 101 customer 2701 vc-type atm-vcc

A:SAR8-125>config>service>apipe# info

----------------------------------------------

            description "N>1 with 7705 SAR"

            sap-aggregation-group "with_SAR43" create

            exit

            sap 1/2/1.1:1/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 11/32

                exit

            exit

            sap 1/2/2.1:1/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 12/32

                exit

            exit

            sap 1/2/3.1:3/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 13/32

                exit

            exit

            sap 1/2/3.1:4/32 sap-aggregation-group "with_SAR43" create

            exit

            spoke-sdp 243:101 create

                cell-concatenation

                    max-cells 4

                    max-delay 10

                exit

            exit

            no shutdown

----------------------------------------------

 

 

PE-2 (10.10.10.43) configuration:

A:SARF-43# configure service apipe 101 customer 2701 vc-type atm-vcc

A:SARF-43>config>service>apipe# info

----------------------------------------------

            description "N>1 with 7705 SAR"

            sap-aggregation-group "with_SAR125" create

            exit

            sap 1/1/11.1:11/32 sap-aggregation-group "with_SAR125" create

            exit

            sap 1/1/12.1:11/32 sap-aggregation-group "with_SAR125" create

                atm

                    vcid-translation 4/32

                exit

            exit

            sap 1/1/12.1:12/32 sap-aggregation-group "with_SAR125" create

            exit

            sap 1/1/13.1:13/32 sap-aggregation-group "with_SAR125" create

            exit

            spoke-sdp 2125:101 create

                cell-concatenation

                    max-cells 4

                    max-delay 10

                exit

            exit

            no shutdown

----------------------------------------------

 

 

 

ATM N >1 configuration between the 7705 SAR (PE-1) multiple SAPs and 7750 SR (PE-3) single SAP:

 

PE-1 and PE-3 have been configured with Apipe service 201. The ATM SAPs in PE-1 are bond together using the same sap-aggregation-group “with_SR181” and then aggregated to one SAP endpoint in PE-3.

 

PE-1 (10.10.10.125) configuration:

A:SAR8-125# configure service apipe 201 customer 2701 vc-type atm-vcc

A:SAR8-125>config>service>apipe# info

----------------------------------------------

            description "N>1 with 7750 SR"

            sap-aggregation-group "with_SR181" create

            exit

            sap 1/2/1.1:1/50 sap-aggregation-group "with_SR181" create

            exit

            sap 1/2/2.1:2/50 sap-aggregation-group "with_SR181" create

            exit

            sap 1/2/3.1:3/50 sap-aggregation-group "with_SR181" create

            exit

            spoke-sdp 2181:102 create

            exit

            no shutdown

----------------------------------------------

 

PE-3 (10.10.191.181) configuration:

 

1.     Create a connection profile that contains the list of expected VPI/VCI in the N > 1 Apipe from the remote end (i.e. PE-1).  

A:SR7_181# configure connection-profile 2701

A:SR7_181>config>connprof# info

----------------------------------------------

        description "ATM N>1"

        member "1/50" create

        exit

        member "2/50" create

        exit

        member "3/50" create

        exit

----------------------------------------------

 

2.     Configure Apipe service with atm-cell vc-type.

3.     Configure ATM VCC VC signal type override using this command <signaled-vc-type-override atm-vcc>.

4.     Assign a new ATM SAP that refers to the pre-configured ATM connection profile number.

A:SR7_181# configure service apipe 201 customer 2701 vc-type atm-cell

A:SR7_181>config>service>apipe# info

----------------------------------------------

            description "N>1 ATM"

            signaled-vc-type-override atm-vcc

            sap 1/2/1:cp.2701 create

                atm

                exit

            exit

            spoke-sdp 2125:102 create

            exit

            no shutdown

----------------------------------------------

 

 

 

 

 

 

Verification and troubleshooting

 

Verify that the services are up, including the SAPs and SDPs between the two 7705 SARs:

A:SAR8-125# show service id 101 base

 

===============================================================================

Service Basic Information

===============================================================================

Service Id        : 101

Service Type      : Apipe               VLL Type          : ATMVCC

Description       : N>1 with 7705 SAR

Customer Id       : 2701

Last Status Change: 10/24/2011 15:14:23

Last Mgmt Change  : 10/24/2011 20:36:03

Admin State       : Up                  Oper State        : Up

MTU               : 1508

Vc Switching      : False

SAP Count         : 4                   SDP Bind Count    : 1

 

-------------------------------------------------------------------------------

Service Access & Destination Points

-------------------------------------------------------------------------------

Identifier                               Type         AdmMTU  OprMTU  Adm  Opr

-------------------------------------------------------------------------------

with_SAR43

  sap:1/2/1.1:1/32                       atm          1524    1524    Up   Up

  sap:1/2/2.1:1/32                       atm          1524    1524    Up   Up

  sap:1/2/3.1:3/32                       atm          1524    1524    Up   Up

  sap:1/2/3.1:4/32                       atm          1524    1524    Up   Up

sdp:243:101 S(10.10.10.43)               n/a          0       1550    Up   Up

===============================================================================

 

A:SARF-43# show service id 101 base

 

===============================================================================

Service Basic Information

===============================================================================

Service Id        : 101

Service Type      : Apipe               VLL Type          : ATMVCC

Description       : N>1 with 7705 SAR

Customer Id       : 2701

Last Status Change: 10/24/2011 11:13:50

Last Mgmt Change  : 10/24/2011 16:36:33

Admin State       : Up                  Oper State        : Up

MTU               : 1508

Vc Switching      : False

SAP Count         : 4                   SDP Bind Count    : 1

 

-------------------------------------------------------------------------------

Service Access & Destination Points

-------------------------------------------------------------------------------

Identifier                               Type         AdmMTU  OprMTU  Adm  Opr

-------------------------------------------------------------------------------

with_SAR125

  sap:1/1/11.1:11/32                     atm          1524    1524    Up   Up

  sap:1/1/12.1:11/32                     atm          1524    1524    Up   Up

  sap:1/1/12.1:12/32                     atm          1524    1524    Up   Up

  sap:1/1/13.1:13/32                     atm          1524    1524    Up   Up

sdp:2125:101 S(10.10.10.125)             n/a          0       1550    Up   Up

===============================================================================

 

 

 

 

 

 

 

Verify that the services are up, including the SAPs and SDPs between the 7705 SAR and the 7750 SR:

A:SAR8-125# show service id 201 base

 

===============================================================================

Service Basic Information

===============================================================================

Service Id        : 201

Service Type      : Apipe               VLL Type          : ATMVCC

Description       : N>1 with 7750 SR

Customer Id       : 2701

Last Status Change: 10/24/2011 20:32:58

Last Mgmt Change  : 10/24/2011 20:35:46

Admin State       : Up                  Oper State        : Up

MTU               : 1508

Vc Switching      : False

SAP Count         : 3                   SDP Bind Count    : 1

 

-------------------------------------------------------------------------------

Service Access & Destination Points

-------------------------------------------------------------------------------

Identifier                               Type         AdmMTU  OprMTU  Adm  Opr

-------------------------------------------------------------------------------

with_SR181

  sap:1/2/1.1:1/50                       atm          1524    1524    Up   Up

  sap:1/2/2.1:2/50                       atm          1524    1524    Up   Up

  sap:1/2/3.1:3/50                       atm          1524    1524    Up   Up

sdp:2181:102 S(10.10.191.181)            n/a          0       1550    Up   Up

===============================================================================

 

A:SR7_181# show service id 201 base

 

===============================================================================

Service Basic Information

===============================================================================

Service Id        : 201                 Vpn Id            : 0

Service Type      : Apipe               VLL Type          : ATMCell

Name              : (Not Specified)

Description       : N>1 ATM

Customer Id       : 2701

Last Status Change: 10/24/2011 16:32:25

Last Mgmt Change  : 10/24/2011 16:32:25

Admin State       : Up                  Oper State        : Up

MTU               : 1508                Signaling Override: ATMVCC

Vc Switching      : False

SAP Count         : 1                   SDP Bind Count    : 1

 

-------------------------------------------------------------------------------

Service Access & Destination Points

-------------------------------------------------------------------------------

Identifier                               Type         AdmMTU  OprMTU  Adm  Opr

-------------------------------------------------------------------------------

sap:1/2/1:cp.2701                        atm          1524    1524    Up   Up

sdp:2125:102 S(10.10.10.125)             Spok         0       1550    Up   Up

===============================================================================

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Verify the ATM connections on the ATM ports (only the show output for port 1/2/1.1 is displayed below):

A:SAR8-125# show port 1/2/1.1 atm connections

 

================================================================

ATM Connections, Port 1/2/1.1

================================================================

           Owner  Type     Ing.TD  Egr.TD  Adm  OAM         Opr

----------------------------------------------------------------

1/32       SAP    PVC      1       1       up   up          up

1/50       SAP    PVC      1       1       up   up          up

================================================================

 

Verify the ATM stats per VC on the ATM ports (only the show output for port 1/2/1.1 is displayed below):

A:SAR8-125# show port 1/2/1.1 atm pvc detail

 

================================================================

ATM PVCs, Port 1/2/1.1

================================================================

VPI/VCI    Owner  Type     Ing.TD  Egr.TD  Adm  OAM         Opr

----------------------------------------------------------------

1/32       SAP    PVC      1       1       up   up          up

 

===============================================================================

ATM Statistics

===============================================================================

                                                   Input                 Output

-------------------------------------------------------------------------------

Octets                                         172664354              172664354

Cells                                            3257818                3257818

CLP=0 Cells                                            0                3257818

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

===============================================================================

 

===============================================================================

ATM OAM Statistics

===============================================================================

                                                   Input                 Output

-------------------------------------------------------------------------------

Loopback                                               0                      0

OAM Cells (generated)                                  0                      0

===============================================================================

 

================================================================

ATM PVCs, Port 1/2/1.1

================================================================

VPI/VCI    Owner  Type     Ing.TD  Egr.TD  Adm  OAM         Opr

----------------------------------------------------------------

1/50       SAP    PVC      1       1       up   up          up

 

===============================================================================

ATM Statistics

===============================================================================

                                                   Input                 Output

-------------------------------------------------------------------------------

Octets                                         278103243              278103243

Cells                                            5247231                5247231

CLP=0 Cells                                            0                5247231

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

===============================================================================

 

===============================================================================

ATM OAM Statistics

===============================================================================

                                                   Input                 Output

-------------------------------------------------------------------------------

Loopback                                               0                      0

OAM Cells (generated)                                  0                    124

To clear the ATM stats for a specific VPI/VCI within the ATM port, use the following command:

clear port 1/2/1.1 atm pvc 1/32 statistics

 

To clear the ATM stats for all configured VPI/VCI within the ATM port, use the following command:

clear port 1/2/1.1 atm pvc statistics

 

To monitor the ATM stats for a specific VPI/VCI, use the following command:

A:SAR8-125# monitor port 1/2/1.1 atm pvc 1/32 rate

 

===============================================================================

Monitor ATM statistics for ATM VCL 1/2/1.1:1/32

===============================================================================

                                                   Input                 Output

-------------------------------------------------------------------------------

-------------------------------------------------------------------------------

At time t = 0 sec (Base Statistics)

-------------------------------------------------------------------------------

Octets                                          55528524               55528418

Cells                                            1047708                1047706

CLP=0 Cells                                            0                1047706

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

 

-------------------------------------------------------------------------------

At time t = 10 sec (Mode: Rate)

-------------------------------------------------------------------------------

Octets                                             62519                  62519

Cells                                               1180                   1180

CLP=0 Cells                                            0                   1180

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

Utilization (% of port capacity)                   32.56                  32.56

 

-------------------------------------------------------------------------------

At time t = 20 sec (Mode: Rate)

-------------------------------------------------------------------------------

Octets                                             62519                  62519

Cells                                               1180                   1180

CLP=0 Cells                                            0                   1180

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

Utilization (% of port capacity)                   32.56                  32.56

 

-------------------------------------------------------------------------------

At time t = 30 sec (Mode: Rate)

-------------------------------------------------------------------------------

Octets                                             62439                  62439

Cells                                               1178                   1178

CLP=0 Cells                                            0                   1178

Dropped CLP=0 Cells                                    0                      0

Dropped Cells (CLP=0+1)                                0

Tagged Cells                                           0

Utilization (% of port capacity)                   32.52                  32.52

 

-------------------------------------------------------------------------------

 

<output omitted>…

 

 

 

 

If the VPI/VCI values configured within the same ATM PW are not unique (i.e. within the same sap-aggregation-group including the vcid-translation values), the SAPs with duplicate VPI/VCI are set to operationally status down with flag “ApipeSapVcIdNotUnique”.

*A:SAR8-125# configure service apipe 101

*A:SAR8-125>config>service>apipe# info

----------------------------------------------

            description "N>1 with 7705 SAR"

            sap-aggregation-group "with_SAR43" create

            exit

            sap 1/2/1.1:1/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 4/32

                exit

            exit

            sap 1/2/2.1:1/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 12/32

                exit

            exit

            sap 1/2/3.1:3/32 sap-aggregation-group "with_SAR43" create

                atm

                    vcid-translation 13/32

                exit

            exit

            sap 1/2/3.1:4/32 sap-aggregation-group "with_SAR43" create

            exit

            spoke-sdp 243:101 create

                cell-concatenation

                    max-cells 4

                    max-delay 10

                exit

            exit

            no shutdown

----------------------------------------------

 

*A:SAR8-125_CP# show service id 101 sap

 

===============================================================================

SAP(Summary), Service 101

===============================================================================

PortId                          SvcId      Ing.  Ing.    Egr.  Egr.   Adm  Opr

                                           QoS   Fltr    QoS   Fltr

-------------------------------------------------------------------------------

  1/2/1.1:1/32                                                        Up   Down

  1/2/2.1:1/32                                                        Up   Up

  1/2/3.1:3/32                                                        Up   Up

  1/2/3.1:4/32                                                        Up   Down

-------------------------------------------------------------------------------

Number of SAPs : 4

-------------------------------------------------------------------------------

===============================================================================

 

*A:SAR8-125# show service id 101 sap 1/2/1.1:1/32

 

===============================================================================

Service Access Points(SAP)

===============================================================================

Service Id         : 101

SAP                : 1/2/1.1:1/32             Encap             : atm

Description        : (Not Specified)

Admin State        : Up                       Oper State        : Down

Flags              : ApipeSapVcIdNotUnique

Multi Svc Site     : None

Last Status Change : 10/25/2011 19:21:58

Last Mgmt Change   : 10/25/2011 19:21:58

Sap Aggregation Gr*: with_SAR43

===============================================================================

* indicates that the corresponding row element may have been truncated.

ATM Virtual Trunking (VT)

 

ATM virtual trunking can be configured in both distributed SAP and SAP-to-SAP service modes.

 

The configuration of the ATM virtual trunking is similar to the regular Apipe configuration; the only difference is that the vc-type is set to “atm-cell” instead of “atm-vcc”.

 

PE-2 (10.10.10.43) SAP-to-SAP configuration:

A:SARF-43# configure service apipe 401 customer 2701 vc-type atm-cell

A:SARF-43>config>service>apipe# info

----------------------------------------------

            description "R5.0 ATM VT SAP to SAP"

            sap 1/1/15.1 create

            exit

            sap 1/1/16.1 create

            exit

            no shutdown

----------------------------------------------

 

The above example shows virtual trunking configuration in ATM SAP-to-SAP service mode.