[j-nsp] Basic Implementation of VLAN/LogicalPort across MPLS

Eric Van Tol eric at atlantech.net
Wed Jul 8 05:34:18 EDT 2015


> interfaces {
>     ae0 {
>         aggregated-ether-options {
>             lacp {
>             active;
>         }
>         vlan-tagging;
>         encapsulation flexible-ethernet-services;
>         unit 10 {
>             encapsulation vlan-ccc;
>             vlan-id 10;
>         }
>         unit 20 {
>             encapsulation vlan-ccc;
>             vlan-id 20;
>         }
>     }

Additionally, if you need to transport a single VLAN on one side to a full port on the other, you need to pop the VLAN on ingress (and push on egress) into (and out of) the tunnel:

unit 10004 {
    description "To Port-Based EoMPLS";
    encapsulation vlan-ccc;
    vlan-id 2123;
    input-vlan-map pop;
    output-vlan-map push;
    family ccc;
}


More information about the juniper-nsp mailing list