- play_arrow Fast Track: Initial Installation
- play_arrow System Overview and Specifications
- play_arrow Site Planning and Preparation
- play_arrow Maintain Components
- play_arrow Troubleshoot Hardware
- play_arrow Contact Customer Support and Return the Chassis or Components
- play_arrow Safety and Compliance Information
- Safety Information for EX4000
- General Safety Guidelines and Warnings
- Definitions of Safety Warning Levels
- Qualified Personnel Warning
- Warning Statement for Norway and Sweden
- Fire Safety Requirements
- Installation Instructions Warning
- Chassis and Component Lifting Guidelines
- Restricted Access Warning
- Ramp Warning
- Rack-Mounting and Cabinet-Mounting Warnings
- Grounded Equipment Warning
- Radiation from Open Port Apertures Warning
- Laser and LED Safety Guidelines and Warnings
- Maintenance and Operational Safety Guidelines and Warnings
- General Electrical Safety Guidelines and Warnings
- Action to Take After an Electrical Accident
- Prevention of Electrostatic Discharge Damage
- AC Power Electrical Safety Guidelines
- AC Power Disconnection Warning
- Multiple Power Supplies Disconnection Warning
- TN Power Warning
- EX Series Agency Approvals
- Compliance Statements for EMC Requirements for EX Series Switches
- Compliance Statements for Acoustic Noise for EX Series Switches
- Statements of Volatility for Juniper Network Devices
Configure Junos OS on an EX4000 Switch
EX4000 Default Configuration
Each EX Series switch is programmed with a factory default
configuration that contains the values set for each configuration
parameter when the switch is shipped. The default configuration file
sets values for system parameters such as syslog
and commit
, configures Ethernet switching on all interfaces, enables
IGMP snooping, and enables the LLDP and RSTP protocols.
The factory default configuration file has more interfaces for models that have more ports.
The
poe
statement does not appear for models without PoE+ ports.You can use to ignore management link alarm as part of factory default configuration.
set chassis alarm management-ethernet link-down ignore
stanza is present by default under factory default configuration to ignore management link alarm. If required, you can delete this configuration to be notified for management link alarm.
When you commit changes to the configuration, a new configuration file is created. This file becomes the active configuration. You can always revert to the factory-default configuration. See Revert to the Default Factory Configuration on an EX Series Switch.
The following is the factory-default configuration file for an EX4000-48MP switch:
system { commit { factory-settings { reset-chassis-lcd-menu; } } services { netconf { ssh; rfc-compliant; yang-compliant; } ssh; } auto-snapshot; phone-home { server https://redirect.juniper.net; rfc-compliant; } } chassis { redundancy { graceful-switchover; } } alarm { management-ethernet { link-down ignore; } } interfaces { mge-0/0/0 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/1 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/2 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/3 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/4 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/5 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/6 { unit 0 { family ethernet-switching { storm-control default; } } } mge-0/0/7 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/8 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/9 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/10 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/11 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/12 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/13 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/14 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/15 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/16 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/17 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/18 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/19 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/20 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/21 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/22 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/23 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/24 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/25 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/26 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/27 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/28 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/29 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/30 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/31 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/32 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/33 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/34 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/35 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/36 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/37 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/38 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/39 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/40 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/41 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/42 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/43 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/44 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/45 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/46 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/0/47 { unit 0 { family ethernet-switching { storm-control default; } } } xe-0/1/2 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/1/2 { unit 0 { family ethernet-switching { storm-control default; } } } xe-0/1/3 { unit 0 { family ethernet-switching { storm-control default; } } } ge-0/1/3 { unit 0 { family ethernet-switching { storm-control default; } } } irb { unit 0 { family inet { dhcp; } } } vme { unit 0 { family inet { dhcp; } } } } forwarding-options { storm-control-profiles default { all; } } protocols { lldp { interface all; } lldp-med { interface all; } igmp-snooping { vlan default; } rstp { interface all; } } poe { interface all; } vlans { default { vlan-id 1; l3-interface irb.0; } }
Connect and Configure an EX4000 Switch
Before you connect and configure an EX4000 switch, set the following parameter values on the console server or PC:
Baud Rate—9600
Data—8
Flow Control—None
Parity—None
Stop Bits—1
DCD State—Disregard
Ensure that you have the following parts and tools available:
An Ethernet cable with an RJ-45 connector attached (not provided)
An RJ-45 to DB-9 serial port adapter (not provided)
A laptop or PC, with a serial port (not provided)
We no longer include the RJ-45 console cable with the DB-9 adapter as part of the device package. If the console cable and adapter are not included in your device package, or if you need a different type of adapter, you can order the following separately:
RJ-45 to DB-9 adapter (JNP-CBL-RJ45-DB9)
RJ-45 to USB-A adapter (JNP-CBL-RJ45-USBA)
If you want to use RJ-45 to USB-A you must have X64 (64-Bit) Virtual COM port (VCP) driver installed on your PC. See, https://ftdichip.com/drivers/vcp-drivers/ to download the driver.
Have the following information available before you configure custom settings for the switch:
Root password
IP address of the default gateway
IP address of the management port
IP address of a DNS server
(Optional) Hostname
(Optional) IP address of a backup router
(Optional) SNMP read community, location, and contact to configure SNMP parameters
(Optional) Static routes to remote subnets with access to the management port
(Optional) Static routes to remote prefixes with access to the management port
An EX4000 switch is shipped with Junos OS preinstalled and ready to be configured when the switch is powered on. You must perform the initial configuration of the switch through the console port (labeled CON) on the rear panel of the switch by using the CLI.
This procedure describes how to perform the initial configuration on the switch and connect it to the network. For complete information about enabling the switch to forward traffic, including examples, see the Junos OS configuration guides.
To perform the initial configuration on the switch and connect it to the network:
You can now log in by using the CLI and continue configuring the switch.
Revert to the Default Factory Configuration on an EX Series Switch
With EX Series switches, if for any reason the current active configuration fails, you can revert to the factory-default configuration.
You can also roll back to a previous configuration, as described in Rolling Back Junos OS Configuration Changes, or revert to the rescue configuration, as described in Reverting to the Rescue Configuration for the EX Series Switch.
Rescue configuration not saved alarm will not be reported on EX4000 switches.
If you have lost the root password, it is not necessary to revert to the factory-default configuration to reset it. See Recovering the Root Password on Switches.
The factory-default configuration contains the basic configuration settings for the switch. This is the first configuration of the switch and is loaded when the switch is first powered on. For the factory-default configuration file for your switch, see the hardware documentation for your switch.
You can revert to the factory-default configuration by using the request
system zeroize
operational command or the load
factory-default
configuration command to revert to the factory-default
configuration file that contains all default settings.
These procedures are described in the following sections:
- Revert to the EX Series Switch Factory-Default Configuration Using the request system zeroize Command
- Revert to the EX Series Switch Factory-Default Configuration Using the load factory-default Command
- Revert to the EX Series Switch Factory-Default Configuration or Zeroize the Switch Using Pin Hole Reset Button
Revert to the EX Series Switch Factory-Default Configuration Using the
request system zeroize
Command
The request system zeroize
command is a standard Junos OS
operational mode command that removes all configuration information and
resets all key values. The operation unlinks all user-created data files,
including customized configuration and log files, from their directories.
The switch then reboots and reverts to the factory-default
configuration.
To completely erase user-created data so that it is unrecoverable, use the
request system zeroize media
command.
Before issuing request system zeroize
, use the request system snapshot
command to back up the files currently used to run the switch
to a secondary device. Using the zeroize command will destroy Junos and
OAM partitions, and the switch may not boot. To recover from a failed
software installation, see Recovering from a Failed Software
Installation.
To revert to the factory-default configuration by using the request
system zeroize
command:
Revert to the EX Series Switch Factory-Default Configuration Using the
load factory-default
Command
The load factory-default
command is a standard Junos OS
configuration command that replaces the current active configuration with
the factory-default configuration except the root password setting. By
default, the root password is not set; you must set it to commit the new
configuration in this procedure.
To revert to the factory-default configuration by using the load
factory-default
command:
If you use this procedure, you must delete the system commit factory
settings, set the root password, and commit the configuration. These
steps are not required when you revert to the factory-default
configuration by using request system zeroize
. Also,
the auto-image-upgrade
statement is not added to the
configuration when you use this procedure; it is added to the
configuration when you use request system zeroize
.
- [edit] user@switch#
load factory-default
- [edit] user@switch#
delete system commit factory-settings
- [edit] user@switch#
set system root-authentication plain-text-password
- [edit] user@switch#
commit
Revert to the EX Series Switch Factory-Default Configuration or Zeroize the Switch Using Pin Hole Reset Button
You can use the Pin Hole Reset button on the front panel of EX4000 switches to revert the switch to factory default configuration or zeroize the switch.
To revert the switch to factory default configuration or zeroize the switch: