Juniper Ex系列交换机基本配置

网络 路由交换
本文主要为大家介绍了Juniper Ex系列交换机的基本配置,面对眼前你无从下手的交换机,还不会配置?那我们就直入主题吧!

Juniper Ex系列交换机启动时间比较长,大概需要2-3分钟左右,启动时,请耐心等待。Console口连接后,如果是我已经配置的交换机,已经配置了用户名和密码,请输入用户名:root,密码:xxxxxx,回车进入系统。如果是未配置的交换机,默认用户是root,且没有密码,直接可以进入系统。

Juniper Ex系列交换机配置登录系统

登录系统后,进入的应该是xxxx%模式,此模式为shell模式,不用理会,输入cli回车,进入普通模式,如:

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

如果要进行配置,那要进入配置模式,输入:

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

进入配置模式后(#),就可以进行具体配置了。

Juniper Ex系列交换机配置用户密码

***次进入交换机必须先配置密码:

  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# 

提交配置后才能生效(记住,所做的所有配置,需要提交以后才可以生效),如下:

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

恢复系统默认配置

  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# 

然后重启,需要出厂值:

  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] 

重启完成后,就成功恢复出厂设置。

Juniper Ex系列交换机配置vlan

三层交换上定义VLAN分为三步:

***步:定义vlan-id

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

第二步:定义vlan-interface

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

第三步:将vlan-id与vlan-interface进行关联

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

提交生效

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

Juniper Ex系列交换机二层交换上定义VLAN

二层交换机上划分VLAN的话,只需要执行三层交换机上的***步和第四步即可。

Juniper Ex系列交换机设置静态路由

  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# 

Juniper Ex系列交换机的基本配置就是以上这些步骤,不要再为配置的事情发愁了,赶快来动手操作一下吧!本文转载至http://www.zhaofengcao.com

责任编辑:佚名 来源: 招风草
相关推荐

2009-05-09 08:57:23

2009-12-07 16:21:50

Juniper交换机

2013-10-31 10:45:22

JuniperQFX5100Nexus 6000

2012-11-05 14:45:06

交换机

2010-01-14 10:43:18

交换机配置交换机种类

2011-07-29 09:56:28

2011-02-22 09:53:55

交换机配置命令

2013-07-24 09:51:41

JuniperEX9200QFabric

2011-09-16 11:24:10

交换机端口镜像配置端口镜像

2010-01-05 10:14:39

交换机配置TRUNK

2009-12-16 09:27:00

路由交换机

2011-03-08 10:58:38

VLANIP

2010-01-14 10:00:08

交换机VLAN应用

2010-01-05 14:29:59

2013-12-11 13:30:20

交换机技术交换机配置

2011-03-09 14:00:21

trunkVLAN

2013-03-25 14:02:09

JuniperSDN核心交换机

2009-07-03 15:38:26

2009-09-10 10:19:55

JuniperEX系列

2011-08-16 13:12:19

交换机配置
点赞
收藏

51CTO技术栈公众号