Back to the main page

Juniper EX3300-48T switch setup

Connect to the console RJ-45 port and power on the switch. Console output (we see it's FreeBSD ...) looks like:
U-Boot 1.1.6 (Jun  4 2012 - 01:58:27)

Board: EX3300-48T 5.17
EPLD:  Version 04.130327 (0x10)
DRAM:  Initializing (1GB)
Flash: 8 MB

Firmware Version: --- 01.00.00 ---
USB:   scanning bus for devices...
Root Hub 0: 2 USB Device(s) found
Root Hub 1: 1 USB Device(s) found
  scanning bus for storage devices... 1 Storage Device(s) found
ELF file is 32 bit
Consoles: U-Boot console
FreeBSD/arm U-Boot loader, Revision 1.1
(builder@greteth, Mon Jun  4 01:40:05 UTC 2012)
Memory: 1024MB
bootsequencing is enabled
bootsuccess is not set
new boot device = disk0s2:
Loading /boot/defaults/loader.conf
\

 - shortened -

mgd: FIPS Self-tests Passed
mgd: commit complete
mgd: ----------------------------------------------------------
mgd: Please login as 'root'. No password is required.
mgd: To start Initial Setup, type 'ezsetup' at the JUNOS prompt.
mgd: To start JUNOS CLI, type 'cli' at the JUNOS prompt.
mgd: ----------------------------------------------------------
Setting initial options:  debugger_on_panic=NO debugger_on_break=NO.
Starting optional daemons: .
Doing initial network setup:
.
Initial interface configuration:
additional daemons:.
Additional routing options:kern.module_path: 
/boot//kernel;/boot/modules -> /boot/modules;/modules/peertype;/modules/ifpfe_drLoading the EX-series platform NETPFE module
kld netpfe drv: ifpfed_eth ifpfed_ml_cmnkld platform: ex_ifpfe if_vcpkld peertype: 
peertype_hcm peertype_pfem peertype_sfi peertype_slavere grat_arp_on_ifup=YES: 
net.link.ether.inet.grat_arp_on_ifup: 1 -> 1
 ipsec kld.
Doing additional network setup:.
Starting final network daemons:.
setting ldconfig path: /usr/lib /opt/lib
starting standard daemons: cron.
Local package initialization:.
Initialize /var subdirs
starting local daemons:set cores for group access
.
Thu Mar 13 14:24:52 UTC 2014
Boot media /dev/da0 has dual root support
** /dev/da0s1a
FILE SYSTEM CLEAN; SKIPPING CHECKS
clean, 36483 free (19 frags, 4558 blocks, 0.0% fragmentation)
Amnesiac (ttyu0)
login:

As it says, loggin as root with no password and use "ezsetup" for initial setup.
--- JUNOS 12.3R6.6 built 2014-03-13 06:57:48 UTC
root@:RE:0%     
root@:RE:0% ezsetup
*****************************************************************************
* EZSetup wizard                                                            *
* Use the EZSetup wizard to configure the identity of the switch.           *
* Once you complete EZSetup, the switch can be accessed over the network.   *
* To exit the EZSetup wizard press CTRL+C.                                  *
* In the wizard, default values are provided for some options.              *
* Press ENTER key to accept the default values.                             *
* Prompts that contain [Optional] denotes that the option is not mandatory. *
* Press ENTER key to ignore the option and continue.                        *
*****************************************************************************
EZSetup Initializing..done.
Initial Setup Configuration
---------------------------
Enter System hostname [Optional]:swi-name.domain.com

Enter new root password:
Re-enter the new password:

Enable Telnet service? [yes|no]. Default [no]:

Enable SSH service? [yes|no]. Default [yes]:

Switch Management
1: Configure in-band Management [interface vlan.XX]
2: Configure out-of-band management [me0.0]
Choose Option [1 or 2], default [1]:2
Configuring me0.0
Enter Management IP address [192.168.1.1]:10.68.54.112
Enter Subnetmask [255.255.255.0]:255.255.254.0
Enter Gateway IP address:10.68.54.1

Configure SNMP [yes|no], default [yes]:
SNMP Configuration
Contact information for administrator, Enter contact [Optional]:ca-sysadmins
Community name, Enter community [Optional]:sys-public
Physical location of system, Enter location [Optional]:room-number

Enter System Time and Date YYYY:MM:DD:hh:mm:ss [Optional]:2015:02:01:12:27:00

Enter Timezone:America/Los_Angeles

The input configuration parameters are

System Hostname:               swi-name.domain.com
Root password:                 ******
System Telnet Service:         no
System SSH Service:            yes
Management IP Address:         10.68.54.112
SubnetMask:                    255.255.254.0
Gateway IP Address:            10.68.54.1
Out-of-band management:        me0.0
SNMP Community:                sys-public
SNMP Location:                 room-number
SNMP Contact:                  ca-sysadmins
Time-Date:                     2016:02:01:12:27:00
Time-zone:                     America/Los_Angeles
Interfaces:

Commit the new configuration?
Choosing option "yes" will add new configuration to existing configuration.
Option "No" will allow user to come out of EZSetup wizard.

Choose option [yes|no], default [yes]:yes
Committing the new configuration, please wait.....
Commit success.
root@:RE:0%


Now plugin the management interface and access the switch via Web Device Manager.

Here you can continue with configuraiton, follow screen shots while adding domain-name, name servers, etc. After change is done, click on Commit, this verifies change and if all is well, commit the change.








Here is example of Software (firmware) upgrade.
On local machine have file jinstall-ex-3300-12.3R11.2-domestic-signed.tgz, which is software you want to upload.







Now create uplink to some distribution switch, in this case it's Cisco Nexus 3000 Switch.

Config for Juniper uplink port is like:
xe-0/1/1 {
        description "uplink to 2-swi-3-dist 1/51/4";
        unit 0 {
            family ethernet-switching {
                port-mode trunk;
                vlan {
                    members all;
                }
            }
        }
    }

And config of Cisco Nexus 3000 downlink port is like:
interface Ethernet1/51/4
  description downlink to 2-swi-1 xe-0/1/1
  switchport mode trunk
  switchport trunk allowed vlan 321-322
  no shutdown

Some verification commands on Nexus 3000
cisco-swi# show interface brief | grep Eth1/51/4
Eth1/51/4     1       eth  trunk  up      none     10G(D) --

cisco-swi# show interface status | grep Eth1/51/4
Eth1/51/4     downlink to 2-swi- connected trunk   full    10G     QSFP-4X10G-AOC5

cisco-swi# show lldp neighbors detail | begin junos-swi-name
System Name: junos-swi-name
System Description: Juniper Networks ex3300-48t ver 12.3R11.2 Build date: 2015-09-24 
Time remaining: 99 seconds
System Capabilities: B, R
Enabled Capabilities: B, R
Management Address: 10.68.54.112
Vlan ID: not advertised


And here are some uplink images from Juniper Web page and Observium.







Back to the main page