Related
Documentation
Configuring Gigabit Ethernet Interfaces (CLI Procedure)•
• Configuring Gigabit Ethernet Interfaces (CLI Procedure) on page 32
• Monitoring Interface Status and Traffic on page 233
• EX Series Switches Interfaces Overview on page 3
• Junos OS CoS for EX Series Switches Overview
• Understanding Interface Naming Conventions on EX Series Switches on page 6
Port Role Configuration with the J-Web Interface (with CLI References)
When you configure Gigabit Ethernet interface properties with the J-Web interface
(Configure > Interfaces) you can optionally select pre-configured port roles for those
interfaces. When you select a role from the Port Role field and apply it to a port, the J-Web
interface modifies the switch configuration using CLI commands. Table 13 on page 41
lists the CLI commands applied for each port role.
NOTE: If there is an existing port role configuration, it is cleared before the
new port role configuration is applied.
Table 13: Port Role Configuration Summary
CLI CommandsConfiguration Description
Default Port Role
set interfaces interfaceapply-macro juniper-port-profile
Default
Set the port role to Default.
set interfaces interface unit 0 family ethernet-switching
port-mode access
Set port family to ethernet-switching.
Set port mode to access.
delete protocols rstp interface interface disable
Enable RSTP if redundant trunk groups are not
configured.
set protocols rstp interface interface disable
Disable RSTP if redundant trunk groups are
configured.
Desktop Port Role
set interfaces interface apply-macro juniper-port-profile
Desktop
Set the port role to desktop.
set vlans <vlan name> vlan-id <vlan-id>Set VLAN if new VLAN is specified.
set interfaces interface unit 0 family ethernet-switching
port-mode access
Set port family to ethernet-switching.
Set Port Mode to Access.
41Copyright © 2015, Juniper Networks, Inc.
Chapter 2: Configuration Tasks