4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
新闻详情
桥接和 Vlan - TechLibrary - Juniper Networks
来自 : www.juniper.net/documentation/ 发布时间:2021-03-25
ON THIS PAGE

Vlan

2 Vlan

VLAN

Vlan

EX Vlan

Vlan

ELS EX VLAN

VLAN

EX VLAN

Vlan

Vlan

ELS ELS

EX Vlan

VLAN

ELS VLAN

VLAN

Vlan Vlan

2 LAN LAN Vlan

10 VPLS Junos OS IEEE 802.1 Q channelizing

Vlan

Vlan

VLAN

Vlan VLAN

VLAN

Vlan

VLAN

Vlan VLAN

VPLS

Vlan

Vlan

Vlan LAN

VLAN DHCP Vlan

Vlan VLAN IP VLAN VLAN VLAN ID VLAN ID ELS Junos OS 1 VLAN ID ID

Vlan VLAN

LAN Vlan

Vlan

Lan Lan LAN Lan

IEEE 802.1 D-2004 Lan ) (LL) LAN Lan vlan VLAN LAN

Vlan VLAN LAN LAN VLAN VLAN LAN VLAN VLAN VLAN Vlan Vlan LAN LAN

VLAN

IEEE 802.1 D-2004

Lan Vlan LAN VLAN MAC

MAC MAC

MAC MAC VLAN MAC

VLAN VLAN LAN VLAN MAC VLAN

MAC MAC

LAN Vlan VLAN 802.1 Q ID Vlan VLAN Id

ELS VLAN Id 1 4094 4093 Vlan VLAN Id 0 4095 Junos OS

ELS VLAN Id 1-4094 4091 Vlan

TPID EtherType VLAN 0x8100 VLAN VLAN ID 802.1 Q ID VLAN

Junos OS TPID value 0x9100 Q in q 0x8100 TPID EtherType 2 ELS EX 0x88a8 0x9100 Q-inQ

VLAN 802.1 Q VLAN

NFX150 q-Q

IP

Junos OS ELS packets default VLAN VLAN VLAN default

ELS default VLAN VLAN VLAN

VLAN VLAN VLAN

Vlan VLAN ID VLAN vlan

ELS

ELS Junos OS LACP LLDP

NFX150 LACP

VLAN VLAN Vlan VLAN

VLAN

ELS Junos OS VLAN ELS Junos OS VLAN IP VLAN VLAN ID VLAN VLAN

Vlan 10 20 30 VLAN 10 VLAN VLAN 10 802.1 Q

VLAN ELS VLAN VLAN VLAN ID VLAN VLAN ID ID VLAN

Junos OS ELS VLAN access

VLAN

Vlan VLAN /

VLAN

Vlan VLAN

QFX10000 Junos OS 17.3 vmembers 256k

Vlan set vlans vlan-name vlan-id ? vlan VLAN VLAN ID

VLAN

ELS Junos OS VLAN Vlan 8 vmember = VLAN * 8 VLAN eswd

ELS Junos OS VLAN Vlan 24 vmember = vlan * 24 VLAN syslog

ELS Junos OS EX VLAN

EX4300 vlan 24 vmember = vlan* 24)

EX3400 vlan 16 vmember = vlan* 16)

EX2300 vlan 8 vmember = vlan* 8)

QFabric 131008 VLAN vmembers Vmembers Vlan 32

4000 Vlan vmembers 128000 Vlan 4000 32

lag LAG VLAN vmember

NFX150 LAG

512000 vmembers Vmembers Vlan VLAN

VLAN

ELS Junos OS default VLAN default vlan vlan vlan vlan

ELS Junos OS EX VLAN ELS Junos OS EX VLAN

EX8200 EX6200

EX8200 EX6200 VLAN

EX4500 EX4200 EX3300 QFX3500 QFX3600 ID ID FPC ID 0 9 FPC 0 VLAN FPC 0 VLAN FPC 1 FPC 9

NFX150 VLAN

Vlan

MAC VLAN

VLAN

VLAN

Vlan VLAN VLAN VLAN VLAN ID VLAN VLAN ID VLAN

MAC VLAN

MAC MAC Vlan MAC RADIUS

ELS MAC VLAN Adding a Static MAC Address Entry to the Ethernet Switching Table ELS MAC VLAN Adding a Static MAC Address Entry to the Ethernet Switching Table

802.1 X RADIUS Vlan Understanding Dynamic VLAN Assignment Using RADIUS Attributes VLAN RADIUS

VLAN

VLAN 2 IEEE 802.1 q

Vlan 3 OSPF RIP 2 3

Vlan VLAN

VLAN 3

Junos OS ELS IRB IRB VLAN ELS Junos OS vlan VLAN RVI MAC IP 3

VPLS

VPLS vpls 2 vlan VPLS 2 vlan vlan

FCoE

Understanding Multiple VLAN Registration Protocol (MVRP)

Understanding Integrated Routing and Bridging

2 Vlan

Vlan Vlan LAN

2 ELS ELS Using the Enhanced Layer 2 Software CLI ELS Configuring VLANs on Switches

Junos OS 17.1 R3 QFX10000 family ethernet-switching and flexible-vlan-tagging

VLAN

VLAN VLAN

VLAN [edit interfaces interface-name unit0]
user@switch# set description vlan-description VLAN

ELS Junos OS VLAN VLAN

Junos OS X53 14.1 QFX5100 VLAN VLAN

[edit interfaces interface-name unit0]
user@switch# set family ethernet-switchingvlan vlan-name VLAN [edit interfaces]
user@switch# set vlan unit 0 family inet address ip-address

T4000 family inetNFX150

VLAN VLAN ID VLAN ID [edit vlans]
user@switch# set vlan-name vlan-id vlan-id-number

[edit vlans]user@switch# set vlan-name vlan-id-list [vlan-ids | vlan-id--vlan-id-] VLAN [edit vlans]
user@switch# set vlan-name filter (input | output) filter-name

Example: Setting Up Basic Bridging and a VLAN on Switches

Configuring IRB Interfaces on Switches

VLAN

VLAN 2 VLAN VLAN 3 3 IP

VLAN

[edit]vlans {vlan-name {domain-type bridge:interface interface-name;l3-interface interface-name;vlan-id (none | all | number);vlan-id-list [ vlan-id-numbers ];vlan-tags outer number inner number);}}

VLAN /

vlan-id VLAN none

VLAN interface-name [edit interfaces]

2 LAN VPLS VLAN 4096

VLAN 2 VLAN MAC 2 VLAN MAC MAC VLAN MAC

Vlan

Vlan Vlan LAN

2 ELS QFX Junos OS ELS Configuring VLANs on Switches with Enhanced Layer 2 Support

VLAN VLAN

VLAN [edit interfaces interface-name unit0]
user@switch# set description vlan-description VLAN

QFabric default VLAN QFabric VLAN Junos OS 12.2 DEFAULT VLAN

[edit interfaces interface-name unit0]
user@switch# set family ethernet-switchingvlan vlan-name VLAN [edit interfaces]
user@switch# set vlan unit 0 family inet address ip-address VLAN VLAN ID VLAN ID [edit vlans]
user@switch# set vlan-name vlan-id vlan-id-number

[edit vlans]
user@switch# set vlan-name vlan vlan-id-low-vlan-id-high VLAN [edit vlans]
user@switch# set vlan-name filter (input | output) filter-name

Example: Setting Up Basic Bridging and a VLAN on Switches

Configuring IRB Interfaces on Switches

Creating a Series of Tagged VLANs

EX Vlan

EX Junos OS 2 ELS ELS ELS CLI EX vlan ELS Using the Enhanced Layer 2 Software CLI

EX Vlan Vlan LAN

VLAN

VLAN

VLAN

Vlan

VLAN

Vlan

LAN 200

LAN

VLAN

VLAN

VLAN VLAN ID VLAN Junos OS ID

VLAN VLAN MAC VLAN

VLAN VLAN employee-VLAN VLAN

VLAN ID VLAN ID

[edit] set vlans employee-vlan [edit] set interfaces ge-0/0/1 unit 0 family ethernet-switchingvlan members employee-vlan [edit] set interfaces ge-0/0/2 unit 0 family ethernet-switchingvlan members employee-vlan[edit] set interfaces ge-0/0/3 unit 0 family ethernet-switchingvlan members employee-vlan

ge-0/0/1 ge-0/0/2 ge-0/0/3 Vlan VLAN RVI VLAN CLI

VLAN

VLAN

VLAN VLAN [edit]user@switch# set vlans vlan-name VLAN VLAN ID VLAN ID VLAN VLAN ID VLAN ID ID ID [edit]user@switch# set vlans vlan-name vlan-id vlan-id-number

[edit]user@switch# set vlans vlan-name vlan (vlan-id-low) - (vlan-id-high) VLAN [edit]user@switch# set vlans vlan-name interface interface-name

Vlan VLAN VLAN

