Getting Started Els
Getting Started Els
The Layer 2 features that support the ELS configuration style are:
• VLANs
• Native VLANs
• VLAN ranges
• Native analyzers
• Storm control
• IGMP snooping
The Layer 2 protocols that support the ELS configuration style are:
• LACP
• LLDP
• MSTP
• MVRP
• RSTP
• VSTP
Configuring a VLAN
You can configure one or more VLANs to perform Layer 2 bridging. The Layer 2 bridging
functions include integrated routing and bridging (IRB) for support for Layer 2 bridging
and Layer 3 IP routing on the same interface. EX Series switches can function as Layer 2
switches, each with multiple bridging, or broadcast, domains that participate in the same
Layer 2 network. You can also configure Layer 3 routing support for a VLAN.
To configure a VLAN:
1. Create the VLAN by setting the unique VLAN name and configuring the VLAN ID:
[edit]
user@host# set vlans vlan-name vlan-id vlan-id-number
2. Assign at least one interface to the VLAN:
[edit]
user@host# set interface interface-name family ethernet-switching vlan members vlan-name
1. On the interface on which you want untagged data packets to be received, set the
interface mode to trunk, which specifies that the interface is in multiple VLANs and
can multiplex traffic between different VLANs.
[edit interfaces]
user@host# set interface-name unit logical-unit-number family ethernet-switching
interface-mode trunk
2. Configure the native VLAN ID:
[edit interfaces]
user@host# set interface-name native-vlan-id number
3. Assign the interface to the native VLAN ID:
[edit interfaces]
user@host# set interface-name unit logical-unit-number family ethernet-switching vlan
members native-vlan-id-number
To configure a Gigabit Ethernet interface or 10-Gigabit Ethernet interface for trunk interface
mode:
[edit]
user@host# set interfaces interface-name unit logical-unit-number family ethernet-switching
interface-mode trunk
To configure a Gigabit Ethernet interface or 10-Gigabit Ethernet interface for access
interface mode:
[edit]
user@host# set interfaces interface-name unit logical-unit-number family ethernet-switching
interface-mode access
You can configure interfaces with a 32-bit IP version 4 (IPv4) address and optionally with
a destination prefix, sometimes called a subnet mask. An IPv4 address utilizes a 4-octet
dotted decimal address syntax (for example, 192.16.1.1). An IPv4 address with destination
prefix utilizes a 4-octet dotted decimal address syntax with a destination prefix appended
(for example, 192.16.1.1/30).
[edit]
user@host# set interface irb unit logical-unit-number family inet address ip-address
3. Associate the IRB interface with the VLAN:
[edit]
user@host# set vlans vlan-name l3-interface irb.logical-unit-number
[edit interfaces]
user@host# set interfaces aex
[edit interfaces]
user@host# set aex aggregated-ether-options link-speed link-speed
5. Specify the members to be included within the aggregated Ethernet bundle:
[edit interfaces]
user@host# set interface-name ether-options 802.3ad aex
user@host# set interface-name ether-options 802.3ad aex
6. Specify an interface family for the aggregated Ethernet bundle:
[edit interfaces]
user@host# set aex unit 0 family inet address ip-address
For aggregated Ethernet interfaces on the device, you can configure the Link Aggregation
Control Protocol (LACP). LACP bundles several physical interfaces to form one logical
interface. You can configure aggregated Ethernet with or without LACP enabled.
When LACP is enabled, the local and remote sides of the aggregated Ethernet links
exchange protocol data units (PDUs), containing information about the state of the link.
You can configure Ethernet links to actively transmit PDUs, or you can configure the links
to passively transmit them, sending out LACP PDUs only when they receive them from
another link. One side of the link must be configured as active for the link to be up.
To configure LACP:
[edit interfaces]
user@host# set aex aggregated-ether-options lacp periodic interval
Published: 2013-06-28