الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

تخصيص اكتر من vlan على one port

بدأه ammarroza في 28 أكتوبر 2013 · 1 رد · 1,828 مشاهدة · في تقنيات Cisco و Juniper
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم

عندي switch juniper ex3300

يوجد به 3 VLAN

كيف استطيع ان اجعل ال 3vlan يعملون على فتحة واحدة 1 port

شكرا

#2

Hi,

 

to multiplex several VLANs over a single link, put your interface in port-mode trunk and specify the VLANs you like to allow that port to be member of:

 

EXAMPLE 1:

 

interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ VLAN_A VLAN_B ];
}
}
}
}
}

vlans {
VLAN_A {
vlan-id 1;
}
VLAN_B {
vlan-id 2;
}
}

 

In this mode, all Ethernet frames are expected to be .1q frames, they have to be tagged. One VLAN can be designated as native VLAN. Frames belonging to it will be sent and received without a tag as ordinary Ethernet II frame. It can be specified as follows:

 

EXAMPLE 2:

 

interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ VLAN_A VLAN_B ];
}
native-vlan-id 3;
}
}
}

}

vlans {
VLAN_A {
vlan-id 1;
}
VLAN_B {
vlan-id 2;
}
VLAN_C {
vlan-id 3;
}
}

 

Please note that the native-vlan-id command expected the VLAN ID where all other commands use the VLAN names.

 

Caution: If the VLAN that you specify under native-vlan-id appears also under the VLAN membership list, untagged frames will be assigned to it as expected but will be sent tagged, what is usually not what you want. So don't list the native VLAN in the membership statement.

 

 

please take a look here :

https://learningportal.juniper.net/juniper/resourc​es/courses/OJXE_SG_9.a.pdf

http://www.juniper.net/us/en/training/jnbooks/juno​s_switching.html

Regards,

T.Mohamed

مواضيع مشابهة

عدد الزوار حالياً

المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية

—الإجمالي—أعضاء مسجّلون—زوار بدون تسجيل

جارٍ التحقق من المتواجدين…