- 1、本文档共10页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
JUNIPER EX3200交换机配置
1 Ex3200开机指导
?
开机后:
login: root
Last login: Fri Jan 17 22:21:55 on ttyd0
--- JUNOS 7.2R3.3 built 2002-03-23 02:44:36 UTC
Terminal type? [vt100] enter
HYPERLINK mailto:root@%25 root@%
注意使用root用户登录的情况下,输入帐号/密码以后,默认是进入shell模式的(而只有root用户帐号有这个现象),要输入cli命令进入用户模式:
HYPERLINK mailto:root@%25 root@% cli
root
2 配置模式
用户模式下输入configure命令进入配置模式,配置模式下可以对设备进行各种参数的配置
root configure
[edit]
root#
2.1 设置root用户密码
命令:
set system root-authentication plain-text-password
路由器初始化root用户是没有密码的,在第一次进行配置的时候必须要配置root密码才能commit成功。密码采用字母+数字方式。
Example:
HYPERLINK mailto:lab@M7i_GZ lab@M7i_GZ# set system root-authentication plain-text-password???
New password:
Retype new password:
2.2 添加系统用户
命令:
set system login user juniper uid 2000?? -设置用户名为juniper用户id为2000
set system login user juniper class super-user? -设置juniper用户为超级用户
set system login user juniper authentication plain-text-password? -设置juniper用户的密码
2.3 设置主机名
命令:
set system host-name M7i_GZ??? -设置主机名为M7i_GZ
2.4 开启系统telnet服务
命令:
set system services telnet
说明:系统默认是没有打开telnet功能的,只有打开telnet服务之后才能从网络上登陆到路由器。
2.5 设置交换机地址
命令:
Edit system
Set name-server 25
Commit
删除:
Edit system
Delete name-server 25
2.6 开启系统ftp服务
命令:
set system services ftp
说明:系统默认是没有打开ftp功能的,只有打开ftp服务之后才能从网络上ftp到路由器。
2.7 配置SNMP
set snmp community? community? authorization? read-only/ read-write clients? prefix?????????????????? # 设置SNMP字符串
set snmp trap-options source-address ?? #设置snmp trap的原地址为
set snmp contact? contact?? #设置snmp的联系信息
set snmp engine-id local? local? #设置snmp v3 engine ID信息
set snmp description? description? #设置snmp的系统描述
2.8 配置物理端口参数
HYPERLINK mailto:user@host \l set user@host#set interface ge-slot/pic/port description description
#配置端口描述
HYPERLINK mailto:user@host \l set user@host#set interface ge-slot/pic/port mtu mtu-number
#配置端口MTU
HYPERLINK mailto:user@host \l set user@host#set interface ge-slot/pic/port ether-options speed (10m | 100m | 1g)
#配置端口速率
HYPERLINK mailto:user@host \l set user@host#set interface ge-slo
文档评论(0)