(完整版)juniperex交换机配置操作手册7p

上传人:pu****.1 文档编号:511772468 上传时间:2024-02-01 格式:DOC 页数:18 大小:89.50KB
返回 下载 相关 举报
(完整版)juniperex交换机配置操作手册7p_第1页
第1页 / 共18页
(完整版)juniperex交换机配置操作手册7p_第2页
第2页 / 共18页
(完整版)juniperex交换机配置操作手册7p_第3页
第3页 / 共18页
(完整版)juniperex交换机配置操作手册7p_第4页
第4页 / 共18页
(完整版)juniperex交换机配置操作手册7p_第5页
第5页 / 共18页
点击查看更多>>
资源描述

《(完整版)juniperex交换机配置操作手册7p》由会员分享,可在线阅读,更多相关《(完整版)juniperex交换机配置操作手册7p(18页珍藏版)》请在金锄头文库上搜索。

1、目录1. 总体概述2. 软件操作2.1. 通过Console线缆连接Juniper 设备22设备启动2.3. 设备重启2.4. JUNOSW2.5. 密码恢复3. JUNOS CLI 模式4. Juniper设备的基本配置 5. EX路由交换机初始配置向导EZSETUP 6. 端口配置7. VLAN 配置8. VLAN路由端口(RVI)的配置 9. 路由配置1. 总体概述本文档为Juniper Networks, Inc.编写。用于说明JuniperEX基本命令配置。更多的信息请参考下面的网站:2. 软件操作Jun iperJUNOS软件是专门为互联网设计的第一种路由交换操作系统。它运行在网络

2、公司的所有T-系列、M-系列和J-系列路由器和EX系列路由交换机上,而且目前 正被部署在全球最大、增长最迅速的网络中。Ju nos 使用FreeBSD内核,模块化的设计,提供卓越的故障恢复能力并确保能够简单地集成IPv6、MPLS等新功能。JUNO软件提供的全套具有工业强度的路由协议、灵活的策略语言,可以高效地扩展 以支持很大数量的网络接口和路由。基于标准的JUNO歌件可以支持互联网路由协议,同时控制路由器、交换机及其接口并实现对各种规模的网络的系统管理。简便 易用的界面使您可以配置路由协议和接口属性、监控路由、检测并排除协议和网络 连接故障。本节将描述JUNOS勺一些应急操作,这些操作都会影

3、响设备的正常功能,操作时请谨慎使用:通过Console线缆连接路由器设备重启设备启动JUNOS 级密码恢复2.1. 通过Con sole线缆连接Ju niper 设备使用下面的步骤连接路由器的Con sole接口:1. 准备好Ju niper设备自带的Con sole线缆(如果没有的话,请准备两个DB9-RJ45转接头和一条 RJ45-RJ45反转线)2. 将Con sole线缆的DB9插头一头插到PC或者笔记本电脑的 COM口上,另外一 端插到Juniper设备的CONSOLE上。3. 打幵计算机中的终端软件工具。例如:CRT或者Windows自带的超级终端设置如下:端口:选择第二步中 Co

4、nsole线缆插入到PC上的端口,通常为 COM诫者 COM 2波特率:9600数据位:8位停止位:1位流控:无4. 打幵配置到的 CRT或者超级终端,按“ Enter ”键,屏幕出现登陆的提示符,即连接成功。如果没有显示,请检查线缆或者终端的配置是否正确。如果出现任何现场无法解决的问题,请寻求Juniper TAC勺帮助,参阅 寻求JTAC帮助。2.2. 设备启动加电启动Jun iper设备。系统第一次启动建议通过Con sole端口登陆。启动完成后,看看到login提示符,输入用户名为root,缺省密码是空。进入系统后输入 cli 命令进入Ju nos comma ndi ne in te

5、rface ,可以进行设备调试。如下例:log in: rootPassword:Termi nal type? vt100 yroot%cliroot23设备重启Juniper设备重启必须按照下面的步骤进行操作:1. 用con sole设备连接到Ju niper设备的CONSOL端口上。2. 使用具有足够权限的用户名和密码登陆CLI命令行界面。3. 在提示符下输入下面的命令:userhost request system reboot4. 等待con sole设备的输出,确认 Jun iper设备软件已经重新启动。24 JUNOS级Juniper设备JUNOS软件升级必须按照下面的步骤进行操

