Date created: 02/10/19 16:17:15. Last modified: 02/10/19 16:47:31

Pseudowire Stitching

Topology:

In this example topology the as101.lab PE (ALU 7210-X) has a pseudowire and backup pseudowire configured to the stitching PE sr12.lab (ALU 7750-SR12). The stitching PE connects to two target PEs, the access layer PE as101.lab and the core PE sr15.lab (ALU 7750-SR12). In a production network the S-PE would ideally connect to two different core T-PEs and stitch the pseudowire from as101.lab to sr15.lab and the backup pseudowire to a separate T-PE but this is just a lab example, so the same PE is used.

Port 1/1/17 on as101.lab is pseudowired to port 3/1/20 on sr15.lab with sr15.lab pushing/popping VLAN tag 101 to simulate a S-tagged ENNI handover:


  +--------------+
| | 10G:1/1/7
| sr15.lab +-----------+
+-----------+ | |
|1G:3/1/20 +--------------+ |
| 10.0.0.250 |
| |
|1G:5/10 | 10G:1/1/3
+------+ +-----+------+
| | | |
| Ixia | 10.0.0.251 | sr12.lab |
| | | |
++-----+ +-----+------+
|1G:5/1 | 10G:1/1/2
| |
| 10.0.0.224 |
| 1G:1/1/17 +-------------+ |
+-----------+ | |
| as101.lab +------------+
| | 10G:1/1/25
+-------------+

 

L2 VPN Configs:

Below are the L2 VPN configs assuming a working IGP.

as101.lab:


port 1/1/17 description "To Ixia:5/1" ethernet mode access access exit encap-type null mtu 1800 no autonegotiate exit no shutdown exit qos sap-ingress 10101 create description description "Ingress Policer 100Mbps" num-qos-classifiers 32 # This could probably be 2 meter 1 create mode trtcm2 adaptation-rule cir max pir max rate cir 100000 pir 100000 exit exit service customer 101 create description "Test" exit sdp 251 mpls create description "sr12.lab" far-end 10.0.0.251 ldp path-mtu 2000 keep-alive shutdown exit no shutdown exit epipe 10101 customer 101 svc-sap-type any create description "100M Active/Standby" service-mtu 1800 service-name "100M - Active/Standby" endpoint "Local" create exit endpoint "Remote" create standby-signaling-master exit sap 1/1/17 endpoint "Local" create description "100M Active" ingress qos 10101 exit egress exit exit spoke-sdp 251:1 endpoint "Remote" create description "100M Active as101.lab:sr12.lab" precedence primary no shutdown exit spoke-sdp 251:2 endpoint "Remote" create description "100M Standby as101.lab:sr12.lab" precedence 1 no shutdown exit no shutdown exit exit

 

sr12.lab:


service sdp 250 mpls create description "sr15.lab" far-end 10.0.0.250 ldp path-mtu 8192 keep-alive shutdown exit no shutdown exit sdp 224 mpls create description "as101.lab" far-end 10.0.0.224 ldp path-mtu 2000 keep-alive shutdown exit no shutdown exit customer 101 create description "Test" exit epipe 10101 customer 101 vc-switching create description "100M Active/Standby" service-mtu 1800 service-name "100M - Active" spoke-sdp 224:1 create description "as101.lab:sr12.lab" no shutdown exit spoke-sdp 250:1 create description "sr12.lab:sr15.lab" no shutdown exit no shutdown exit epipe 10102 customer 101 vc-switching create description "100M Active/Standby" service-mtu 1800 service-name "100M - Backup" spoke-sdp 224:2 create description "as101.lab:sr12.lab" no shutdown exit spoke-sdp 250:2 create description "sr12.lab:sr15.lab" no shutdown exit no shutdown exit exit

 

sr15.lab:

port 3/1/20
    description "Ixia:5/10"
    ethernet
        mode access 
        access
            exit
        encap-type qinq
        mtu 1804
        exit
    no shutdown
    exit

qos
    sap-ingress 10101 create
        description "Ingress Policer 100Mbps"
        queue 1 create
        exit
        queue 11 multipoint create
        exit
        policer 1 create
            rate 100000 cir 100000
        exit
        fc "af" create
            policer 1
        exit
        default-fc "af"

service
    customer 120 create
        description "Test"
        exit

    sdp 251 mpls create
        description "sr12.lab"
        far-end 10.0.0.251
        ldp
        path-mtu 2000
        keep-alive
            shutdown
            exit
        no shutdown
        exit

    epipe 10101 customer 120 create
        description "100M Active/Standby"
        service-mtu 1800          
        service-name "100M - Active"
        endpoint "Local" create
            exit
        endpoint "Remote" create
            standby-signaling-slave
            exit
        sap 3/1/20:101.* endpoint "Local" create
            description "100M Active"
            ingress
                qos 10101
                exit
            no shutdown
            exit
        spoke-sdp 251:1 endpoint "Remote" create
            description "100M Active sr15.lab:sr12.lab"
            precedence primary
            no shutdown
            exit
        spoke-sdp 251:2 endpoint "Remote" create
            description "100M Standby sr15.lab:sr12.lab"
                exit
            precedence 1
            no shutdown
            exit
        no shutdown
        exit
    exit

 

Full Configs:

as101.lab

sr12.lab

sr15.lab