Supported Platforms
port-mode
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure whether an interface on the switch operates in access, tagged-access, or trunk mode.
Default
All switch interfaces are in access mode.
Options
mode | — | Operating mode for an interface can be one of the following: |
- access—In this mode, the interface can be in a single VLAN only. Access interfaces typically connect to single network devices such as PCs, printers, IP telephones, and IP cameras.
- tagged-access—In this mode, the interface can accept tagged packets from one access device. Tagged-access interfaces typically connect to servers running Virtual machines using VEPA technology.
- trunk—In this mode, the interface can be
in multiple VLANs and accept tagged packets from multiple devices.
Trunk interfaces typically connect to other switches and to routers
on the LAN.
Note: The number of VLANs supported per switch varies for each model. Use the configuration-mode command set vlans id vlan-id ? to determine the maximum number of VLANs allowed on a switch. You cannot exceed this VLAN limit because each VLAN is assigned an ID number when it is created. You can, however, exceed the recommended VLAN member maximum. To determine the maximum number of VLAN members allowed on a switch, multiply the VLAN maximum for the switch times 8 (vmember limit = vlan max * 8).
If a switch configuration exceeds the recommended VLAN member maximum, you see a warning message when you commit the configuration. If you ignore the warning and commit such a configuration, the configuration succeeds but you run the risk of crashing the Ethernet switching process (eswd) due to memory allocation failure.
Required Privilege Level
interface—To view this statement in the
configuration.
interface-control—To add this
statement to the configuration.
Published: 2012-12-07
Supported Platforms
Related Documentation
- EX Series
- Example: Connecting an Access Switch to a Distribution Switch
- Configuring Gigabit Ethernet Interfaces (CLI Procedure)
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Additional Information
- Junos OS Ethernet Interfaces Configuration Guide