port-mode
Syntax
port-mode mode;
Hierarchy Level
[edit
interfaces
interface-name
unit
logical-unit-number
family
ethernet-switching]
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 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.
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.
Related
Documentation
•
Example: Connecting an Access Switch to a Distribution Switch on page 1320
•
Configuring Gigabit Ethernet Interfaces (CLI Procedure) on page 1153
•
Configuring Gigabit Ethernet Interfaces (J-Web Procedure) on page 1143
•
Junos OS Network Interfaces Configuration Guide
at
http://www.juniper.net/techpubs/software/junos/index.html
Copyright © 2010, Juniper Networks, Inc.
1218
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...