VLAN IP IP VLAN VLAN [edit interfaces]user@switch# set vlan unit logical-unit-number family inet address ip-address VLAN [edit]user@switch# set vlans vlan-name description text-description VLAN [edit]user@switch# set vlans vlan-name mac - time VLAN [edit]user@switch# set vlans vlan-name filter input-or-output filter-name VLAN [edit]user@switch# set vlans vlan-name l3-interface ingress-counting l3-interface-name VLAN VLAN [edit]
user@switch# set vlans vlan-name vlan Vlan

VLAN VLAN VLAN

VLAN VLAN Vlan VLAN RVI VLAN CLI RVI

Vlan set vlans id vlan-id ? vlan VLAN VLAN ID VLAN VLAN set vlans id vlan-id ? vlan 8

VLAN eswd

EX2300 EX3400 ERPS VLAN ID ERPS VLAN Id

EX Vlan J-Web

Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch

Creating a Series of Tagged VLANs on EX Series Switches (CLI Procedure)

Understanding Integrated Routing and Bridging

Vlan

VLAN

vlan

Ethernet Ports Switching Overview for Security Devices

VLAN Vlan 2 2 IRB 2 3 IP SRX 2 2

CLI

[edit] CLI commit

set interfaces ge-0/0/1 unit 0 family ethernet-switchinginterface-mode accessset interfaces ge-0/0/1 unit 0 family ethernet-switchingvlan members v10set vlans v10 vlan-id 10set vlans v10 l3-interface irb.10 set interfaces irb unit 10 family inet address198.51.100.0/24

CLI CLI

VLAN

10 [edit interfaces]user@host# set ge-0/0/1 unit 0 family ethernet-switchinginterface-mode access unit VLAN VLAN [edit interfaces]user@host# set ge-0/0/1 unit 0 family ethernet-switchingvlan members v10 VLAN VLAN ID VLAN [edit]user@host# set vlans v10 vlan-id 10 3 VLAN [edit]user@host# set vlans v10 l3-interface irb.10 VLAN s [edit interfaces]user@host# set irb unit 10 family inet address198.51.100.0/24

show vlans

[edit]user@host# show vlansv10 {vlan-id 10;l3-interface irb.10;}user@host# show interfacesge-0/0/1 {unit 0 {family ethernet-switching {interface-mode access;vlan {members v10;}}}}irb {unit 10 {family inet {address 198.51.100.0/24;}}}

commit

Vlan

Vlan

show vlans

user@host show vlans
Routing instance VLAN name Tag Interfacesdefault-switch default 1default-switch v10 10 ge-0/0/1.0

VLAN

ELS EX VLAN

EX Junos OS 2 ELS ELS Junos OS Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch VLAN ELS Using the Enhanced Layer 2 Software CLI

EX Lan Vlan LAN IP LAN .

EX VLAN

EX

Junos OS 13.2 X50-D10 EX

VLAN

EX

EX CLI

EX office LAN LAN LAN Vlan LAN LAN LAN Vlan VLAN LAN

EX LAN VLAN VLAN VLAN IP VLAN LAN .

EX4300 Ex4200-24p 24 PoE PoE Avaya VoIP IP Avaya PC 1

1:

24 EX4300 Ex4200-24p 8 PoE ge-0/0/0 ge-0/0/7 16 PoE ge-0/0/8 ge-0/0/23

VLAN

-vlan

VLAN ID

10

PoE

ge-0/0/0

Avaya IP PC PoE

ge-0/0/1 ge-0/0/7

PoE

ge-0/0/8 ge-0/0/12

PoE

ge-0/0/17 ge-0/0/18

/ / PoE

ge-0/0/19 ge-0/0/20

ge-0/0/13 ge-0/0/16 ge-0/0/21 ge-0/0/23

VLAN

CLI

VLAN

[edit]set vlans employee-vlan vlan-id 10set interfaces ge-0/0/0 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/1 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/2 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/3 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/4 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/5 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/6 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/7 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/8 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/9 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/10 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/11 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/12 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/17 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/18 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/19 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces ge-0/0/20 unit 0 family ethernet-switchingvlan members employee-vlan

PoE ge-0/0/0 Avaya IP PoE ge-0/0/1 ge-0/0/7. Pc ge-0/0/8 ge-0/0/12 ge-0/0/17 ge-0/0/20.

VLAN

employee vlan VLAN VLAN ID 10 [edit vlans]user@switch# set employee-vlan vlan-id 10 ge-0/0/0 ge-0/0/12 ge-0/0/17 ge-0/ /20 -vlan VLAN [edit interface]user@switch# set ge-0/0/0 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/1 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/2 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/3 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/4 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/5 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/6 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/7 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/8 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/9 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/10 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/11 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/12 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/17 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/18 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/19 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set ge-0/0/20 unit 0 family ethernet-switchingvlan members employee-vlan ge-0/0/0 Avaya ge-0/0/1 ge-0/0/7 Pc ge-0/0/8 ge-0/0/12 ge-0/0/17 ge-0/0/18 ge-0/0/19 ge-0/0/20

