您好,欢迎来到年旅网。
搜索
您的当前位置:首页Juniper EX3200交换机维护手册

Juniper EX3200交换机维护手册

来源:年旅网
EX3200交换机维护手册

1、日常维护的两种方式

日常维护时我们可以通过两种方式登录EX3200交换机,console口和web登录,设备初始化配置时和系统故障时,我们可以通过console线连接交换机,使用下面的步骤连接路由器的Console接口:

1. 准备好EX交换机设备自带的Console线缆(如果没有的话,采用Cisco

或者安耐特等厂家的Console线也可可以)

2. 将Console线缆的DB9插头一头插到PC或者笔记本电脑的COM口上,

另外一端插到路由器的CONSOLE口上。

3. 打开计算机中的终端软件工具。例如:CRT或者Windows自带的超级终

端。设置如下:

 端口:选择第二步中Console线缆插入到PC上的端口,通常为COM

1或者COM 2  波特率:9600  数据位:8位  奇偶校验:无  停止位:1位  数据流控制:无

4. 打开配置到的CRT或者超级终端,按“Enter”键,屏幕出现登陆的提

示符,即连接成功。如果没有显示,请检查线缆或者终端的配置是否正确。

2、EX3200交换机配置详细说明

下面我们以仪征农信社配置为例来对配置加以详细说明:

YZ_YZ_KF_SW_1 (ttyu0) login: jsnx Password:

#设备登录的用户名/密码:jsnx/juniper123 # --- JUNOS 10.0R4.7 built 2010-08-22 02::43 UTC jsnx@YZ_YZ_KF_SW_1>

jsnx@YZ_YZ_KF_SW_1> configure Entering configuration mode

#进入设备配置模式# [edit]

jsnx@YZ_YZ_KF_SW_1# run show configuration |display set et version 10.0R4.7

set system host-name YZ_YZ_KF_SW_1 set system time-zone Asia/Shanghai

#设备命名为YZ_YZ_KF_SW_1(扬州地区_仪征_开发网_交换机_1)# set

system

root-authentication

encrypted-password

\"$1$.QxXIQNC$suZg5pmx8bOXUM1ytZQSd1\"

set system login user jsnx uid 2000 set system login user jsnx class super-user set

system

login

user

jsnx

authentication

encrypted-password

\"$1$zPDEH7v8$XtL3zeN8fHagcfXQdtobn/\" set system services ssh root-login deny set system services telnet

set system services web-management http port 8480 set system syslog user * any emergency set system syslog file messages any notice set system syslog file messages authorization info

set system syslog file interactive-commands interactive-commands any set chassis alarm management-ethernet link-down ignore

#设置设备的超级用户密码、开启http服务和telnet服务# set interfaces ge-0/0/1 unit 0 family ethernet-switching set interfaces ge-0/0/2 unit 0 family ethernet-switching set interfaces ge-0/0/3 unit 0 family ethernet-switching set interfaces ge-0/0/4 unit 0 family ethernet-switching set interfaces ge-0/0/5 unit 0 family ethernet-switching set interfaces ge-0/0/6 unit 0 family ethernet-switching set interfaces ge-0/0/7 unit 0 family ethernet-switching set interfaces ge-0/0/8 unit 0 family ethernet-switching set interfaces ge-0/0/9 unit 0 family ethernet-switching

set interfaces ge-0/0/10 unit 0 family ethernet-switching set interfaces ge-0/0/11 unit 0 family ethernet-switching set interfaces ge-0/0/12 unit 0 family ethernet-switching set interfaces ge-0/0/13 unit 0 family ethernet-switching set interfaces ge-0/0/14 unit 0 family ethernet-switching set interfaces ge-0/0/15 unit 0 family ethernet-switching set interfaces ge-0/0/16 unit 0 family ethernet-switching set interfaces ge-0/0/17 unit 0 family ethernet-switching set interfaces ge-0/0/18 unit 0 family ethernet-switching set interfaces ge-0/0/19 unit 0 family ethernet-switching set interfaces ge-0/0/20 unit 0 family ethernet-switching set interfaces ge-0/0/21 unit 0 family ethernet-switching set interfaces ge-0/0/22 unit 0 family ethernet-switching set interfaces ge-0/0/23 unit 0 family ethernet-switching set interfaces ge-0/1/0 unit 0 family ethernet-switching set interfaces xe-0/1/0 unit 0 family ethernet-switching set interfaces ge-0/1/1 unit 0 family ethernet-switching set interfaces xe-0/1/1 unit 0 family ethernet-switching set interfaces ge-0/1/2 unit 0 family ethernet-switching set interfaces ge-0/1/3 unit 0 family ethernet-switching

#设置设备的接口是二层交换模式# set interfaces lo0 unit 0 family inet address 66.192.250.1/32

#设置设备的loopback0接口的IP地址# set interfaces me0 unit 0 family inet address 192.168.2.1/30

#设置设备背后的管理口的IP地址# set interfaces vlan unit description OA

