[j-nsp] QinQ in QFX5100

Giuliano Medalha giuliano at wztech.com.br
Mon Nov 24 11:40:17 EST 2014


Not possible.

We have a J-TAC case about it ...

You will need to change the way you configure the trunk port ... only in a
new BRIDGE way ... will work.



We did the same think using EX4300 here ... same ELS software and new way
to configure:






========

Topology:

========



X__CE1__X ge-0/0/0 ------ ge-0/0/0 X__PE1__X ge-0/2/0 ------ ge-0/0/32
X__PE2__X ge-0/0/0 ------ ge-0/0/0 X__CE2__X



=========

X__CE1__X:

=========



root at X__CE1__X# show interfaces ge-0/0/0

unit 0 {

    family ethernet-switching {

        port-mode trunk;

        vlan {

            members 10;



root at X__CE1__X# show vlans v10

vlan-id 10;

l3-interface vlan.10;



root at X__CE1__X# run show vlans v10

Name           Tag     Interfaces

v10            10

                       ge-0/0/0.0*



root at X__CE1__X# run show interfaces terse vlan

Interface               Admin Link Proto    Local                 Remote

vlan                     up    up

vlan.10                 up    up   inet     10.10.10.1/24



root at X__CE1__X# run ping 10.10.10.2 source 10.10.10.1

PING 10.10.10.2 (10.10.10.2): 56 data bytes

64 bytes from 10.10.10.2: icmp_seq=0 ttl=64 time=2.300 ms

64 bytes from 10.10.10.2: icmp_seq=1 ttl=64 time=1.674 ms

64 bytes from 10.10.10.2: icmp_seq=2 ttl=64 time=2.453 ms

64 bytes from 10.10.10.2: icmp_seq=3 ttl=64 time=1.566 ms

64 bytes from 10.10.10.2: icmp_seq=4 ttl=64 time=1.772 ms



--- 10.10.10.2 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max/stddev = 1.566/1.953/2.453/0.355 ms



=========

X__PE1__X:

=========



root at X__PE1__X# run show version

fpc0:

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

Hostname: X__PE1__X

Model: ex4300-24t

JUNOS EX  Software Suite [13.2X51-D25.2]

JUNOS FIPS mode utilities [13.2X51-D25.2]

JUNOS Online Documentation [13.2X51-D25.2]

JUNOS EX 4300 Software Suite [13.2X51-D25.2]

JUNOS Web Management [13.2X51-D25.2]

JUNOS py-base-powerpc [13.2X51-D25.2]



root at X__PE1__X# show interfaces ge-0/0/0      <<<<< CE1 Port

flexible-vlan-tagging;

encapsulation extended-vlan-bridge;

unit 20 {

    vlan-id-list 10;

   input-vlan-map push;

    output-vlan-map pop;



root at X__PE1__X# show interfaces ge-0/2/0      <<<<< PE2 Port

flexible-vlan-tagging;

encapsulation extended-vlan-bridge;

ether-options {

    ethernet-switch-profile {

        tag-protocol-id 0x88a8;

    }

}

unit 20 {

    vlan-id 20;

}



{master:0}[edit]

root at X__PE1__X# show vlans

default {

    vlan-id 1;

}

v20 {

    interface ge-0/0/0.20;

    interface ge-0/2/0.20;



root at X__PE1__X# run show vlans v20



Routing instance        VLAN name             Tag          Interfaces

default-switch            v20                  NA

                                                           ge-0/0/0.20*

                                                           ge-0/2/0.20*






=========

X__PE2__X:

=========



root at X__PE2__X# run show version

fpc0:

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

Hostname: X__PE2__X

Model: ex4300-32f

JUNOS EX  Software Suite [13.2X51-D25.2]

JUNOS FIPS mode utilities [13.2X51-D25.2]

JUNOS Online Documentation [13.2X51-D25.2]

JUNOS EX 4300 Software Suite [13.2X51-D25.2]

JUNOS Web Management [13.2X51-D25.2]

JUNOS py-base-powerpc [13.2X51-D25.2]



root at X__PE2__X# show interfaces ge-0/0/32      <<<<< PE1 Port

flexible-vlan-tagging;

encapsulation extended-vlan-bridge;

ether-options {

    ethernet-switch-profile {

        tag-protocol-id 0x88a8;

    }

}

unit 20 {

    vlan-id 20;



root at X__PE2__X# show interfaces ge-0/0/0      <<<<< CE2 Port

flexible-vlan-tagging;

encapsulation extended-vlan-bridge;

unit 20 {

    vlan-id-list 10;

    input-vlan-map push;

    output-vlan-map pop;



root at X__PE2__X# show vlans v20

interface ge-0/0/32.20;

interface ge-0/0/0.20;



root at X__PE2__X# run show vlans v20



Routing instance        VLAN name             Tag          Interfaces

default-switch          v20                   NA

                                                             ge-0/0/0.20*

                                                             ge-0/0/32.20*






=========

X__CE2__X:

=========



root at X__CE2__X# show interfaces ge-0/0/0

unit 0 {

    family ethernet-switching {

        port-mode trunk;

        vlan {

            members all;



root at X__CE2__X# show vlans v10

vlan-id 10;

l3-interface vlan.10;



root at X__CE2__X# run show vlans v10

Name           Tag     Interfaces

v10            10

                       ge-0/0/0.0*



root at X__CE2__X# run show interfaces terse vlan

Interface               Admin Link Proto    Local                 Remote

vlan                     up    up

vlan.10                 up    up   inet     10.10.10.2/24



root at X__CE2__X# run ping 10.10.10.1 source 10.10.10.2

PING 10.10.10.1 (10.10.10.1): 56 data bytes

64 bytes from 10.10.10.1: icmp_seq=0 ttl=64 time=2.253 ms

64 bytes from 10.10.10.1: icmp_seq=1 ttl=64 time=4.524 ms

64 bytes from 10.10.10.1: icmp_seq=2 ttl=64 time=1.556 ms

64 bytes from 10.10.10.1: icmp_seq=3 ttl=64 time=1.494 ms

64 bytes from 10.10.10.1: icmp_seq=4 ttl=64 time=1.581 ms



--- 10.10.10.1 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max/stddev = 1.494/2.282/4.524/1.155 ms


More information about the juniper-nsp mailing list