user@switch show configuration
 ge-0/0/0 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/1 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/2 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/3 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/4 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/5 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/6 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/7 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/8 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/9 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/10 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/11 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/12 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/17 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/18 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/19 { unit 0 { family ethernet-switching { vlan { members employee-vlan; ge-0/0/20 { unit 0 { family ethernet-switching { vlan { members employee-vlan;

employee-vlan

VLAN

Vlan

VLAN

-vlan

Vlan

user@switch vlan
Routing instance VLAN name Tag Interfacesdefault-switch employee-vlan 10 ge-0/0/0.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/17.0 ge-0/0/18.0 ge-0/0/19.0 ge-0/0/20.0

show vlans vlan VLAN -vlan

Vlan

VLAN

user@switch
Routing Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/0.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/1.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/2.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/3.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/4.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/5.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/6.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/7.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/8.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/9.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/10.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/11.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/12.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/17.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/18.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/19.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsge-0/0/20.0 65535 untagged employee-vlan 10 65535 Discarding...

show ethernet-switching interfaces Vlan VLAN ge-0/0/0 ge-0/0/12 ge-0/0/17 ge-0/0/20 VLAN -vlan. ge-0/0/0.0 ge-0/0/0 Junos OS Vlan

Example: Connecting Access Switches with ELS Support to a Distribution Switch with ELS Support

VLAN

QFX Lan Vlan LAN LAN LAN

LAN Lan Vlan VLAN Vlan VLAN VLAN VLAN Vlan LAN LAN

QFX Vlan

QFX Junos OS 11.1

QFX

LAN Vlan -vlan -vlanVLAN LAN

QFX3500 48 10-Gbps QSFP + Q0-Q3 xe-0/1/0 xe-0/1/15 1

2:

48 10 Gbps QFX3500

VLAN

-vlan

VLAN ID

10

xe-0/0/17 xe-0/0/18

xe-0/0/0 xe-0/0/16

/ /

xe-0/0/19 xe-0/0/40

xe-0/0/41 xe-0/0/47

CLI

VLAN

[edit]set vlans employee-vlan vlan-id 10set interfaces xe-0/0/0 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/1 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/2 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/3 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/4 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/5 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/6 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/7 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/8 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/9 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/10 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/11 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/12 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/13 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/14 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/15 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/16 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/17 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/18 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/19 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/20 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/21 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/22 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/23 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/24 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/25 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/26 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/27 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/28 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/29 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/30 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/31 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/32 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/33 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/34 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/35 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/36 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/37 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/38 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/39 unit 0 family ethernet-switchingvlan members employee-vlanset interfaces xe-0/0/40 unit 0 family ethernet-switchingvlan members employee-vlan

VLAN

employee vlan VLAN VLAN ID 10 [edit vlans]user@switch# set employee-vlan vlan-id 10 xe 0/0/0 xe-0/0/40 -vlan VLAN [edit interface]user@switch# set xe-0/0/0 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/1 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/2 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/3 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/4 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/5 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/6 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/7 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/8 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/9 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/10 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/11 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/12 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/13 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/14 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/15 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/16 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/17 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/18 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/19 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/20 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/21 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/22 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/23 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/24 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/25 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/26 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/27 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/28 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/29 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/30 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/31 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/32 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/33 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/34 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/35 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/36 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/37 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/38 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/39 unit 0 family ethernet-switchingvlan members employee-vlanuser@switch# set xe-0/0/40 unit 0 family ethernet-switchingvlan members employee-vlan xe-0/0/17 xe-0/0/18 Pc xe-0/0/0 xe-0/0/16 / / xe-0/0/19 xe-0/0/40

user@switch show configuration
 xe-0/0/0 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/1 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/2 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/3 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/4 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/5 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/6 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/7 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/8 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/9 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/10 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/11 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/12 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/13 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/14 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/15 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/16 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/17 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/18 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/19 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/20 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/21 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/22 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/23 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/24 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/25 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/26 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/27 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/28 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/29 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/30 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/31 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/32 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/33 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/34 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/35 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/36 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/37 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/38 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/39 { unit 0 { family ethernet-switching { vlan { members employee-vlan; xe-0/0/40 { unit 0 { family ethernet-switching { vlan { members employee-vlan;

employee-vlan

VLAN

Vlan

VLAN

-vlan

Vlan

user@switch vlan
Routing instance VLAN name Tag Interfacesdefault-switch employee-vlan 10 xe-0/0/0.0 xe-0/0/1.0 xe-0/0/2.0 xe-0/0/3.0 xe-0/0/4.0 xe-0/0/5.0 xe-0/0/6.0 xe-0/0/7.0 xe-0/0/8.0 xe-0/0/9.0 xe-0/0/10.0 xe-0/0/11.0 xe-0/0/12.0 xe-0/0/13.0 xe-0/0/14.0 xe-0/0/15.0 xe-0/0/16.0 xe-0/0/17.0 xe-0/0/18.0 xe-0/0/19.0 xe-0/0/20.0 xe-0/0/21.0 xe-0/0/22.0 xe-0/0/23.0 xe-0/0/24.0 xe-0/0/25.0 xe-0/0/26.0 xe-0/0/27.0 xe-0/0/28.0 xe-0/0/29.0 xe-0/0/30.0 xe-0/0/31.0 xe-0/0/32.0 xe-0/0/33.0 xe-0/0/34.0 xe-0/0/35.0 xe-0/0/36.0 xe-0/0/37.0 xe-0/0/38.0 xe-0/0/39.0 xe-0/0/40.0

show vlans vlan VLAN -vlan

Vlan

VLAN

user@switch
Routing Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/0.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/1.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/2.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/3.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/4.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/5.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/6.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/7.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/8.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/9.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/10.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/11.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/12.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/13.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/14.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/15.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/16.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/17.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/18.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/19.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/20.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/21.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/22.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/23.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/24.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/25.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/26.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/27.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/28.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/29.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/30.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/31.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/32.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/33.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/34.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/35.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/36.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/37.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/38.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/39.0 65535 untagged employee-vlan 10 65535 DiscardingRouting Instance Name : default-switchLogical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down )Logical Vlan TAG MAC STP Logical Tagginginterface members limit state interface flagsxe-0/0/40.0 65535 untagged employee-vlan 10 65535 Discarding...

show ethernet-switching interfaces Vlan VLAN xe-0/0/0 xe-0/0/40 VLAN -vlan. xe-0/0/0.0 xe-0/0/0 Junos OS Vlan

EX VLAN

2 ELS EX Junos OS ELS Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch with ELS Support EX VLAN ELS Using the Enhanced Layer 2 Software CLI

EX Lan Vlan LAN IP lan VLAN

EX Vlan

EX Junos OS 9.0

EX4200

VLAN

EX J-Web

EX office LAN LAN LAN Vlan LAN LAN LAN Vlan VLAN LAN

EX LAN Vlan Avaya IP VLAN LAN

EX4200 Ex3300-24t 24 PoE PoE Avaya VoIP IP Avaya PC 16 3

3:

24 EX4200 Ex3300-24t 8 PoE ge-0/0/0 ge-0/0/7 16 PoE ge-0/0/8 ge-0/0/23

VLAN

PoE

ge-0/0/0

Avaya IP PC PoE

ge-0/0/1 ge-0/0/7

Pc PoE

ge-0/0/8 ge-0/0/12

PoE

ge-0/0/17 ge-0/0/18

/ / PoE

ge-0/0/19 ge-0/0/20

ge-0/0/13 ge-0/0/16 ge-0/0/21 ge-0/0/23

CLI

EX4200 VLAN VLAN Vlan Avaya IP PoE ge-0/0/1 ge-0/0/7 Pc PoE ge-0/0/8 ge-0/0/12 ge-0/0/17 ge-0/0/20.

Vlan

ge-0/0/0. Avaya ge-0/0/1 ge-0/0/7. Pc ge-0/0/8 ge-0/0/12. ge-0/0/17 ge-0/0/18. ge-0/0/19 ge-0/0/20.

user@switch show configuration ## Last commit: 2008-03-06 00:11:22 UTC by triumphversion 9.0;system {root-authentication {encrypted-password \"$1$urmA7AFM$x5SaGEUOdSI3u1K/iITGh1\";## SECRET-DATA}syslog {user * {any emergency;}file messages {any notice;authorization info;}file interactive-commands {interactive-commands any;}}commit {factory-settings {reset-chassis-lcd-menu;reset-virtual-chassis-configuration;}}}interfaces {ge-0/0/0 {unit 0 {family ethernet-switching;}}ge-0/0/1 {unit 0 {family ethernet-switching;}}ge-0/0/2 {unit 0 {family ethernet-switching;}}ge-0/0/3 {unit 0 {family ethernet-switching;}}ge-0/0/4 {unit 0 {family ethernet-switching;}}ge-0/0/5 {unit 0 {family ethernet-switching;}}ge-0/0/6 {unit 0 {family ethernet-switching;}}ge-0/0/7 {unit 0 {family ethernet-switching;}}ge-0/0/8 {unit 0 {family ethernet-switching;}}ge-0/0/9 {unit 0 {family ethernet-switching;}}ge-0/0/10 {unit 0 {family ethernet-switching;}}ge-0/0/11 {unit 0 {family ethernet-switching;}}ge-0/0/12 {unit 0 {family ethernet-switching;}}ge-0/0/13 {unit 0 {family ethernet-switching;}}ge-0/0/14 {unit 0 {family ethernet-switching;}}ge-0/0/15 {unit 0 {family ethernet-switching;}}ge-0/0/16 {unit 0 {family ethernet-switching;}}ge-0/0/17 {unit 0 {family ethernet-switching;}}ge-0/0/18 {unit 0 {family ethernet-switching;}}ge-0/0/19 {unit 0 {family ethernet-switching;}}ge-0/0/20 {unit 0 {family ethernet-switching;}}ge-0/0/21 {unit 0 {family ethernet-switching;}}ge-0/0/22 {unit 0 {family ethernet-switching;}}ge-0/0/23 {unit 0 {family ethernet-switching;}}ge-0/1/0 {unit 0 {family ethernet-switching;}}xe-0/1/0 {unit 0 {family ethernet-switching;}}ge-0/1/1 {unit 0 {family ethernet-switching;}}xe-0/1/1 {unit 0 {family ethernet-switching;}}ge-0/1/2 {unit 0 {family ethernet-switching;}}ge-0/1/3 {unit 0 {family ethernet-switching;}}}protocols {lldp {interface all;}rstp;}poe {interface all;}

VLAN

VLAN

Vlan

VLAN

Vlan

user@switch vlan
Name Tag Interfacesdefault  ge-0/0/0.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, ge-0/0/21.0, ge-0/0/22.0, ge-0/0/23.0, ge-0/1/0.0*, ge-0/1/1.0*, ge-0/1/2.0*, ge-0/1/3.0*mgmt  me0.0*

show vlans vlan VLAN

Vlan

VLAN

user@switch
Interface State VLAN members Blocking ge-0/0/0.0 up default unblockedge-0/0/1.0 down default blocked - blocked by STP/RTGge-0/0/2.0 down default blocked - blocked by STP/RTGge-0/0/3.0 down default blocked - blocked by STP/RTGge-0/0/4.0 down default blocked - blocked by STP/RTGge-0/0/5.0 down default blocked - blocked by STP/RTGge-0/0/6.0 down default blocked - blocked by STP/RTGge-0/0/7.0 down default blocked - blocked by STP/RTGge-0/0/8.0 up default unblockedge-0/0/9.0 down default blocked - blocked by STP/RTGge-0/0/10.0 down default blocked - blocked by STP/RTGge-0/0/11.0 up default unblockedge-0/0/12.0 down default blocked - blocked by STP/RTGge-0/0/13.0 down default blocked - blocked by STP/RTGge-0/0/14.0 down default blocked - blocked by STP/RTGge-0/0/15.0 down default blocked - blocked by STP/RTGge-0/0/16.0 down default blocked - blocked by STP/RTGge-0/0/17.0 down default blocked - blocked by STP/RTGge-0/0/18.0 down default blocked - blocked by STP/RTGge-0/0/19.0 up default unblockedge-0/0/20.0 down default blocked - blocked by STP/RTGge-0/0/21.0 down default blocked - blocked by STP/RTGge-0/0/22.0 down default blocked - blocked by STP/RTGge-0/0/23.0 down default blocked - blocked by STP/RTGge-0/1/0.0 up default unblockedge-0/1/1.0 up default unblockedge-0/1/2.0 up default unblockedge-0/1/3.0 up default unblockedme0.0 up mgmt unblocked

show ethernet-switching interfaces Vlan VLAN ge-0/0/0 ge-0/0/12 ge-0/0/17 ge-0/0/20 VLAN . ge-0/0/0.0 ge-0/0/0. Junos OS Vlan

Vlan

QFX Lan Vlan LAN LAN

LAN Lan Vlan VLAN Vlan VLAN VLAN VLAN Vlan LAN LAN

QFX3500 QFX3600 Junos OS 2 ELS ELS Example: Setting Up Bridging with Multiple VLANs on Switches vlan

QFX Vlan LAN

QFX3500

QFX Junos OS 11.1

LAN VLAN LAN

Vlan VLAN Vlan VLAN VLAN ID VLAN IP

QFX3500 48 10-Gbps QSFP + Q0-Q3 xe-0/1/0 xe-0/1/15

4: VLAN

48 10-Gbps QFX3500 xe-0/0/0 xe-0/0/47

VLAN Id

100
200

VLAN

192.0.2.0/25 192.0.2.1 192.0.2.126
192.0.2.128/25 192.0.2.129 192.0.2.254

VLAN

xe-0/0/20 xe-0/0/21

VLAN

xe-0/0/46 xe-0/0/47

xe-0/0/2 xe-0/0/25

IP VLAN VLAN VLAN Vlan 3 IP

Vlan LAN

CLI

Vlan 2 Vlan 3

[edit]
set interfaces xe-0/0/0unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/3unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/22unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/20unit 0 description Sales file server port set interfaces xe-0/0/20unit 0 family ethernet-switching vlan members sales

set interfaces xe-0/0/24unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/26unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/44unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/46 unit 0 description Support file server port
set interfaces xe-0/0/46unit 0 family ethernet-switching vlan members support
set interfaces vlanunit 0 family inet address 192.0.2.0/25
set interfaces vlanunit 1 family inet address 192.0.2.128/25 set vlans sales l3 interfacevlan.0
set vlans sales vlan-id100
set vlans support vlan-id200
set vlans support l3-interfacevlan.1

Vlan

VLAN[edit interfaces xe-0/0/20 unit 0]
user@switch# set description Sales file server port
user@switch# set family ethernet-switchingvlan members sales VLAN[edit interfaces xe-0/0/46 unit 0]
user@switch# set description Support file server port
user@switch# set family ethernet-switchingvlan members support [edit interfaces]
user@switch# set vlan unit 0 family inet address 192.0.2.1/25 [edit interfaces]
user@switch# set vlan unit 1 family inet address 192.0.2.129/25 VLAN Id Vlan[edit vlans]
user@switch# setsales vlan-id 100
user@switch# set support vlan-id 200 Vlan VLAN 3 [edit vlans]
user@switch# setsales l3-interface vlan.0
user@switch# set support l3-interface vlan.1

user@switch show configuration interfaces {xe-0/0/20 {unit 0 {description Sales file server port family ethernet-switching {vlan members sales;}}}xe-0/0/46 {unit 0 {description Support file server port family ethernet-switching {vlan members support;}}vlans {unit 0 {family inet address 192.0.2.1/25;}unit 1 {family inet address 192.0.2.129/25;}}}}vlans {sales {vlan-id 100;interface xe-0/0/0.0:interface xe-0/0/3/0;interface xe-0/0/20.0;interface xe-0/0/22.0;l3-interface vlan 0;}support {vlan-id 200;interface xe-0/0/24.0:interface xe-0/0/26.0;interface xe-0/0/44.0;interface xe-0/0/46.0;l3-interface vlan 1;}}

VLAN load merge terminal

Vlan

Vlan

Vlan

Vlan

Vlan

Vlan VLAN

Vlan show vlans

user@switch vlan
Name Tag Interfacesdefault  xe-0/0/1.0, xe-0/0/2.0, xe-0/0/4.0, xe-0/0/5.0, xe-0/0/6.0, xe-0/0/7.0, xe-0/0/8.0, xe-0/0/9.0, xe-0/0/10.0*, xe-0/0/11.0, xe-0/0/12.0, xe-0/0/13.0*, xe-0/0/14.0, xe-0/0/15.0, xe-0/0/16.0, xe-0/0/17.0, xe-0/0/18.0, xe-0/0/19.0, xe-0/0/21.0, xe-0/0/23.0*, xe-0/0/25.0, xe-0/0/27.0, xe-0/0/28.0, xe-0/0/29.0, xe-0/0/30.0, xe-0/0/31.0, xe-0/0/32.0, xe-0/0/33.0, xe-0/0/34.0, xe-0/0/35.0, xe-0/0/36.0, xe-0/0/37.0, xe-0/0/38.0, xe-0/0/39.0, xe-0/0/40.0, xe-0/0/41.0, xe-0/0/42.0, xe-0/0/43.0, xe-0/0/45.0, xe-0/0/47.0, xe-0/1/0.0*, xe-0/1/1.0*, xe-0/1/2.0*, xe-0/1/3.0*sales 100 xe-0/0/0.0*, xe-0/0/3.0, xe-0/0/20.0, xe-0/0/22.0support 200 xe-0/0/0.24, xe-0/0/26.0, xe-0/0/44.0, xe-0/0/46.0*mgmt  me0.0*

show vlans vlan vlan Vlan T4000 VLAN ID 100 xe-0/0/0.0 xe-0/0/3.0 xe-0/0/20.0 xe-0/0/22.0. VLAN ID 200 xe-0/0/24.0 xe-0/0/26.0 xe-0/0/44.0 xe-0/0/46.0.

Vlan

Vlan

ARP 3

user@switch show arp
MAC Address Address Name Flags00:00:0c:06:2c:0d 192.0.2.3 vlan.0 None00:13:e2:50:62:e0 192.0.2.11 vlan.1 None

IP IP MAC ARP IP MAC vlan 0 vlan 1 ) (LL) Vlan

Vlan

user@switch show ethernet-switching table
Ethernet-switching table: 8 entries, 5 learned VLAN MAC address Type Age Interfaces default * Flood - All-members default 00:00:05:00:00:01 Learn - xe-0/0/10.0 default 00:00:5e:00:01:09 Learn - xe-0/0/13.0 default 00:19:e2:50:63:e0 Learn - xe-0/0/23.0 sales * Flood - All-members sales 00:00:5e:00:07:09 Learn - xe-0/0/0.0 support * Flood All members support 00:00:5e:00:01:01 Learn xe-0/0/46.0

Vlan xe-0/0/0.0 xe-0/0/46.0. Vlan

Vlan

QFX Lan Vlan LAN LAN

LAN Lan Vlan VLAN Vlan VLAN VLAN VLAN Vlan LAN LAN

QFX Vlan LAN

2 ELS ELS Using the Enhanced Layer 2 Software CLI ELS Example: Setting Up Bridging with Multiple VLANs

QFX3500

Junos OS Release 13.2 X50-D15 QFX

LAN VLAN LAN

Vlan VLAN Vlan VLAN VLAN ID VLAN IP

QFX3500 48 10-Gbps QSFP + Q0-Q3 xe-0/1/0 xe-0/1/15

5: VLAN

48 10-Gbps QFX3500 xe-0/0/0 xe-0/0/47

VLAN Id

100
200

VLAN

192.0.2.0/25 192.0.2.1 192.0.2.126
192.0.2.128/25 192.0.2.129 192.0.2.254

VLAN

xe-0/0/20 xe-0/0/21

VLAN

xe-0/0/46 xe-0/0/47

xe-0/0/2 xe-0/0/25

IP VLAN VLAN VLAN Vlan 3 IP

Vlan LAN

CLI

Vlan 2 Vlan 3

[edit]
set interfaces xe-0/0/0unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/3unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/22unit 0 family ethernet-switching vlan members sales
set interfaces xe-0/0/20unit 0 description Sales file server port set interfaces xe-0/0/20unit 0 family ethernet-switching vlan members sales

set interfaces xe-0/0/24unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/26unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/44unit 0 family ethernet-switching vlan members support
set interfaces xe-0/0/46unit 0 description Support file server port
set interfaces xe-0/0/46unit 0 family ethernet-switching vlan members support
set interfaces vlanunit 0 family inet address 192.0.2.0/25
set interfaces vlanunit 1 family inet address 192.0.2.128/25 set vlans sales l3 interfaceirb.0
set vlans sales vlan-id100
set vlans support vlan-id200
set vlans support l3-interfaceirb.1

Vlan

VLAN[edit interfaces xe-0/0/20 unit 0]
user@switch# set description Sales file server port
user@switch# set family ethernet-switchingvlan members sales VLAN[edit interfaces xe-0/0/46 unit 0]
user@switch# set description Support file server port
user@switch# set family ethernet-switchingvlan members support [edit interfaces]
user@switch# set vlan unit 0 family inet address 192.0.2.1/25 [edit interfaces]
user@switch# set vlan unit 1 family inet address 192.0.2.129/25 VLAN Id Vlan[edit vlans]
user@switch# setsales vlan-id 100
user@switch# set support vlan-id 200 Vlan VLAN 3 [edit vlans]
user@switch# setsales l3-interface irb.0
user@switch# set support l3-interface irb.1

user@switch show configuration interfaces {xe-0/0/20 {unit 0 {description Sales file server port family ethernet-switching {vlan members sales;}}}xe-0/0/46 {unit 0 {description Support file server port family ethernet-switching {vlan members support;}}vlans {unit 0 {family inet address 192.0.2.1/25;}unit 1 {family inet address 192.0.2.129/25;}}}}vlans {sales {vlan-id 100;interface xe-0/0/0.0:interface xe-0/0/3/0;interface xe-0/0/20.0;interface xe-0/0/22.0;l3-interface irb0;}support {vlan-id 200;interface xe-0/0/24.0:interface xe-0/0/26.0;interface xe-0/0/44.0;interface xe-0/0/46.0;l3-interface irb1;}}

VLAN load merge terminal

Vlan

Vlan

Vlan

Vlan

Vlan

Vlan VLAN

Vlan show vlans

user@switch vlan
Name Tag Interfacesdefault  xe-0/0/1.0, xe-0/0/2.0, xe-0/0/4.0, xe-0/0/5.0, xe-0/0/6.0, xe-0/0/7.0, xe-0/0/8.0, xe-0/0/9.0, xe-0/0/10.0*, xe-0/0/11.0, xe-0/0/12.0, xe-0/0/13.0*, xe-0/0/14.0, xe-0/0/15.0, xe-0/0/16.0, xe-0/0/17.0, xe-0/0/18.0, xe-0/0/19.0, xe-0/0/21.0, xe-0/0/23.0*, xe-0/0/25.0, xe-0/0/27.0, xe-0/0/28.0, xe-0/0/29.0, xe-0/0/30.0, xe-0/0/31.0, xe-0/0/32.0, xe-0/0/33.0, xe-0/0/34.0, xe-0/0/35.0, xe-0/0/36.0, xe-0/0/37.0, xe-0/0/38.0, xe-0/0/39.0, xe-0/0/40.0, xe-0/0/41.0, xe-0/0/42.0, xe-0/0/43.0, xe-0/0/45.0, xe-0/0/47.0, xe-0/1/0.0*, xe-0/1/1.0*, xe-0/1/2.0*, xe-0/1/3.0*sales 100 xe-0/0/0.0*, xe-0/0/3.0, xe-0/0/20.0, xe-0/0/22.0support 200 xe-0/0/0.24, xe-0/0/26.0, xe-0/0/44.0, xe-0/0/46.0*mgmt  me0.0*

show vlans vlan vlan Vlan T4000 VLAN ID 100 xe-0/0/0.0 xe-0/0/3.0 xe-0/0/20.0 xe-0/0/22.0. VLAN ID 200 xe-0/0/24.0 xe-0/0/26.0 xe-0/0/44.0 xe-0/0/46.0.

Vlan

Vlan

ARP 3

user@switch show arp
MAC Address Address Name Flags00:00:0c:06:2c:0d 192.0.2.3 vlan.0 None00:13:e2:50:62:e0 192.0.2.11 vlan.1 None

IP IP MAC ARP IP MAC vlan 0 vlan 1 ) (LL) Vlan

Vlan

user@switch show ethernet-switching table
Ethernet-switching table: 8 entries, 5 learned VLAN MAC address Type Age Interfaces default * Flood - All-members default 00:00:05:00:00:01 Learn - xe-0/0/10.0 default 00:00:5e:00:01:09 Learn - xe-0/0/13.0 default 00:19:e2:50:63:e0 Learn - xe-0/0/23.0 sales * Flood - All-members sales 00:00:5e:00:07:09 Learn - xe-0/0/0.0 support * Flood All members support 00:00:5e:00:01:01 Learn xe-0/0/46.0

Vlan xe-0/0/0.0 xe-0/0/46.0. Vlan

ELS ELS

EX Junos OS 2 ELS ELS Using the Enhanced Layer 2 Software CLI

Lan

EX

EX

EX Junos OS ELS EX ELS Junos OS ELS ELS CLI

EX ELS Junos OS Release 12.3 r

EX9200 EX EX CLI EX9200 Connecting and Configuring an EX9200 Switch (CLI Procedure)

LAN Vlan 1 1

1 EX4300 EX9200

1: \"

6

6:

EX4300 1

EX9208 EX9200 Ex8200-2xs-40t 240 1

VLAN Id

100
200

VLAN

192.0.2.0/25 192.0.2.126 192.0.2.1
192.0.2.128/25 192.0.2.254 192.0.2.129

ge-0
/2/0 ge-0/0/0

VLAN

Avaya IP ge-0/0/3 ge-0/0/19
ge-0/0/0 ge-0/0/1
ge-0/0/22 ge-0/0/23
ge-0/0/20 ge-0/0/21

VLAN

Avaya IP ge-0/0/25 ge-0/0/43
ge-0/0/24
Printers: ge-0/0/44 ge-0/0/45
ge-0/0/46 ge-0/0/47

CLI

[edit] set interfaces ge-0/0/0unit 0 description \"Sales wireless access point port\" set interfaces ge-0/0/0unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/3 unit 0 description \"Sales phone port\" set interfaces ge-0/0/3unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/22 unit 0 description \"Sales printer port\" set interfaces ge-0/0/22unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/20unit 0 description \"Sales file server port\" set interfaces ge-0/0/20unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/24unit 0 description \"Support wireless access point port\" set interfaces ge-0/0/24unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/26 unit 0 description \"Support phone port\" set interfaces ge-0/0/26unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/44 unit 0 description \"Support printer port\" set interfaces ge-0/0/44unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/46unit 0 description \"Support file server port\" set interfaces ge-0/0/46unit 0 family ethernet-switching vlan members support set interfaces ge-0/2/0unit 0 description \"Uplink module port connection to distributionswitch\" set interfaces ge-0/2/0unit 0 family ethernet-switching interface-mode trunk set interfaces ge-0/2/0native-vlan-id 1 set interfaces ge-0/2/0unit 0 family ethernet-switching vlan members [sales support] set interfaces ge-0/2/0unit 0 family ethernet-switching vlan members 1 set interfaces irbunit 0 family inet address 192.0.2.1/25 set interfaces irbunit 1 family inet address 192.0.2.129/25 set vlans sales description Sales VLAN set vlans sales l3-interfaceirb.0 set vlans sales vlan-id100 set vlans support description Support VLAN set vlans support vlan-id200 set vlans support l3-interfaceirb.1

1 [edit interfaces]
user@access-switch# set ge-0/2/0 unit 0 description \"Uplink module port connection to distributionswitch\"
user@access-switch# set ge-0/2/0 unit 0 family ethernet-switching interface-mode trunk Vlan [edit interfaces]
user@access-switch# set ge-0/2/0 unit 0 family ethernet-switching vlan [ salessupport ] VLAN ID VLAN VLAN [edit interfaces]
user@access-switch# set ge-0/2/0 vlan id 1user@access-switch# set ge-0/2/0 unit 0 familyethernet-switching vlan 1 VLAN [edit vlans]
user@access-switch# set sales description \"Sales VLAN\"
user@access-switch# set sales vlan-id 100
user@access-switch# set sales l3-interface irb.0 VLAN [edit vlans]
user@access-switch# set support description \"Support VLAN\"
user@access-switch# set support vlan-id 200
user@access-switch# set support l3-interface irb.1 VLAN [edit interfaces]
user@access-switch# set irb unit 0 family inet address 192.0.2.1/25 VLAN [edit interfaces]
user@access-switch# set irb unit 1 family inet address 192.0.2.129/25 VLAN [edit interfaces]
user@access-switch# set ge-0/0/0 unit 0 description \"Sales wireless access point port\"
user@access-switch# set ge-0/0/0 unit0 family ethernet-switching vlan members sales
user@access-switch# set ge-0/0/3 unit 0 description\"Sales phone port\"
user@access-switch# set ge-0/0/3 unit 0 family ethernet-switching vlan members sales
user@access-switch# set ge-0/0/20 unit0 description \"Sales file server port\"
user@access switch# set ge-0/0/20 unit 0 familyethernet-switching vlan members sales
user@access-switch# set ge-0/0/22 unit 0 description\"Sales printer port\"
user@access-switch# set ge-0/0/22 unit 0 family ethernet-switching vlan members sales
VLAN [edit interfaces]
user@access-switch# set ge-0/0/24 unit 0 description \"Support wireless access point port\"
user@access-switch# set ge-0/0/24 unit0 family ethernet-switching vlan members support
user@access-switch# set ge-0/0/26 unit 0 description\"Support phone port\"
user@access-switch# set ge-0/0/26 unit 0 family ethernet-switching vlan members support
user@access-switch# set ge-0/0/44 unit0 description \"Support printer port\"
user@access-switch# set ge-0/0/44 unit 0 family ethernet-switching vlan members support
user@access-switch# set ge-0/0/46 unit0 description \"Support file server port\"
user@access-switch# set ge-0/0/46 unit 0 family ethernet-switchingvlan members support

user@access-switch show configuration
interfaces { ge-0/0/0 { unit 0 { description \"Sales wireless access point port\"; family ethernet-switching { vlan { members sales; ge-0/0/3 { unit 0 { description \"Sales phone port\"; family ethernet-switching { vlan { members sales; ge-0/0/20 { unit 0 { description \"Sales file server port\"; family ethernet-switching { vlan { members sales; ge-0/0/22 { unit 0 { description \"Sales printer port\"; family ethernet-switching { vlan { members sales; ge-0/0/24 { unit 0 { description \"Support wireless access point port\"; family ethernet-switching { vlan { members support; ge-0/0/26 { unit 0 { description \"Support phone port\"; family ethernet-switching { vlan { members support; ge-0/0/44 { unit 0 { description \"Support printer port\"; family ethernet-switching { vlan { members support; ge-0/0/46 { unit 0 { description \"Support file server port\"; family ethernet-switching { vlan { members support; ge-0/2/0 { native-vlan-id 1; unit 0 { description \"Uplinking module connection to distribution switch\"; family ethernet-switching { interface-mode trunk; vlan { members [ 1 sales support ]; irb { unit 0 { family inet { address 192.0.2.1/25; unit 1 { family inet { address 192.0.2.129/25;vlans { sales { description \"Sales VLAN\"; vlan-id 100; l3-interface irb.0; support { description \"Support VLAN\"; vlan-id 200; l3-interface irb.1;}

load merge terminal

CLI

set interfaces ge-0/0/0unit 0 description \"Connection to access switch\" set interfaces ge-0/0/0unit 0 family ethernet-switching interface-mode trunk set interfaces ge-0/0/0unit 0 family ethernet-switching vlan members [ sales support ] set interfaces ge-0/0/0native-vlan-id 1 set interfaces ge-0/0/0unit 0 family ethernet-switching vlan members 1 set interfaces irbunit 0 family inet address 192.0.2.2/25 set interfaces irbunit 1 family inet address 192.0.2.130/25 set vlans sales description\"Sales VLAN\" set vlans sales vlan-id100 set vlans sales l3-interfaceirb.0 set vlans support description\"Support VLAN\" set vlans support vlan-id200 set vlans support l3-interfaceirb.1

[edit interfaces]
user@distribution-switch# set ge-0/0/0 unit 0 description \"Connection to access switch\"
user@distribution-switch# set ge-0/0/0unit 0 family ethernet-switching interface-mode trunk Vlan [edit interfaces]
user@distribution-switch# set ge-0/0/0 unit 0 family ethernet-switching vlan [ salessupport ] VLAN ID VLAN VLAN [edit interfaces]
user@distribution-switch# set ge-0/0/0 vlan id 1user@distribution-switch# set ge-0/0/0 unit0 family ethernet-switching vlan 1 VLAN [edit vlans]
user@distribution-switch# set sales description \"Sales VLAN\"
user@distribution-switch# set sales vlan-id 100
user@distribution-switch# set sales l3-interface irb.0

VLAN set l3-interface irb.0 Vlan VLAN IP IP

VLAN [edit vlans]
user@distribution-switch# set support description \"Support VLAN\"
user@distribution-switch# set support vlan-id 200
user@distribution-switch# set support l3-interface irb.1

VLAN set l3-interface irb.1 Vlan VLAN IP IP

VLAN [edit interfaces]
user@distribution-switch# set irb unit 0 family inet address 192.0.2.2/25 VLAN [edit interfaces]
user@distribution-switch# set irb unit 1 family inet address 192.0.2.130/25

user@distribution-switch show configuration
interfaces { ge-0/0/0 { native-vlan-id 1; unit 0 { description \"Connection to access switch\"; family ethernet-switching { interface-mode trunk; vlan { members [ 1 sales support ]; irb { unit 0 { family inet { address 192.0.2.2/25; unit 1 { family inet { address 192.0.2.130/25;vlans { sales { description \"Sales VLAN\"; vlan-id 100; l3-interface irb.0; support { description \"Support VLAN\"; vlan-id 200; l3-interface irb.1;}

load merge terminal

VLAN

VLAN

VLAN

Vlan

Vlan

user@access-switch vlan
Routing instance VLAN name Tag Interfacesdefault-switch sales 100 ge-0/0/20.0 ge-0/0/22.0 ge-0/0/3.0* ge-0/0/0.0* ge-0/2/0.0*default-switch support 200 ge-0/0/24.0 ge-0/0/26.0 ge-0/0/44.0* ge-0/0/46.0* ge-0/2/0.0*

Vlan Vlan

VLAN

Vlan

Vlan

user@distribution-switch vlan
Routing instance VLAN name Tag Interfacesdefault-switch sales 100 ge-0/0/0.0*default-switch support 200 ge-0/0/0.0*

Vlan Vlan ge-0/0/0.0 ge-0/0/0.0

EX Vlan

LAN EX Lan Vlan VLAN Vlan VLAN VLAN VLAN Vlan LAN LAN

EX Vlan LAN

EX4200 Ex3300-48p

EX Junos OS 9.0

Vlan

EX J-Web

EX LAN LAN VLAN LAN

Vlan VLAN Vlan VLAN VLAN ID VLAN IP

EX4200 Ex3300-48p 48 PoE Avaya IP 7

7: VLAN

EX4200 Ex3300-48p 48 PoE ge-0/0/0 ge-0/0/47

VLAN Id

100
200

VLAN

192.0.2.0/25 192.0.2.1 192.0.2.126
192.0.2.128/25 192.0.2.129 192.0.2.254

VLAN

Avaya IP ge-0/0/3 ge-0/0/19
ge-0/0/0 ge-0/0/1
ge-0/0/22 ge-0/0/23
ge-0/0/20 ge-0/0/21

VLAN

Avaya IP ge-0/0/25 ge-0/0/43
ge-0/0/24
ge-0/0/44 ge-0/0/45
ge-0/0/46 ge-0/0/47

ge-0/0/2 ge-0/0/25

IP VLAN VLAN VLAN Vlan 3 IP

Vlan LAN

Vlan 2

CLI

Vlan 2 Vlan 3

[edit]
set interfaces ge-0/0/0unit 0 description Sales wireless access point port
set interfaces ge-0/0/0unit 0 family ethernet-switching vlan members sales
set interfaces ge-0/0/3 unit 0 description Sales phone port set interfaces ge-0/0/3unit 0 family ethernet-switching vlan members sales
set interfaces ge-0/0/22 unit 0 description Sales printer port set interfaces ge-0/0/22unit 0 family ethernet-switching vlan members sales
set interfaces ge-0/0/20unit 0 description Sales file server port set interfaces ge-0/0/20unit 0 family ethernet-switching vlan members sales
set interfaces ge-0/0/24unit 0 description Support wireless access point port
set interfaces ge-0/0/24unit 0 family ethernet-switching vlan members support
set interfaces ge-0/0/26 unit 0 description Support phone port set interfaces ge-0/0/26unit 0 family ethernet-switching vlan members support
set interfaces ge-0/0/44 unit 0 description Support printer port set interfaces ge-0/0/44unit 0 family ethernet-switching vlan members support
set interfaces ge-0/0/46 unit 0 description Support file server port
set interfaces ge-0/0/46unit 0 family ethernet-switching vlan members support
set interfaces vlanunit 0 family inet address 192.0.2.0/25
set interfaces vlanunit 1 family inet address 192.0.2.128/25 set vlans sales l3 interfacevlan.0
set vlans sales vlan-id100
set vlans support vlan-id200
set vlans support l3-interfacevlan.1

Vlan

VLAN [edit interfaces ge-0/0/0 unit 0]
user@switch# set description Sales wireless access point port
user@switch# set family ethernet-switching vlan memberssales VLAN Avaya IP [edit interfaces ge-0/0/3 unit 0]
user@switch# set description Sales phone port
user@switch# set family ethernet-switching vlan memberssales VLAN [edit interfaces ge-0/0/22 unit 0]
user@switch# set description Sales printer port
user@switch# set family ethernet-switching vlan sales VLAN [edit interfaces ge-0/0/20 unit 0]
user@switch# set description Sales file server port
user@switch# set family ethernet-switchingvlan members sales VLAN [edit interfaces ge-0/0/24 unit 0]
user@switch# set description Support wireless access point port
user@switch# set family ethernet-switchingvlan members support VLAN Avaya IP [edit interfaces ge-0/0/26 unit 0]
user@switch# set description Support phone port
user@switch# set family ethernet-switching vlan memberssupport VLAN [edit interfaces ge-0/0/44 unit 0]
user@switch# set description Support printer port
user@switch# set family ethernet-switchingvlan members support VLAN [edit interfaces ge-0/0/46 unit 0]
user@switch# set description Support file server port
user@switch# set family ethernet-switchingvlan members support [edit interfaces]
user@switch# set vlan unit 0 family inet address 192.0.2.1/25 [edit interfaces]
user@switch# set vlan unit 1 family inet address 192.0.2.129/25 Vlan VLAN Id [edit vlans]
user@switch# setsales vlan-id 100
user@switch# set supportvlan-id 200 Vlan VLAN 3 [edit vlans]
user@switch# setsales l3-interface
user@switch# set supportl3-interface vlan.1

user@switch show configuration interfaces {ge-0/0/0 {unit 0 {description Sales wireless access point port family ethernet-switching {vlan members sales;}}}ge-0/0/3 {unit 0 {description Sales phone port family ethernet-switching {vlan members sales;}}}ge-0/0/22 {unit 0 {description Sales printer port family ethernet-switching {vlan members sales;}}}ge-0/0/20 {unit 0 {description Sales file server port family ethernet-switching {vlan members sales;}}}ge-0/0/24 {unit 0 {description Support wireless access point port family ethernet-switching {vlan members support;}}}ge-0/0/26 {unit 0 {description Support phone port family ethernet-switching {vlan members support;}}}ge-0/0/44 {unit 0 {description Support printer port family ethernet-switching {vlan members support;}}}ge-0/0/46 {unit 0 {description Support file server port family ethernet-switching {vlan members support;}}vlans {unit 0 {family inet address 192.0.2.0/25;}unit 1 {family inet address 192.0.2.128/25;}}}}vlans {sales {vlan-id 100;interface ge-0/0/0.0:interface ge-0/0/3/0;interface ge-0/0/20.0;interface ge-0/0/22.0;l3-interface vlan 0;}support {vlan-id 200;interface ge-0/0/24.0:interface ge-0/0/26.0;interface ge-0/0/44.0;interface ge-0/0/46.0;l3-interface vlan 1;}}

VLAN load merge terminal

vlan

Vlan

Vlan

Vlan

Vlan

Vlan VLAN

Vlan

user@switch vlan
Name Tag Interfacesdefault  ge-0/0/1.0, ge-0/0/2.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/21.0, ge-0/0/23.0*, ge-0/0/25.0, ge-0/0/27.0, ge-0/0/28.0, ge-0/0/29.0, ge-0/0/30.0, ge-0/0/31.0, ge-0/0/32.0, ge-0/0/33.0, ge-0/0/34.0, ge-0/0/35.0, ge-0/0/36.0, ge-0/0/37.0, ge-0/0/38.0, ge-0/0/39.0, ge-0/0/40.0, ge-0/0/41.0, ge-0/0/42.0, ge-0/0/43.0, ge-0/0/45.0, ge-0/0/47.0, ge-0/1/0.0*, ge-0/1/1.0*, ge-0/1/2.0*, ge-0/1/3.0*sales 100 ge-0/0/0.0*, ge-0/0/3.0, ge-0/0/20.0, ge-0/0/22.0support 200 ge-0/0/24.0, ge-0/0/26.0, ge-0/0/44.0, ge-0/0/46.0*mgmt  me0.0*

show vlans vlan vlan Vlan T4000 VLAN ID 100 ge-0/0/0.0 ge-0/0/3.0 ge-0/0/20.0 ge-0/0/22.0. VLAN ID 200 ge-0/0/24.0 ge-0/0/26.0 ge-0/0/44.0 ge-0/0/46.0.

Vlan

Vlan

ARP 3

user@switch show arp
MAC Address Address Name Flags00:00:0c:06:2c:0d 192.0.2.3 vlan.0 None00:13:e2:50:62:e0 192.0.2.11 vlan.1 None

IP IP MAC ARP IP MAC vlan 0 vlan 1 ) (LL) Vlan

Vlan

user@switch
Ethernet-switching table: 8 entries, 5 learned VLAN MAC address Type Age Interfaces default * Flood - All-members default 00:00:05:00:00:01 Learn - ge-0/0/10.0 default 00:00:5e:00:01:09 Learn - ge-0/0/13.0 default 00:19:e2:50:63:e0 Learn - ge-0/0/23.0 sales * Flood - All-members sales 00:00:5e:00:07:09 Learn - ge-0/0/0.0 support * Flood All members support 00:00:5e:00:01:01 Learn ge-0/0/46.0

Vlan ge-0/0/0.0 ge-0/0/46.0. Vlan

Example: Setting Up Basic Bridging and a VLAN for an EX Series Switch

EX

Understanding Bridging and VLANs on Switches

Lan

Ex4200-24f EX 4200 24 1 SFP 2 10 XFP EX-2XFP

EX3200-ex4200-24p 24 1 PoE 1

QFX Junos OS 11.1

LAN Vlan 1 1

8

8:

EX 3200-Ex4200-24p 24 1 PoE ge-0/0/0 ge-0/0/23); 4 1 EX-UM-4SFP

EX 4200-Ex4200-24f 24 1 SPF ge-0/0/0 ge-0/0/23); 2 10 XFP EX-4SFP

VLAN Id

100 200

VLAN

192.0.2.0/25 192.0.2.1 192.0.2.126 192.0.2.128/25 192.0.2.129 192.0.2.254

ge-0/1/0 ge-0/0/0

VLAN

Avaya IP ge-0/0/3 ge-0/0/19 ge-0/0/0 ge-0/0/1 ge-0/0/22 ge-0/0/23 ge-0/0/20 ge-0/0/21

VLAN

Avaya IP ge-0/0/25 ge-0/0/43 ge-0/0/24 ge-0/0/44 ge-0/0/45 ge-0/0/46 ge-0/0/47

ge-0/0/2 ge-0/0/25

CLI

[edit] set interfaces ge-0/0/0unit 0 description Sales Wireless access point port set interfaces ge-0/0/0unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/3 unit 0 description Sales phone port set interfaces ge-0/0/3unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/22 unit 0 description Sales printer port set interfaces ge-0/0/22unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/20unit 0 description Sales file server port set interfaces ge-0/0/20unit 0 family ethernet-switching vlan members sales set interfaces ge-0/0/24unit 0 description Support wireless access point port set interfaces ge-0/0/24unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/26 unit 0 description Support phone port set interfaces ge-0/0/26unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/44 unit 0 description Support printer port set interfaces ge-0/0/44unit 0 family ethernet-switching vlan members support set interfaces ge-0/0/46unit 0 description Support file server port set interfaces ge-0/0/46unit 0 family ethernet-switching vlan members support set interfaces ge-0/1/0unit 0 description Uplink module port connection to distributionswitch set interfaces ge-0/1/0unit 0 family ethernet-switching port-mode trunk set interfaces ge-0/1/0unit 0 family ethernet-switching native-vlan-id 1 set interfaces ge-0/1/0unit 0 family ethernet switching vlan members [sales support] set interfaces vlanunit 0 family inet address 192.0.2.1/25 set interfaces vlanunit 1 family inet address 192.0.2.129/25 set vlans sales interfacege-0/0/0.0 set vlans sales interfacege-0/0/3.0 set vlans sales interfacege-0/0/22.0 set vlans sales interfacege-0/0/20.0 set vlans sales l3-interfacevlan.0 set vlans sales vlan-id100 set vlans sales vlan-description Sales VLAN set vlans support interfacege-0/0/24.0 set vlans support interfacege-0/0/26.0 set vlans support interfacege-0/0/44.0 set vlans support interfacege-0/0/46.0 set vlans support vlan-id200 set vlans support l3 interfacevlan.1 set vlans support vlan-description Support VLAN

1 [edit interfaces ge-0/1/0 unit 0]user@access-switch# setdescription Uplink module port connection to distribution switch user@access-switch# set ethernet-switching trunk Vlan [edit interfaces ge-0/1/0 unit 0]user@access-switch# set ethernet-switching vlan [ sales support ] dot1q VLAN ID [edit interfaces ge-0/1/0 unit 0]user@access-switch# set ethernet-switching vlan id 1 VLAN [edit vlans sales]user@access-switch# set vlan-description Sales VLAN user@access-switch# set vlan id 100user@access-switch# set l3-interface (VLAN) vlan.0 VLAN [edit vlans support]user@access-switch# setvlan-description Support VLAN user@access-switch# set vlan id 200user@access-switch# set l3-interface (VLAN) vlan.1 [edit interfaces]user@access-switch# set vlanunit 0 family inet address 192.0.2.1/25 [edit interfaces]user@access-switch# set vlanunit 1 family inet address 192.0.2.129/25 VLAN [edit interfaces]user@access-switch# set ge-0/0/0unit 0 description Sales wireless access point port user@access-switch# set ge-0/0/0 unit 0 family ethernet-switchingvlan members salesuser@access-switch# setge-0/0/3 unit 0 description Sales phone port user@access-switch# set ge-0/0/3 unit 0 family ethernet-switchingvlan members salesuser@access-switch# setge-0/0/20 unit 0 description Sales file server port user@access switch# set ge-0/0/20 unit 0 familyethernet-switching vlan members salesuser@access-switch# set ge-0/0/22 unit 0 description Sales printer port user@access-switch# set ge-0/0/22 unit 0 family ethernet-switchingvlan members sales VLAN [edit interfaces]user@access-switch# set ge-0/0/24unit 0 description Support wireless access point port user@access-switch# set ge-0/0/24 unit 0 family ethernet-switchingvlan members supportuser@access-switch# set ge-0/0/26 unit 0 description Support phone port user@access-switch# set ge-0/0/26 unit 0 family ethernet-switchingvlan members supportuser@access-switch# set ge-0/0/44 unit 0 description Support printer port user@access-switch# set ge-0/0/44 unit 0 family ethernet-switchingvlan members supportuser@access-switch# set ge-0/0/46 unit 0 description Support file server port user@access-switch# set ge-0/0/46 unit 0 family ethernet-switchingvlan members support Vlan VLAN Id [edit vlans]user@access-switch# set sales vlan-description Sales VLAN user@access-switch# set sales vlan-id 100user@access-switch# set support vlan-description Support VLAN user@access-switch# set support vlan-id 200 Vlan 3 VLAN [edit vlans]user@access-switch# set sales l3-interfacevlan.0user@access-switch# set support l3-interfacevlan.1

user@access-switch show interfaces {ge-0/0/0 { unit 0 {description Sales wireless access point port family ethernet-switching {vlan members sales;}}}ge-0/0/3 {unit 0 {description Sales phone port family ethernet-switching {vlan members sales;}}}ge-0/0/20 {unit 0 {description Sales file server port family ethernet-switching {vlan members sales;}}}ge-0/0/22 {unit 0 {description Sales printer port family ethernet-switching {vlan members sales;}}}ge-0/0/24 {unit 0 {description Support wireless access point port family ethernet-switching {vlan members support;}}}ge-0/0/26 {unit 0 {description Support phone port family ethernet-switching {vlan members support;}}}ge-0/0/44 {unit 0 {description Support printer port family ethernet-switching {vlan members sales;}}}ge-0/0/46 {unit 0 {description Support file server port family ethernet-switching {vlan members support;}}}ge-0/1/0 {unit 0 {description Uplink module port connection to distributionswitch family ethernet-switching {port-mode trunk;vlan members [ sales support ];native-vlan-id 1;}}}vlan {unit 0 {family inet address 192.0.2.1/25;}unit 1 {family inet address 192.0.2.129/25;}}}vlans {sales {vlan-id 100;vlan-description Sales VLAN l3-interface vlan.0;}support {vlan-id 200;vlan-description Support VLAN l3-interface vlan.1;}}

load merge terminal

CLI

set interfaces ge-0/0/0description Connection to access switch set interfaces ge-0/0/0ethernet-switching port-mode trunk set interfaces ge-0/0/0ethernet-switching vlan members [ sales support ] set interfaces ge-0/0/0ethernet-switching native-vlan-id 1 set interfaces vlanunit 0 family inet address 192.0.2.2/25 set interfaces vlanunit 1 family inet address 192.0.2.130/25 set vlans sales vlan-description Sales VLAN set vlans sales vlan-id100 set vlans sales l3-interfacevlan.0 set vlans support vlan-description Support VLAN set vlans support vlan-id200 set vlans support l3-interfacevlan.1

[edit interfaces ge-0/0/0 unit 0]user@distribution-switch# set description Connection to access switch user@distribution-switch# set ethernet-switching trunk Vlan [edit interfaces ge-0/0/0 unit 0]user@distribution-switch# set ethernet-switching vlan [ sales support ] dot1q VLAN ID [edit interfaces]user@distribution-switch# setge-0/0/0 ethernet-switching vlan id 1 VLAN [edit vlans sales]user@distribution-switch# set vlan-description Sales VLAN user@distribution-switch# set vlan id 100user@distribution-switch# set l3-interface (VLAN) vlan.0 VLAN [edit vlans support]user@distribution-switch# set vlan-description Support VLAN user@distribution-switch# set vlan id 200user@distribution-switch# set l3-interface (VLAN) vlan.1 [edit interfaces]user@distribution-switch# setvlan unit 0 family inet address 192.0.2.2/25 [edit interfaces] user@distribution-switch# set vlan unit 1 family inet address 192.0.2.130/25

user@distribution-switch show interfaces {ge-0/0/0 {description Connection to access switch unit 0 {family ethernet-switching {port-mode trunk;vlan members [ sales support ];native-vlan-id 1;}}}vlan {unit 0 {family inet address 192.0.2.2/25;}unit 1 {family inet address 192.0.2.130/25;}}}vlans {sales {vlan-id 100;vlan-description Sales VLAN l3-interface vlan.0;}support {vlan-id 200;vlan-description Support VLAN l3-interface vlan.1;}}

load merge terminal

VLAN

VLAN

VLAN

Vlan

user@switch vlan
Name Tag Interfacesdefault  ge-0/0/1.0, ge-0/0/2.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/21.0, ge-0/0/23.0, ge-0/0/25.0, ge-0/0/27.0*,ge-0/0/28.0, ge-0/0/29.0, ge-0/0/30.0, ge-0/0/31.0*,ge-0/0/32.0, ge-0/0/33.0, ge-0/0/34.0, ge-0/0/35.0*,ge-0/0/36.0, ge-0/0/37.0, ge-0/0/38.0, ge-0/0/39.0*,ge-0/0/40.0, ge-0/0/41.0, ge-0/0/42.0, ge-0/0/43.0*,ge-0/0/45.0, ge-0/0/47.0, ge-0/1/1.0*, ge-0/1/2.0*, ge-0/1/3.0*sales 100 ge-0/0/0.0*, ge-0/0/3.0, ge-0/0/20.0, ge-0/0/22.0, ge-0/1/0.0*, support 200 ge-0/0/24.0*, ge-0/0/26.0, ge-0/0/44.0, ge-0/0/46.0,mgmt  me0.0*

Vlan

VLAN

Vlan

user@switch vlan
Name Tag Interfacesdefault  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, ge-0/0/21.0, ge-0/0/22.0*, ge-0/0/23.0, ge-0/1/1.0*, ge-0/1/2.0*, ge-0/1/3.0*sales 100 ge-0/0/0.0*support 200 ge-0/0/0.0*mgmt  me0.0*

Vlan ge-0/0/0.0. ge-0/0/0.0

VLAN

interface-mode access;

[edit interfaces interface-name unit logical-unit-number family ethernet-switching]

[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family ethernet-switching]

VLAN ID VLAN ID VLAN

2 VLAN ID 20

[edit interfaces ge-1/2/0]unit 1 {family ethernet-switching {interface-mode access;vlan members 20;}}

VLAN

EX Junos OS Junos OS 2 ELS QFX3500 QFX3600 ELS Configuring the Native VLAN Identifier on Switches With ELS Support ELS Using the Enhanced Layer 2 Software CLI

EX 802.1 Q VLAN VLAN ID

CLI VLAN ID

Vlan Vlan LAN vsan [edit interfaces ge-0/0/3 unit 0 family ethernet-switching]
user@switch# set trunk VLAN ID [edit interfaces ge-0/0/3 unit 0 family ethernet-switching]
user@switch# set vlan id 3 ELS VLAN

EX Junos OS Junos OS 2 ELS QFX3500 QFX3600 ELS Configuring the Native VLAN Identifier ELS Using the Enhanced Layer 2 Software CLI

802.1 Q VLAN VLAN ID VLAN ID VLAN ID

CLI VLAN ID

trunk vlan vlan [edit interfaces]
user@switch# set interface-name unit logical-unit-number family ethernet-switching interface-mode trunk VLAN ID [edit interfaces]
user@switch# set interface-name vlan id vlan-id VLAN [edit interfaces]user@switch# set interface-name unit logical-unit-number family ethernet-switching vlan members vlan-id VLAN

encapsulation[edit interfaces interface-name]

[edit interfaces interface-name] encapsulation type;

VLAN CCC VPLS 1 511 VLAN Id Vlan vlan id 512 4094 CCC VPLS vlan 4 CCC VPLS Vlan VLAN Id 512 1024

VLAN Id

VLAN CCC VLAN VPLS VLAN encapsulation

encapsulation (vlan-ccc | vlan-tcc | vlan-vpls);

[edit interfaces interface-name unit logical-unit-number]

[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

VLAN CCC VLAN VPLS VLAN ID 512 ; VLAN ID 511 VLAN ID

[edit interfaces interface-name]

VLAN

VLAN CCC

interfaces ge-2/1/0 {vlan-tagging;encapsulation vlan-ccc;unit 0 {encapsulation vlan-ccc;vlan-id 600;}} VLAN

VLAN CCC

interfaces ae0 {vlan-tagging;encapsulation vlan-vpls;unit 0 {vlan-id 100;}}

Release History Table 17.3R1 QFX10000 Junos OS 17.3 vmembers 256k 17.1R3 Junos OS 17.1 R3 QFX10000 family ethernet-switching and flexible-vlan-tagging

本文链接: http://irbex.immuno-online.com/view-757385.html

发布于 : 2021-03-25 阅读(0)
公司介绍
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616
官网:http://