set interfaces vlan unit family inet address 66.192..2/24

#设置Vlan 为OA网段,配置其IP地址# set interfaces vlan unit 97 description kaifawang

set interfaces vlan unit 97 family inet address 66.192.97.2/24

#设置Vlan 97为开发网段,配置其IP地址# set interfaces vlan unit 128 description SHIPIN

set interfaces vlan unit 128 family inet address 66.192.128.2/24

#设置Vlan 128为视频网段,配置其IP地址# set protocols ospf enable

set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 set protocols ospf area 0.0.0.0 interface vlan. set protocols ospf area 0.0.0.0 interface vlan.128 set protocols ospf area 0.0.0.0 interface vlan.97 set protocols ospf area 0.0.0.0 interface lo0.0

#启用OSPF路由协议,加入网段和L0接口# set protocols igmp-snooping vlan all set protocols rstp

set protocols lldp interface all

set protocols lldp-med interface all

set ethernet-switching-options storm-control interface all set vlans vlan128 vlan-id 128

set vlans vlan128 interface ge-0/0/10.0 set vlans vlan128 interface ge-0/0/11.0 set vlans vlan128 interface ge-0/0/12.0 set vlans vlan128 interface ge-0/0/13.0 set vlans vlan128 l3-interface vlan.128 set vlans vlan vlan-id

set vlans vlan interface ge-0/0/2.0 set vlans vlan interface ge-0/0/3.0 set vlans vlan interface ge-0/0/4.0 set vlans vlan interface ge-0/0/5.0 set vlans vlan interface ge-0/0/6.0 set vlans vlan interface ge-0/0/7.0 set vlans vlan interface ge-0/0/8.0 set vlans vlan interface ge-0/0/9.0 set vlans vlan l3-interface vlan. set vlans vlan97 vlan-id 97

set vlans vlan97 interface ge-0/0/14.0 set vlans vlan97 interface ge-0/0/15.0 set vlans vlan97 interface ge-0/0/16.0

set vlans vlan97 interface ge-0/0/17.0 set vlans vlan97 interface ge-0/0/18.0 set vlans vlan97 interface ge-0/0/19.0 set vlans vlan97 interface ge-0/0/20.0 set vlans vlan97 interface ge-0/0/21.0 set vlans vlan97 interface ge-0/0/22.0 set vlans vlan97 interface ge-0/0/23.0 set vlans vlan97 l3-interface vlan.97

#设置交换机的端口加入不同的网段# set poe interface all disable

#关闭交换机上POE供电的功能#

3、EX3200交换机上信息命令行查看

在EX3200的交换机上我们可以通过以下命令来参看一些日常的维护信息:

通过run show vlans命令我们可以查看到现有EX3200交换机各端口所属Vlan的信息。

通过run show ospf neighbor命令我们可以查看线路正常时连接到扬州市郊联社的OSPF邻居关系。

通过run show ospf route命令我们可以查看OSPF中的路由条目。

通过run show ospf database命令我们可以查看OSPF中的RouterID(打星号的LoopBack0端口地址)。

通过run show chassis hardware命令我们可以查看到现有EX3200交换机所有设备的序列号,包括一台EX3200-24T主机、4*GE SFP模块2个SFP-SX多模千兆光纤模块。

4、EX3200交换机的Web登录查看

日常维护时我们可以直接通过Web登录EX3200交换机,可以输入各县联社交换机上的开发、OA或者视频网段的网关,或者通过pc机直连交换机后的管理口,同时将PC的IP地址设为192.168.2.2/30,登录时输入http://192.168.2.1:8480(IP地址可以是不同的网端网关,但是登录的端口一定是8480),然后输入用户名/密码:jsnx/juniper123如下图:

接下来我们就可以登录到设备,在主页面下我们可以很方便的观察到设备的内存、CPU利用率、风扇状态等,还可以看到设备的JUNOS的版本号,系统时间等。

在设备的面板图上,如果有端口变绿,就可以看到端口的协议状态:

在port菜单下可以看到端口所属的Vlan、IP地址等信息:

同时在Configure>System Properties>User Managenet菜单下可以修改设备的用户名和密码:

同时在Configure>Switching>VLAN菜单下可以修改设备端口所属的Vlan和Vlan的IP地址:

在Configure>Interfaces>Ports菜单下可以修改设备端口为trunk模式:

同时在Configure>Routing>OSPF菜单下可以增减OSPF路由中的网段:

日常维护时我们可以点击Moniter>Interfaces菜单即可以看到交换机上任意端口数据的进出流量,端口的故障报文数量和分类:

我们还可以点击Moniter>System View>Chassis Information菜单即可以看到交换机设备序列号等信息:

我们还可以点击Moniter>System View>Process Details菜单可以看到详细的CPU和内存使用情况信息:

通过点击Moniter>Routing>OSPF Information菜单则可以看到详细的OSPF路由信息统计:

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- oldu.cn 版权所有 浙ICP备2024123271号-1

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务