Switching

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  VLAN Translation on Trunk Port

    Posted 07-28-2020 04:33

    Hi Guys,

     

    i try to translate one vlan tag on a Trunk Port. 

    For Example xe-0/1/0.0 is a Trunk port and have 4 vlan tags on it. I need to Translate one tag into another ID outgoing to Interface ge-0/0/0.

     

    I Try to use the vlan swap option but i get this error:

    "Mapping operation "swap" cannot be defined for trunk interface"

    So its not possible to Translate a vlan-id on a trunk port ?

     

    Model: ex4200-48p
    Junos: 15.1R7.9



  • 2.  RE: VLAN Translation on Trunk Port

    Posted 07-28-2020 04:49

    Hello,

     

    On EX4200, VLAN translation on trunk port is done differently, with "vlan-rewrite" knob

    https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/vlan-rewrite-edit-interfaces.html

     

    HTH

    Thx

    Alex



  • 3.  RE: VLAN Translation on Trunk Port

    Posted 07-28-2020 05:26

    There is no configuration "vlan-rewrite"

    Also there is no "interface-mode trunk" it named "port-mode trunk"

     

    show interface 
    description "10G to ....";
    mtu 9000;
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
    vlan {
    members [ 629 3000 3001 3002 ];
    }
    }
    }

    {master:0}[edit interfaces xe-0/1/0]

     

     

    {master:0}[edit interfaces xe-0/1/0 unit 0 family ethernet-switching]
    admin@sx111# set vlan ?
    Possible completions:
    + apply-groups Groups from which to inherit configuration data
    + apply-groups-except Don't inherit configuration data from these groups
    + members Membership for this interface (name or id)
    {master:0}[edit interfaces xe-0/1/0 unit 0 family ethernet-switching]
    admin@sx111# set vlan



  • 4.  RE: VLAN Translation on Trunk Port
    Best Answer

    Posted 07-28-2020 05:39

    Ok, got it. 

    Its not supported by this Platform.

     

     

    {master:0}[edit interfaces xe-0/1/0]
    admin@sx111# show
    description "10G to..";
    mtu 9000;
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
    vlan {
    members [ XXX XXX XXX XXX ];
    }
    ##
    ## Warning: configuration block ignored: unsupported platform (ex4200-48p)
    ##
    ##
    ## Warning: 'vlan-rewrite' statement supported only under trunk interface mode
    ##
    vlan-rewrite {
    translate 629 3000;
    }
    }
    }

    {master:0}[edit interfaces xe-0/1/0]



  • 5.  RE: VLAN Translation on Trunk Port

    Posted 07-30-2020 12:36