[j-nsp] MX80 TPIDs

sthaug at nethelp.no sthaug at nethelp.no
Wed Aug 20 02:28:55 EDT 2014


> Would anyone care to share a config example that would allow outer TPID 
> translation between two different ports on an MX80?  The scenario is 
> receiving q-in-q traffic from a carrier that only supports a TPID of 
> 0x9100 on the outer tag (inner tag is still 0x8100).  Our internal 
> network is all 0x8100 for both inner and outer tags.  I would like to be 
> able to pass all inner vlan tags (ie I don't know what tags the customer 
> uses).

Something like the following should do the trick:

router# show protocols connections interface-switch tpidrewrite
interface ge-1/0/0.123;
interface ge-1/1/1.123;

router# show interfaces ge-1/0/0
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
gigether-options {
    ethernet-switch-profile {
        tag-protocol-id [ 0x8100 0x9100 ];
    }
}
unit 123 {
    encapsulation vlan-ccc;
    vlan-tags outer 123;
    input-vlan-map pop;
    output-vlan-map {
        push;
        tag-protocol-id 0x9100;
    }
}

router# show interfaces ge-1/1/1
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 123 {
    encapsulation vlan-ccc;
    vlan-tags outer 123;
    input-vlan-map pop;
    output-vlan-map push;
}

Steinar Haug, Nethelp consulting, sthaug at nethelp.no


More information about the juniper-nsp mailing list