Switching

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



QFX5100 QinQ configuration

This thread has been viewed 5 times
  • 1.  QFX5100 QinQ configuration

    Posted 11-14-2021 05:41
    Hi! Experts
    End user asked us to implement QinQ (translate inner tag and push outer tag) in QFX5100, but from POC it did not work as expected,  Could QFX work as in the configuration below?  Someone said  QFX could only handle outer tag. Thanks for your advice.

    Requirement: 
    QFX et-0/0/0/48 receive customer traffic with vlan 96, QFX5100 need push SVLAN tag 10 when sending out from interface et-0/0/49; 
    QFX et-0/0/0/48 receive customer traffic with vlan 914, QFX5100 need translate CVLAN from 914 to 200 and push SVLAN tag 10 when sending out from interface et-0/0/49;

    POC configuration:
    lab@qfx5k# show interfaces et-0/0/48     
    flexible-vlan-tagging;
    mtu 9000;
    encapsulation flexible-ethernet-services;
    unit 10 {
        encapsulation vlan-bridge;
        vlan-id 96;
        input-vlan-map {
            swap-push;
            vlan-id 10;
            inner-vlan-id 96;
        }
        output-vlan-map pop-swap;
    }
    unit 20 {
        encapsulation vlan-bridge;
        vlan-id 914;
        input-vlan-map {
            swap-push;
            vlan-id 10;
            inner-vlan-id 200;
        }
        output-vlan-map pop-swap;
    }
    
    lab@qfx5k# show interfaces et-0/0/49    
    flexible-vlan-tagging;
    encapsulation flexible-ethernet-services;
    unit 10 {
        encapsulation vlan-bridge;
        vlan-tags outer 10 inner 96;
    }
    unit 20 {
        encapsulation vlan-bridge;
        vlan-tags outer 10 inner 200;
    }
    
    lab@qfx5k# show vlans 
    qinq10-200 {
        interface et-0/0/48.20;
        interface et-0/0/49.20;
    }
    qinq10-96 {
        interface et-0/0/48.10;
        interface et-0/0/49.10;
    }