Technical Documentation



port-mode mode;

Hierarchy Level

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

Release Information

Statement introduced in JUNOS Release 9.0 for EX Series switches.


Configure whether an interface on the switch operates in access or trunk mode.


All switch interfaces are in access mode.


access—Have the interface operate in access mode. In this mode, the interface can be in a single VLAN only. Access interfaces typically connect to network devices such as PCs, printers, IP telephones, and IP cameras.

trunk—Have the interface operate in trunk mode. In this mode, the interface can be in multiple VLANs and can multiplex traffic between different VLANs. Trunk interfaces typically connect to other switches and to routers on the LAN.

Required Privilege Level

interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.

Published: 2010-01-11