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:
- root@xxx-test% cli
-
- root@xxx-test>
If you want to configure, enter the configuration mode and enter:
- root@xxx-test> configure
-
- Entering configuration mode
-
- [edit]
-
- 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:
- root@xxx-test# set system
-
- root-authentication plain-text-password
-
- New password:
-
- Retype new password:
-
- [edit]
-
- root@xxx-test#
Note:
- root@xxx-test# commit
-
- commit complete
-
- [edit]
-
- root@xxx-test#
Restore System Default Configuration
- root@xxx-test# load factory-default
-
- warning: activating factory configuration
-
- [edit]
-
- root@xxx-test# set system root-authentication plain-text-password
-
- New password:
-
- Retype new password:
-
- [edit]
-
- root@xxx-test# commit
-
- commit complete
-
- [edit]
-
- root@xxx-test#
Then restart the instance. The factory value is required:
- root@xxx-test# run request system reboot
-
- Reboot the system ? [yes,no] (no) yes
-
- Shutdown NOW!
-
- [pid 1417]
-
- [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
- root# set vlans test description test-vlan
-
- vlan-id 10
Step 2: define vlan-interface
- root# set interfaces vlan unit 10 family
-
- inet address 192.168.0.1/24
Step 3: Associate vlan-id with vlan-interface
- root# set vlans test vlan-id 10
-
- l3-interface vlan.10
Submission takes effect
- root# commit
-
- commit complete
-
- [edit]
-
- 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
- [edit]
-
- root# set routing-options static route
-
- 0.0.0.0/0 next-hop 192.168.0.2
-
- [edit]
-
- root# commit
-
- commit complete
-
- [edit]
-
- 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