DHCP Relay
Login to core switch
show routing-instances NCE forwarding-options dhcp-relay
{master:1}[edit]
admin@scl0-0-vcf0# show routing-instances NCE forwarding-options dhcp-relay group clients
active-server-group bluecat;
interface irb.1024;
interface irb.1104;
interface irb.1902;
interface irb.2010;
interface irb.2040;
if vlan id is not listed the;
set routing-instances NCE forwarding-options dhcp-relay group clients interface irb.2001
commit
{master:1}[edit]
admin@scl0-0-vcf0# show routing-instances NCE forwarding-options dhcp-relay group clients
active-server-group bluecat;
interface irb.1024;
interface irb.1104;
interface irb.1902;
interface irb.2001;
interface irb.2010;
interface irb.2040;
Create Vlan,logical VLAN interface, add members
admin@sb01-1fd1a# set vlans staff-vlan vlan-id 1050
admin@sb01-1fd1a# edit interface interface-range staff-vlan
admin@sb01-1fd1a# set unit 0 family ethernet-switching interface-mode access vlan members staff-vlan
admin@sb01-1fd1a# set member ge-0/1/1
admin@sb01-1fd1a# set member ge-0/0/[10-20]
admin@sb01-1fd1a# commit and-quit
Set Vlan speed 100m/ no-auto-negotiation
edit
edit interfaces interface-range Door-Access
{master:1}[edit interfaces interface-range Door-Access]
set speed 100m
set link-mode full-duplex
set ether-options no-auto-negotiation
{master:1}[edit]
admin@sb01-1-fd1a# commit and-quit
Junos Upgrade/Installation Firmware Steps - using USB to copy software package to EX switch
Junos Installation Steps - using USB to copy software package to EX switch
- Format the USB Drive to FAT-32.
- Copy Junos software package you downloaded from the Juniper support site in Stage 1 to the USB. (It is recommended to use dedicated USB drive and copy only the Junos software package to it.)
- On the EX switch, login into shell mode:
{master:0}
root@EX-4200> start shell
root@EX-4200:RE:0%
- Mount the USB:
root@EX-4200:RE:0% mount_msdosfs /dev/da1s1 /mnt
- Copy the Junos software package from the USB to the /var/tmp directory of the EX switch:
root@EX-4200:RE:0% cd /mnt
root@EX-4200:RE:0% ls
root@EX-4200:RE:0% jinstall-ex-10.0S10.1-domestic-signed.tgz
root@EX-4200:RE:0% cp jinstall-ex-10.0S10.1-domestic-signed.tgz /var/tmp
Check if the Junos software package is copied to /var/tmp directory of the EX switch:
root@EX-4200:RE:0% cd /var/tmp
root@EX-4200:RE:0% ls
root@EX-4200:RE:0% jinstall-ex-10.0S10.1-domestic-signed.tgz
- Install Junos on the EX switch via the CLI (Command Line Interface) prompt:
For Standalone devices:
root@EX-4200:RE:0% cli
root@EX-4200> request system software add /var/tmp/jinstall-ex-10.0S10.1-domestic-signed.tgz
For 8200 Series:
% cli
> request system software add /var/tmp/jinstall-ex-10.0S10.1-domestic-signed.tgz re0
> request system software add /var/tmp/jinstall-ex-10.0S10.1-domestic-signed.tgz re1
For Virtual Chassis:
& cli
> request system software add /var/tmp/jinstall-ex-10.0S10.1-domestic-signed.tgz member 1
- Reboot the EX switch:
For Standalone devices:
root@EX-4200> request system reboot
For Virtual Chassis:
root@EX-4200> request system reboot all member
For 8200 series when rebooting/upgrading Backup:
run request system reboot other-routing-engine -
Reboot the system? [yes, no] (no) YES
- After the reboot has completed, log in and verify that the new version of the software is properly installed:
user@switch> show version
If you encounter a problem during the installation, go to Stage 4 for troubleshooting upgrade failures.
Back-up and restore config files
- Insert SANDISK in the usb port available on the rear panel of EX-series Ethernet switch.
user@switch> start shell user root
Password:
root@switch%
root@switch% mount_msdosfs /dev/da1s1 /mnt
- Copy the most recent 4 configuration files under /config to the USB disk:
root@switch% cp /config/*.gz /mnt
root@switch% ls /mnt
juniper.conf.1.gz juniper.conf.3.gz rescue.conf.gz
juniper.conf.2.gz juniper.conf.gz
Note: The other configuration files are located in /config/db/config. Copy the configuration files to the USB as required.
- Unmount usb disk and then pull it out:
user@switch% umount /mnt