Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Bridging with Multiple VLANs
- Understanding Bridging and VLANs
Example: Setting Up Basic Bridging and a VLAN on the QFX Series
The QFX Series products use bridging and virtual LANs (VLANs) to connect network devices—storage devices, file servers, and other LAN components—in a LAN and to segment the LAN into smaller bridging domains.
To segment traffic on a LAN into separate broadcast domains, you create separate virtual LANs (VLANs) on a switch. Each VLAN is a collection of network nodes. When you use VLANs, frames whose origin and destination are in the same VLAN are forwarded only within the local VLAN, and only frames not destined for the local VLAN are forwarded to other broadcast domains. VLANs thus limit the amount of traffic flowing across the entire LAN, reducing the possible number of collisions and packet retransmissions within the LAN.
This example describes how to configure basic bridging and VLANs for the QFX Series:
Requirements
This example uses the following software and hardware components:
- Junos OS Release 11.1 or later for the QFX Series
- A configured and provisioned QFX Series product
Overview and Topology
To use a switch to connect network devices on a LAN, you must at a minimum configure bridging and VLANs. By default, bridging is enabled on all switch interfaces, all interfaces are in access mode, and all interfaces belong to a VLAN called employee-vlan, which is automatically configured. When you plug in access devices—such as desktop computers, file servers, and printers—they are joined immediately into the employee-vlan VLAN, and the LAN is up and running.
The topology used in this example consists of a single QFX3500 switch, with a total of 48 10-Gbps Ethernet ports. (For the purposes of this example, the QSFP+ ports Q0-Q3, which are ports xe-0/1/0 through xe-0/1/15, are excluded.) You use the ports to connect devices that have their own power sources. Table 1 details the topology used in this configuration example.
Table 1: Components of the Basic Bridging Configuration Topology
Property | Settings |
---|---|
Switch hardware | QFX3500 switch, with 48 10-Gbps Ethernet ports |
VLAN name | employee-vlan |
VLAN ID | 10 |
Connections to file servers | xe-0/0/17 and xe-0/0/18 |
Direct connections to desktop PCs and laptops | xe-0/0/0 through xe-0/0/16 |
Connections to integrated printer/fax/copier machines | xe-0/0/19 through xe-0/0/40 |
Unused ports | xe-0/0/41 through xe-0/0/47 |
Configuration
CLI Quick Configuration
To quickly configure a VLAN, copy the following commands and paste them into the switch terminal window:
[edit]
set vlans employee-vlan vlan-id 10
set interfaces xe-0/0/0 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/1 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/2 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/3 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/4 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/5 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/6 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/7 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/8 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/9 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/10 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/11 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/12 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/13 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/14 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/15 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/16 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/17 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/18 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/19 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/20 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/21 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/22 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/23 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/24 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/25 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/26 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/27 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/28 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/29 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/30 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/31 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/32 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/33 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/34 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/35 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/36 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/37 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/38 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/39 unit 0 family ethernet-switching
vlan members employee-vlan
set interfaces xe-0/0/40 unit 0 family ethernet-switching
vlan members employee-vlan
Step-by-Step Procedure
To set up basic bridging and a VLAN:
- Create a VLAN named employee-vlan and specify the VLAN
ID of 10 for it:
[edit vlans]
user@switch# set employee-vlan vlan-id 10
- Assign interfaces xe-0/0/0 through xe-0/0/40 to the employee-vlan
VLAN:
[edit interface]
user@switch# set xe-0/0/0 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/1 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/2 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/3 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/4 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/5 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/6 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/7 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/8 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/9 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/10 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/11 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/12 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/13 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/14 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/15 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/16 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/17 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/18 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/19 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/20 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/21 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/22 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/23 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/24 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/25 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/26 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/27 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/28 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/29 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/30 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/31 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/32 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/33 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/34 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/35 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/36 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/37 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/38 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/39 unit 0 family ethernet-switching vlan members employee-vlan
user@switch# set xe-0/0/40 unit 0 family ethernet-switching vlan members employee-vlan
- Connect the two file servers to ports xe-0/0/17 and xe-0/0/18.
- Connect the desktop PCs and laptops to ports xe-0/0/0 through xe-0/0/16.
- Connect the integrated printer/fax/copier machines to ports xe-0/0/19 through xe-0/0/40.
Results
Check the results of the configuration:
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; } } } }
Verification
To verify that switching is operational and that employee-vlan has been created, perform these tasks:
- Verifying That the VLAN Has Been Created
- Verifying That Interfaces Are Associated with the Proper VLANs
Verifying That the VLAN Has Been Created
Purpose
Verify that the VLAN named employee-vlan has been created on the switch.
Action
List all VLANs configured on the switch:
user@switch> show vlans
Routing instance VLAN name Tag Interfaces default-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 ...
Meaning
The show vlans command lists the VLANs configured on the switch. This output shows that the VLAN employee-vlan has been created.
Verifying That Interfaces Are Associated with the Proper VLANs
Purpose
Verify that Ethernet switching is enabled on switch interfaces and that all interfaces are included in the VLAN.
Action
List all interfaces on which switching is enabled:
user@switch> show ethernet-switching interfaces
Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/0.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/1.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/2.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/3.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/4.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/5.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/6.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/7.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/8.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/9.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/10.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/11.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/12.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/13.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/14.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/15.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/16.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/17.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/18.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/19.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/20.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/21.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/22.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/23.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/24.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/25.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/26.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/27.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/28.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/29.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/30.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/31.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/32.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/33.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/34.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/35.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/36.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/37.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/38.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/39.0 65535 untagged employee-vlan 10 65535 Discarding Routing Instance Name : default-switch Logical Interface flags (DL - disable learning, AD - packet action drop, LH - MAC limit hit, DN - interface down ) Logical Vlan TAG MAC STP Logical Tagging interface members limit state interface flags xe-0/0/40.0 65535 untagged employee-vlan 10 65535 Discarding ...
Meaning
The show ethernet-switching interfaces command lists all interfaces on which switching is enabled (in the Logical interface column), along with the VLANs that are active on the interfaces (in the VLAN members column). The output in this example shows all the connected interfaces, xe-0/0/0 through xe-0/0/40, are all part of VLAN employee-vlan. Notice that the interfaces listed are the logical interfaces, not the physical interfaces. For example, the output shows xe-0/0/0.0 instead of xe-0/0/0. This is because Junos OS creates VLANs on logical interfaces, not directly on physical interfaces.
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Bridging with Multiple VLANs
- Understanding Bridging and VLANs
Published: 2014-07-23
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Example: Setting Up Bridging with Multiple VLANs
- Understanding Bridging and VLANs