Basic configurations of Juniper Ex series switches

Source: Internet
Author: User

Juniper Ex series switchesIt takes about 2-3 minutes to start the instance. Please wait. After the Console port is connected, if the vswitch has been configured with a user name and password, enter the User name: root, password: xxxxxx, and press enter to enter the system. If it is an unconfigured switch, the default user is root, and there is no password, you can directly enter the system.

Juniper Ex Series Switch configuration logon System

After logging on to the system, you should enter the xxxx % mode, which is shell mode. Do not bother, enter cli and press enter to enter the normal mode, such:

 
 
  1. root@xxx-test% cli  
  2.  
  3. root@xxx-test> 

If you want to configure, enter the configuration mode and enter:

 
 
  1. root@xxx-test> configure  
  2.  
  3. Entering configuration mode  
  4.  
  5. [edit]  
  6.  
  7. root@xxx-test# 

After entering the configuration mode #), you can perform the specific configuration.

Configure user password for Juniper Ex series switches

The first time you enter the vswitch, you must first configure the password:

 
 
  1. root@xxx-test# set system  
  2.  
  3. root-authentication plain-text-password  
  4.  
  5. New password:  
  6.  
  7. Retype new password:  
  8.  
  9. [edit]  
  10.  
  11. root@xxx-test# 

Note:

 
 
  1. root@xxx-test# commit  
  2.  
  3. commit complete  
  4.  
  5. [edit]  
  6.  
  7. root@xxx-test# 

Restore System Default Configuration

 
 
  1. root@xxx-test# load factory-default  
  2.  
  3. warning: activating factory configuration  
  4.  
  5. [edit]  
  6.  
  7. root@xxx-test# set system root-authentication plain-text-password  
  8.  
  9. New password:  
  10.  
  11. Retype new password:  
  12.  
  13. [edit]  
  14.  
  15. root@xxx-test# commit  
  16.  
  17. commit complete  
  18.  
  19. [edit]  
  20.  
  21. root@xxx-test# 

Then restart the instance. The factory value is required:

 
 
  1. root@xxx-test# run request system reboot  
  2.  
  3. Reboot the system ? [yes,no] (no) yes  
  4.  
  5. Shutdown NOW!  
  6.  
  7. [pid 1417]  
  8.  
  9. [edit] 

After the restart, the factory settings are successfully restored.

Configure VLANs for Juniper Ex series switches

VLAN defined on layer-3 switching is divided into three steps:

Step 1: define vlan-id

 
 
  1. root# set vlans test description test-vlan  
  2.  
  3. vlan-id 10 

Step 2: define vlan-interface

 
 
  1. root# set interfaces vlan unit 10 family  
  2.  
  3. inet address 192.168.0.1/24 

Step 3: Associate vlan-id with vlan-interface

 
 
  1. root# set vlans test vlan-id 10  
  2.  
  3. l3-interface vlan.10 

Submission takes effect

 
 
  1. root# commit  
  2.  
  3. commit complete  
  4.  
  5. [edit]  
  6.  
  7. root# 

Two-layer switch for Juniper Ex series switches

To divide VLANs on a layer-2 switch, you only need to perform the first and fourth steps on the layer-3 switch.

Configure static routes for Juniper Ex series switches

 
 
  1. [edit]  
  2.  
  3. root# set routing-options static route  
  4.  
  5. 0.0.0.0/0 next-hop 192.168.0.2  
  6.  
  7. [edit]  
  8.  
  9. root# commit  
  10.  
  11. commit complete  
  12.  
  13. [edit]  
  14.  
  15. root# 

The basic configuration of the Juniper Ex series switches is the above steps. Don't worry about the configuration any more. Please do it quickly! This article reposted to http://www.zhaofengcao.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.