An Ethernet interface must be configured for optimal performance in a high-traffic network. EX Series switches include a factory default configuration that:
This topic describes:
By default, when you boot a switch and use the factory default configuration, or when you boot the switch and do not explicitly configure a port mode, all interfaces on the switch are in access mode and accept only untagged packets from the VLAN named default. You can optionally configure another VLAN and use that instead of default. You can also configure a port to accept untagged packets from the user-configured VLAN. For details on this concept (native VLAN), see Understanding Bridging and VLANs on EX Series Switches
If you are connecting either a desktop phone, wireless access point or a security camera to a Power over Ethernet (PoE) port, you can configure some parameters for the PoE interface. PoE interfaces are enabled by default. For detailed information on PoE settings, see Configuring PoE (CLI Procedure).
If you are connecting a device to other switches and to routers on the LAN, you need to assign the interface to a logical port and configure the logical port as a trunk port. See Port Role Configuration with the J-Web Interface (with CLI References) for more information about port configuration.
If you are connecting to a server that contains virtual machines and a VEPA for packet aggregation from those virtual machines, configure the port as a tagged-access port. See Understanding Bridging and VLANs on EX Series Switches for more information about tagged access.
To configure a Gigabit Ethernet interface or 10-Gigabit Ethernet interface for trunk port mode:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family ethernet-switching port-mode trunkTo configure a Gigabit Ethernet interface or 10-Gigabit Ethernet interface for tagged-access port mode:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family ethernet-switching port-mode tagged-accessEX Series switches include a factory default configuration that enables interfaces with the following link settings:
To configure the link settings:
[edit]
user@switch# set interfaces ge-fpc/pic/port ether-options[edit]
user@switch# set interfaces xe-fpc/pic/port ether-options![]() | Note: On EX Series switches, fpc can have the following values:
pic can have the following values:
|
The ether-options statement allows you to modify the configuration:
To specify an IP address for the logical unit using IPv4:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet address ip-addressTo specify an IP address for the logical unit using IPv6:
[edit]
user@switch# set interfaces interface-name unit logical-unit-number family inet6 address ip-address![]() | Note: Access interfaces on EX2200, EX3200, EX3300, EX4200, and EX4500 switches are set to family ethernet-switching by default. You might have to delete this or another user-configured family setting before changing the setting to family inet or family inet6. |