Juniper


If the switch has not yet been configured, you may skip the restore factory settings procedure. Initial configuration assigns IP address and other management access. If this basic setup has already been done, you may skip to Disable flow control, QoS configuration to perform the configuration changes required specifically for Q-SYS.

Restore Factory Default Settings

If the switch has been previously configured, must first restore to factory defaults. The initial configuration procedure below only works starting from factor default settings. Restoring to factory defaults can be accomplished from the LCD interface on the front of the switch.

  1. Press the Menu (top) button until you see MAINTENANCE MENU then press the Enter (bottom) button
  2. Press Menu until you see FACTORY DEFAULT then press Enter
  3. Press Enter again to confirm
  4. Allow 5 minutes for the switch to reset and reboot

Initial Configuration

Initial configuration is accomplished via serial terminal connection to the console port. The console port is an RJ45 located on the back of the switch and is labeled “CON”. Cisco-style DB9 to RJ45 cable and 9600,n,8,1 line settings are required. Starting from factory defaults state, this procedure sets up switch defaults and management access via the network.

  1. [email protected]:RE:0% prompt is displayed. Enter ezsetup to start setup wizard.
  2. Enter host name or <enter> to skip
  3. Enter a root password for the switch. There is a delay while the password is stored.
  4. Press <enter> to disable telnet service (Juniper recommends using SSH)
  5. Press <enter> to enable SSH service
  6. Press <enter> to configure in-band management
  7. Press <enter> to use VLAN "default" for management
  8. Enter IP address for switch management
  9. Enter subnet mask for switch management
  10. Enter gateway for switch management or 0.0.0.0 if no gateway available
  11. Configure SNMP if necessary
  12. Enter system time <enter> to skip
  13. Enter timezone or <enter> to skip
  14. Configuration selections will be summarized. Press <enter> to confirm and save.

Enable Web Interface

The web interface is known as J-Web in Juniper documentation

  1. cli to enter command line interface mode
  2. configure to modify configuration
  3. set system services web-management http to enable web management
  4. commit to save configuration changes
  5. exit to exit edit mode
  6. Open a browser and enter the IP address of the switch into the address bar
  7. A login screen should be presented. Use root as login and enter root password.

Upgrade Switch Firmware (optional)

  1. Download firmware from http://juniper.net
  2. Log in to J-Web interface (see last two steps of Enable web interface section above)
  3. Select Maintenance tab at top of page
  4. Select Software button on left side of page
  5. Select Upload package button below Software button
  6. Press Choose file button at center of page and locate downloaded firmware package
  7. Check Allow reboot and press OK
  8. Wait 2 minutes while firmware is downloaded and be installed
  9. Reboot confirmation will be requested. Click OK. Wait 10 minutes for reboot and processing.

Disable Flow Control

Flow control is enabled by default on all interfaces. Flow control is not desireable for real-time applications such as Q-SYS audio. Use the following procedure to disable flow control on all gigabit ports. The procedure can be modifed so as not to affect non-Q-SYS ports if desired.

  1. Log into the switch using the serial connection to the console port or SSH. The switch does not accept telnet connections from the root account. If you need to use telnet (as opposed to SSH), you can create a separate, less privlidged, account for doing so.
  2. [email protected]:RE:0% prompt is displayed. Enter cli to to start the configuration command-line interface.
  3. configure to enter configuration mode
  4. set interfaces interface-range ranger member ge-0/0/* to enumerate all gigabit access ports
  5. If gigabit uplink ports are installed, set interfaces interface-range ranger member ge-0/1/* to enumerate all gigabit uplink ports
  6. If 10 gigabit uplink ports are installed set interfaces interface-range ranger member xe-0/1/* to enumerate all 10 gigabit uplink ports
  7. edit interfaces interface-range ranger to enter interface edit context
  8. set ether-options no-flow-control to disable flow control
  9. commit to save changes
  10. quit to leave interface edit context
  11. quit to exit configuration mode

QoS Configuration

  1. Log in to J-Web interface (see last two steps of Enable web interface section above)
  2. Select Configure tab at top of page
  3. Select CLI Tools button on left side of page
  4. Select CLI Editor sub-button on left side of page under CLI Tools button
  5. Copy the Access port QoS configuration statements to your clipboard
  6. Find the class-of-service section in the edit box and select all text including initial class-of-service { and final }
  7. Past from your clipboard replacing the existing class-of-service section with the code below
  8. If the gigabit uplink module is installed in the switch, you must add the Gigabit uplink ports QoS configuration statements to the end of the interfaces { section of the configuration.
  9. If the 10 gigabit uplink module is installed in the switch, you must add the 10 gigabit uplink ports QoS configuration statements to the end of the interfaces { section of the configuration.
  10. Press the Commit button at the top right of the edit box
  11. Confirm commit operation

Access Port QoS Configuration Statements

class-of-service {

classifiers {

dscp Q-LAN-class {

import default;

forwarding-class assured-forwarding {

loss-priority low code-points af41;

}

forwarding-class expedited-forwarding {

loss-priority low code-points ef;

}

}

}

interfaces {

ge-0/0/0 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/1 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/2 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/3 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/4 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/5 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/6 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/7 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/8 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/9 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/10 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/11 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/12 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/13 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/14 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/15 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/16 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/17 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/18 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/19 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/20 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/21 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/22 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/0/23 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

}

scheduler-maps {

Q-LAN-map {

forwarding-class assured-forwarding scheduler default-af;

forwarding-class expedited-forwarding scheduler default-ef;

forwarding-class best-effort scheduler default-be;

}

}

schedulers {

default-be {

transmit-rate remainder;

buffer-size remainder;

priority low;

}

default-af {

buffer-size percent 20;

priority strict-high;

}

default-ef {

buffer-size percent 5;

priority strict-high;

}

}

}

Gigabit Uplink Ports QoS Configuration Statements

ge-0/1/0 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/1/1 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/1/2 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

ge-0/1/3 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

10 Gigabit Uplink Ports QoS Configuration Statements

xe-0/1/0 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}

xe-0/1/1 {

scheduler-map Q-LAN-map;

unit 0 {

classifiers {

dscp Q-LAN-class;

}

}

}