Switching

last person joined: 23 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  default vlan on trunk interface

    Posted 09-17-2009 02:20

    Hi

     

    I am new an switches and i try to make a trunk over a aggregatte interface and an "normal" one.

     

    when i do:

     set interfaces ge-0/0/21 unit 0 family ethernet-switching port-mode trunk
    set interfaces ge-0/0/21 unit 0 family ethernet-switching vlan members all

     

    then the interface is no more shown under default vlan.... 

     

    run show vlans
    Name           Tag     Interfaces
    default      
                           ae0.0*, ge-0/0/1.0*, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0,
                           ge-0/0/7.0, ge-0/0/8.0, ge-0/0/9.0, ge-0/0/10.0, ge-0/0/11.0, ge-0/0/12.0,
                           ge-0/0/13.0, ge-0/0/14.0, ge-0/0/15.0, ge-0/0/16.0, ge-0/0/17.0, ge-0/0/18.0,
                           ge-0/0/19.0, ge-0/0/20.0
    vlan100        100   
                           ge-0/0/21.0*
    vlan200        200   
                           ge-0/0/0.0*, ge-0/0/21.0*

     

    why ?? and how to get the default vlan also over the interface???

     

    thanks

     

    chris



  • 2.  RE: default vlan on trunk interface

    Posted 09-17-2009 03:11
    The documentantion states "... If you use the default factory configuration, all traffic originating on the VLAN is untagged and has a VLAN identifier of 0 ..."

    So untagged frames (the ones in the "default vlan") won't travel over a trunk interface.

    I would try one of the following three alternatives:

    1. Build a "new-default" VLAN, assign a VLAN-ID to it and make all ports currentlly in the "default" VLAN members on this "new-default" VLAN
    2. Try to assign a VLAN-ID to the predefined "default" VLAN. (set vlan default vlan-id xx)
    3. Try to define the VLAN-ID 0 as the native-vlan for the trunk interface (set interfaces ge-0/0/21 unit 0 family ethernet-switching native-vlan-id 0)

    I don't have access to any EX box so I'm not sure if 2 or 3 will work.

    Xavi


  • 3.  RE: default vlan on trunk interface

    Posted 09-17-2009 03:45

    hi

     

    i have rebootet the switch and now it works on one interface:

     set interfaces ge-0/0/21 unit 0 family ethernet-switching port-mode trunk
    set interfaces ge-0/0/21 unit 0 family ethernet-switching vlan members all
    set interfaces ge-0/0/21 unit 0 family ethernet-switching native-vlan-id default

     

    now i try the same on int ae0 ...error with commit:

    ethernet-switching'
        Access interface ae0.0 cannot have native-vlan-id
    error: configuration check-out failed

     

    bug in software?

     

    version 9.3R4.4

     

    cheers

     

    chris

     



  • 4.  RE: default vlan on trunk interface
    Best Answer

    Posted 09-17-2009 03:58

    Ok error found... my fault...

     

    i have to delete  "delete vlans default interface ae0"

     

    thanks



  • 5.  RE: default vlan on trunk interface

    Posted 12-10-2018 23:27

    This works for me !!!

     

    3. Try to define the VLAN-ID 0 as the native-vlan for the trunk interface (set interfaces ge-0/0/21 unit 0 family ethernet-switching native-vlan-id 0)

     

    jun trunk .PNGjun trunk 0.PNG