6、作:1. 用con sole设备连接到Ju niper设备的CONSOL端 口上。2. 下载新的JUNO歌件,放置到FTP服务器上。3. 将新的JUNOS件复制到Juniper设备上,使用下面的命令:4. userhost file copy ftp:/user name:passwordfile name/var/tmp/file name5. 升级前,执行下面的命令备份旧的软件及设定:userhost request system sn apshot6. 安装新的JUNO歌件:userhost request system software addsource reboot其中source

7、参数为通过上一步骤保存在系统中的文件,如:2.5. 密码恢复如果Juniper设备的Root密码丢失,而且没有其他的超级用户权限,那么就需 要执行密码恢复,该操作需要中断Juniper设备的正常功能。要进行密码恢复,请按照下面操作进行:1. 重新启动Juniper设备。2. 在启动过程中,console上出现下面的提示的时候,按任意键中断正常启动方式,然后再进入单用户状态:Hit Enter to boot immediately, or any other key forcomma nd prompt.Booti ng ker nel in 9 sec on ds.ok boot-s3. 执

8、行密码恢复:在以下提示文字后输入recoveryEn ter full path name of shell or recovery for root password recovery or RETURN for /bi n/sh:recoveryNOTE: Once in the CLI, you will need to enter configuration mode usingNOTE: the con figurecomma nd to make any requiredcha nges.For example,NOTE: to reset the root password, t

9、ype:NOTE: con figureNOTE: set system root-authe nticatio npla in-text-passwordNOTE: (en ter the new password whe n asked)NOTE: commitNOTE: exitNOTE: exitNOTE: When you exit the CLI, you will be asked if you want to rebootNOTE: the systemStarti ng CLI .root4. 进入配置模式,删除root密码:rootcon figureEntering co

10、nfiguration modeeditroot# delete system root-authe nticatio nrootrouter# commitcommit completeeditrootrouter# exitExiting configuration moderootke nny exitReboot the system? y/nyTerm inated5. 重新启动后,配置新的root密码。Juniper设备恢复正常。3. JUNOS CLI 模式设备启动,登录进入系统后输入cli ,即可进入JUNOS CL模式,可进行设备调试。JUNOS CLI有两种模式:用户模式和

11、配置模式,区分方法是他们的提示符不一 样:用户模式userhost#用户模式在用户模式下可以显示路由器的配置、端口状态、路由信息等,它的提示符是号登录后输入cli即进入路由器的用户模式:host (ttyp6)login:rootPassword:roothost% cliroothost配置模式userhost#配置模式通过在用户模式使用edit命令进入配置模式,它的提示符是#号:roothost editEntering configuration modeeditroothost #配置生效和保存Juniper设备配置保存可以有两种方式:命令直接生效和保存:用命令 commit生效和保存

12、配置roothost# commitcommit completeeditroothost#需要确认的命令生效和保存:分两步完成,用命令commit confirm保存配置后,不在固定时间(缺省为10分钟)内用commit命令确认,则系统 自动回退原有配置,请注意: roothost# commit confirmedcommit confirmed will be automatically rolled back in 10 minutes unless confirmedcommit complete# commit confirmed will be rolled back in 10

13、 minuteseditroothost# commitcommit completeeditroothost#4. Juniper设备的基本配置配置路由器设备名userhost# set system host namehost name # 配置设备名roothost editEntering configuration modeeditroothost# set system host-name DEMOeditrootDEMO# commit配置路由器Telnet服务userhost# set system services tel net# 配置 telnet 月服务roothost

14、#set system services telnet ?Possible completions:vEnterExecute this commandconnection-limit Maximum number of allowed connections (1.250)rate-limitMaximum number of connections per minute (1.250)1Pipe through a commandeditroothost#set system services telneteditroothost#commit配置路由器FTP服务userhost# set system services ftp# 配置 FTP 月服务roothost#set system services ftp ?Possible completions:Execute this commandconnection-limit Maximum number of allowed connections (1.250)rate-limitMaximum number of connections per minut

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 活动策划

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号