Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

port-mode

Syntax

port-mode (access | tagged-access | trunk);

Hierarchy Level

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

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Note: This statement does not support the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that supports ELS, see interface-mode. For ELS details, see Getting Started with Enhanced Layer 2 Software.

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

Default

All switch interfaces are in access mode.

Options

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.

tagged-access—Have the interface operate in tagged-access mode. In this mode, the interface can be in multiple VLANs. Tagged 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: 2014-07-23